-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Model become 3 times larger after finetune? #63
Comments
I have the same problem with BERT base which becomes ~1.3 GB. |
The distributed checkpoints only include the actual model weights, but the checkpoints written during training include the Adam |
Thank you for your advice. Could you tell me how to only save model weights (not include momentum and variance), just like the pretreated model you provide? |
@zhezhaoa I have a solution here: #99 |
A pretrained bert large model's ckpt file is about 1.3GB, after finetuning on downstream task, the saved ckpt file become 3.8GB. How did this happen?
The text was updated successfully, but these errors were encountered: