I am fine-tuning several binary classification BERT models, all using bert-base-uncased. I understand that I can save my trained model and reload it later. I noticed that in the stored folder, the largest file is pytorch_model.bin (478MB), which appeared in every model I saved. If this is the pre-trained model (before finetuning), can I save it only once and later using it when loading different models?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Size of saved model: Is there a way to make it smaller for deploy? | 1 | 511 | July 27, 2023 | |
Saving standard BertModel english and BertModel multilingual have drastically different sizes? | 2 | 256 | August 28, 2020 | |
How to load model with .pth and avoid ponderous pytorch_model.bin | 0 | 1645 | September 8, 2023 | |
How to save and load fine-tune model | 4 | 24014 | October 25, 2021 | |
Elegant way to load and save a pretrained model as part of other model? | 0 | 759 | June 9, 2022 |