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

Fix & improve adapter saving/ loading using Trainer class #178

Merged
merged 3 commits into from
May 21, 2021

Conversation

calpt
Copy link
Member

@calpt calpt commented May 20, 2021

  • Automatically switch to only saving adapters when model is freezed.
  • Correctly restore active adapter setup when loading best full model at training end.

Fixes #166.

@calpt calpt requested a review from hSterz May 20, 2021 12:07
@calpt calpt merged commit 1ec008d into adapter-hub:master May 21, 2021
@calpt calpt deleted the fix/trainer_load_best_model_at_end branch May 21, 2021 11:55
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.

Training adapters with EarlyStoppingCallback
2 participants