-
Couldn't load subscription status.
- Fork 2.1k
use max_length to replace max_seq_length; correct README for
#2862
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
Conversation
delora_finetuning Signed-off-by: Liu, Kaixuan <[email protected]>
|
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
…for" This reverts commit 7a7fb87.
Signed-off-by: Liu, Kaixuan <[email protected]>
|
@BenjaminBossan recent version trl/transformers use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the argument name. There is a small issue that I noted, otherwise LGTM.
examples/sft/train.py
Outdated
| metadata={"help": "Path to pretrained model or model identifier from huggingface.co/models"} | ||
| ) | ||
| max_seq_length: Optional[int] = field( | ||
| max_length: Optional[int] = field( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change isn't enough, because there is a conflicting argument with the same name. I already took care of that in #2857, so you can revert this change here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I changed the code here by mistake. Yes, for sft case, we should take more actions. Have reverted.
Signed-off-by: Liu, Kaixuan <[email protected]>
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care of this, LGTM.
delora_finetuning