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

Updated save strategy #280

Merged
merged 2 commits into from
Feb 6, 2022
Merged

Updated save strategy #280

merged 2 commits into from
Feb 6, 2022

Conversation

EricFillion
Copy link
Owner

Sets TrainingArguments's "save_strategy" parameter to "no" by default, which means that the model will not be saved at all during training. Right now, the output path is a temporary directory, so even if the model was to be saved during training it would be deleted immediately afterwards. In the future we can consider adding the ability to use custom save strategies.

HappyTextToText uses custom training code, and already sets save_strategy to no by default .

@EricFillion EricFillion merged commit 1fb5b36 into master Feb 6, 2022
@romill93
Copy link

Awesome job - now people can run things in e.g. Google Colab without the need for a tremendous amount of disk space 🎉

@EricFillion EricFillion deleted the ef/save_strategy branch August 17, 2022 14:59
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