You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the fine-tuned model's push_to_hub_merged and push_to_hub_gguf functions, the specified revision is not used and things are instead pushed to the default active branch.
Looking through the save.py code, 'd say you need to modify the upload_to_huggingface function by adding "revision" and "tags" arguments and use those in the push_to_hub and upload_file functions enclosed therein. Maybe do similarly in other places as needed.
Would be very thankful for a fix or tips if I got something wrong.
Many thanks for your work and great framework!
The text was updated successfully, but these errors were encountered:
Thank you for looking into this. Also, in a related manner, the commit_messageand commit_description that are passed to the unsloth_push_to_hub_merged and unsloth_push_to_hub_gguf functions are not used. A push to Hugging Face only shows up with the commit message "(Trained with Unsloth)" even though a specific message was passed. I think this should be easy to fix (see my opening issue message). Many thanks in advance!
When using the fine-tuned model's
push_to_hub_merged
andpush_to_hub_gguf
functions, the specified revision is not used and things are instead pushed to the default active branch.Looking through the save.py code, 'd say you need to modify the
upload_to_huggingface
function by adding "revision" and "tags" arguments and use those in thepush_to_hub
andupload_file
functions enclosed therein. Maybe do similarly in other places as needed.Would be very thankful for a fix or tips if I got something wrong.
Many thanks for your work and great framework!
The text was updated successfully, but these errors were encountered: