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 fine-tuning using the SFTTrainer, it failed in the last step in pushing the model to the hub.
The exception is as below:
trainer.push_to_hub(revision=training_args.hub_model_revision, **kwargs)
File "/opt/conda/envs/handbook/lib/python3.10/site-packages/trl/trainer/sft_trainer.py", line 475, in push_to_hub
return super().push_to_hub(commit_message=commit_message, blocking=blocking, **kwargs)
File "/opt/conda/envs/handbook/lib/python3.10/site-packages/transformers/trainer.py", line 4345, in push_to_hub
self.create_model_card(model_name=model_name, **kwargs)
TypeError: Trainer.create_model_card() got an unexpected keyword argument 'revision'
I am on the latest versions of transformers (4.43.3) and trl (0.9.6). This problem seems to be related to the PR (#182) yesterday. Or did I miss something?
When fine-tuning using the SFTTrainer, it failed in the last step in pushing the model to the hub.
The exception is as below:
I am on the latest versions of transformers (4.43.3) and trl (0.9.6). This problem seems to be related to the PR (#182) yesterday. Or did I miss something?
Cc @kashif
The text was updated successfully, but these errors were encountered: