Skip to content
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

[misc] fix reward model issue with TokenClassification model and support running particular steps instead of epochs #99

Merged
merged 10 commits into from
Jan 13, 2025

Conversation

PeterSH6
Copy link
Collaborator

This PR solves:

  • Add a CI with model-based reward to ensure it's always runnable
  • Support running for particular steps instead of epochs
  • Fix reward model chooses reward on EOS token after switching from AutoModelForSequenceClassification to AutoModelForTokenClassification

The flash_attention compatible issue will be fixed in the next PR.
I may need some time to check how to install different versions of flash_attn more efficiently in the CI machines.

@vermouth1992 vermouth1992 merged commit a0e8ed2 into volcengine:main Jan 13, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants