Skip to content
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

SFTTrainer.create_model_card() got an unexpected keyword argument 'finetuned_from' #203

Open
JIElite opened this issue Nov 4, 2024 · 3 comments

Comments

@JIElite
Copy link

JIElite commented Nov 4, 2024

Dear HuggingFace,

By using transformers 4.46.1 and trl 0.12.0, the key word "finetuned_from" seems to be removed? I double checked the TRL document, and also found there is no "finetuned_from" in the API.

However, trainer in transformers support "finetuned_from" parameters. Doc

Please check.

Best regards,
Eli Chen

@ieBoytsov
Copy link

I also met this issue.

@gaoshiping
Copy link

maybe you can call super(SFTTrainer, trainer).create_model_card(**kwargs) to call create_model_card method from transformers trainer directly

@ethvedbitdesjan
Copy link

any fixes to this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants