-
Notifications
You must be signed in to change notification settings - Fork 235
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
Weighted Cross Entropy Loss #404
Comments
#take I can work on this next week. |
@pramodith any updates? |
@ByronHsu sorry been busy with some personal stuff, I'll have this ready by Friday at the latest. |
This was referenced Dec 2, 2024
Todo: sample/token level weight |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🚀 The feature, motivation and pitch
Allow for passing a weighting tensor to weight the CEL similar to C-RLFT where some tokens or inputs in the batch may have lower weighting to the overall loss. see https://arxiv.org/abs/2309.11235
Alternatives
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: