Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean Up Learner Checkpoint and Fix Model Loading #365

Merged
merged 6 commits into from
Aug 10, 2023
Merged

Conversation

wistuba
Copy link
Contributor

@wistuba wistuba commented Aug 8, 2023

Parameters stored in the Learner checkpoint were overwriting parameters of the passed model.

Numbers for Joint/GDumb are expected to change since before these methods were initialized with the weights of the previous model.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@github-actions
Copy link

github-actions bot commented Aug 9, 2023

Coverage report

The coverage rate went from 85.68% to 84.99% ⬇️

100% of new lines are covered.

Diff Coverage details (click to unfold)

src/renate/updaters/model_updater.py

100% of new lines are covered (95.37% of the complete file).

@wistuba wistuba marked this pull request as ready for review August 9, 2023 11:19
src/renate/updaters/model_updater.py Outdated Show resolved Hide resolved
src/renate/updaters/model_updater.py Show resolved Hide resolved
src/renate/updaters/model_updater.py Show resolved Hide resolved
Signed-off-by: wistuba <marwistu@amazon.com>
@prabhuteja12 prabhuteja12 merged commit b27fb01 into dev Aug 10, 2023
18 checks passed
@prabhuteja12 prabhuteja12 deleted the mw-model-loading branch August 10, 2023 13: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.

None yet

2 participants