-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
push_to_hub from local model #1873
Comments
I don't think there is support for Moving your issue to TRL, cc @kashif maybe :) |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. |
Use ( python examples/scripts/sft.py \
--model_name_or_path facebook/opt-350m \
--dataset_name timdettmers/openassistant-guanaco \
--output_dir opt-350m-sft \
--dataset_text_field text \
--push_to_hub \
--max_steps 100 \
--hub_model_id my_hub_model_id |
I am still facing the same error EVEN when I pass the My Model is loaded directly from local machine and then I run some FT on it. After the Versions of Libraries:
|
System Info
transformers
version: 4.43.2Who can help?
@muellerzr @SunMarc
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
In
https://github.com/huggingface/trl/blob/main/examples/scripts/sft.py
, I pass the following arguments.I understand that I am using the SFTTrainer, but it is using
super().push_to_hub
method, hence I created the issue in this library.The error is:
Expected behavior
The wandb logging and training completes sucessfully. But the push fails. This is because I am loading a model from the local directory
/home/ubuntu/work/Meta-Llama-3.1-8B
and not from an HF repo. However, the push should work fine!The text was updated successfully, but these errors were encountered: