-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Are the saved models (either adapter_model.bin or pytorch_model.bin) only 25-26MB in size? #601
Comments
plus, anybody know how to convert the saved models to safetensor to upload huggingface? |
I have same questions and also I wnat to know how to convert safetensor to huggingface foramt( e.g. from_pretrained) |
I solved installed transformers==4.33.3. the newest transformer version save model default with safetensors, but I think it is not stable for LoRA. with transformers=4.33.3, it saved *.bin model |
Can you explain more about your setup? I install transformers==4.33.3, and fine-tune CodeLlama-7b with custom dataset, it still outputs safetensors format. |
trainer.save_pretrained(output_dir) will be worked |
Is it correct?
The text was updated successfully, but these errors were encountered: