-
Notifications
You must be signed in to change notification settings - Fork 41
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
SFT does not work max_steps
#159
Comments
Thanks for reporting this. I think the main issue is that we don't support undefined In the meantime, you can probably work around this by simply setting |
Sorry, my testing was insufficient. I thought this issue was a similar situation to NeMo (does not work |
SFT API ignores
trainer.sft.max_steps
ingpt_sft.yaml
.Always refer to
trainer.sft.max_epochs
only.Test case:
trainer.sft.max_steps=200
andtrainer.sft.max_epochs
=-1- 0 step job finished
trainer.sft.max_steps=200
andtrainer.sft.max_epochs=0
- 0 step job finished
trainer.sft.max_steps=200
andtrainer.sft.max_epochs=1
(187 steps)- 187 steps job finished
~trainer.sft.max_epochs
- error
The text was updated successfully, but these errors were encountered: