Skip to content

(WIP) Recompute def embs between epochs during training#94

Open
jasonrute wants to merge 4 commits intomainfrom
jrute/recompute-defs-training
Open

(WIP) Recompute def embs between epochs during training#94
jasonrute wants to merge 4 commits intomainfrom
jrute/recompute-defs-training

Conversation

@jasonrute
Copy link
Contributor

This isn't ready to merge yet. I'm making this PR, so others can comment on this approach.

This PR makes it possible to recompute definitions between epochs.

  • Pass the data_server directly to the training class
  • Use a callback containing a pointer to the data_server to loop over all definitions.
  • Copied code from the tfgnn predict code needed to compute definition embeddings

TODO:

  • Do full training run with benchmark to see if added complexity is worth it.
  • Decide best way to access definition clusters during training. Currently I'm passing a pointer to the data server to the Keras callback.
  • Combine large amounts of duplicated code with the tfgnn predict code into one unified place.

@jasonrute jasonrute force-pushed the jrute/recompute-defs-training branch from 37277bc to 20733ee Compare February 1, 2023 01:40
Jason Rute added 4 commits February 1, 2023 19:21
Signed-off-by: Jason Rute <Jason.Rute@ibm.com>
Signed-off-by: Jason Rute <Jason.Rute@ibm.com>
Signed-off-by: Jason Rute <Jason.Rute@ibm.com>
Signed-off-by: Jason Rute <Jason.Rute@ibm.com>
@jasonrute jasonrute force-pushed the jrute/recompute-defs-training branch from 20733ee to cfb69b8 Compare February 2, 2023 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant