huggingface / huggingface/alignment-handbook

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

Open
#203 3 comments 11 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.7k
Forks
490
Avg merge
2m
Merged PRs (30d)
1

Description

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](https://huggingface.co/docs/trl/v0.12.0/en/sft_trainer#trl.SFTTrainer.create_model_card), and also found there is no "finetuned_from" in the API.

However, trainer in transformers support "finetuned_from" parameters. [Doc](https://huggingface.co/docs/transformers/v4.46.0/en/main_classes/trainer#transformers.Trainer.create_model_card)

Please check.

Best regards,
Eli Chen

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.