-
Notifications
You must be signed in to change notification settings - Fork 979
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
Finetune #1088
Comments
Nothing special is required to do instruction-finetuning. It's the same as normal finetuning, just with different data. if you're interested in RLHF, that's not something we plan on supporting, however there are libraries such as trl and trlX that support this. The later library has a WIP integration with GPT-NeoX |
Hi @StellaAthena, I think you mean (If I'm not mistaken) to line up the instruct data as an append of instruction and response and continue with regular LM training. However, for most instruction tuning, it is standard to mask the gradient updates for the instruction and only backdrop them for the response. Does the framework make this possible? |
There's an open PR adding support for this here. We also have started implementing RLHF features since my comment, e.g., here and here. |
Thanks for the reply! Will check it out |
Can we support instruction finetune?
The text was updated successfully, but these errors were encountered: