-
Notifications
You must be signed in to change notification settings - Fork 18
Add OSFT implementation through mini-trainer #1
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
Add OSFT implementation through mini-trainer #1
Conversation
Maxusmusti
left a comment
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.
Looks good, just a couple of questions/comments
src/training_hub/algorithms/osft.py
Outdated
| 'checkpoint_at_epoch': bool, | ||
| 'save_final_checkpoint': bool, | ||
| 'training_mode': str, | ||
| 'max_epochs': int, |
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.
should this just be epochs?
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.
Yes, thank you for catching this
a3dbb85 to
2c7f53b
Compare
Maxusmusti
left a comment
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.
LGTM
adds hierarchical priority, handles edge cases, surface warnings and …
This PR adds Orthogonal Subspace Fine-Tuning (OSFT) into the training hub.
This is mostly done but still needs the final components:
pyproject.tomlshould have themini-trainerdependency pointing to a valid pypi release