generated from fastai/nbdev_template
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
feat: Implement Two-Sided Clipping for GRPO Trainer #3434
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
Merged
kashif
merged 18 commits into
huggingface:main
from
ucalyptus:feat/two-sided-grpo-clipping
May 13, 2025
+99
−1
Merged
Changes from 5 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
7433d3f
grpo two sided clipping
ucalyptus 93a9cfe
changes in default behavior
ucalyptus 8b5c929
style: apply ruff formatting
ucalyptus dc08b5f
Update grpo_config.py
kashif 00bccd2
Update tests/test_grpo_trainer.py
kashif ed54f43
Update tests/test_grpo_trainer.py
kashif ffb6cff
Update tests/test_grpo_trainer.py
kashif 1f2c12e
Update trl/trainer/grpo_config.py
kashif ab13df8
Update trl/trainer/grpo_trainer.py
kashif f11a6bc
revert unrelated test
kashif b8a6e99
Merge branch 'main' into feat/two-sided-grpo-clipping
ucalyptus 15f0d14
parameterized test_two_sided_clipping_loss
kashif d267ef8
model has pad token
kashif cfa262a
Update tests/test_grpo_trainer.py
kashif 5c5f701
Update tests/test_grpo_trainer.py
kashif 1639350
Update tests/test_grpo_trainer.py
kashif 7967753
Merge branch 'main' into feat/two-sided-grpo-clipping
kashif 791046b
Update tests/test_grpo_trainer.py
kashif File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.