mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2026-01-11 00:20:35 +08:00
[core deps] upgrade TRL to be between 0.18 and 0.24 (#9617)
Co-authored-by: Yaowei Zheng <hiyouga@buaa.edu.cn>
This commit is contained in:
@@ -108,7 +108,7 @@ def create_modelcard_and_push(
|
||||
elif training_args.push_to_hub:
|
||||
trainer.push_to_hub(**kwargs)
|
||||
else:
|
||||
trainer.create_model_card(license="other", **kwargs) # prevent from connecting to hub
|
||||
Trainer.create_model_card(trainer, license="other", **kwargs) # prevent from connecting to hub
|
||||
|
||||
|
||||
def create_ref_model(
|
||||
|
||||
Reference in New Issue
Block a user