KEMBAR78
fix a few minor bugs in ppo.py by kykim0 · Pull Request #1966 · huggingface/trl · GitHub
Skip to content

Conversation

@kykim0
Copy link
Contributor

@kykim0 kykim0 commented Aug 25, 2024

What does this PR do?

Fixes several minor bugs in the ppo.py example including the incorrect argument in build_dataset, missing argument in ScriptsArguments.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a GitHub issue? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@qgallouedec
Copy link
Member

Thanks for fixing this issue @kykim0! Can you just answer my remark and we're ready to merge

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@qgallouedec
Copy link
Member

LGTM thanks @kykim0

@qgallouedec qgallouedec merged commit 3a3ed88 into huggingface:main Aug 27, 2024
yxliu-TAMU pushed a commit to mincheolseong/ECEN743-GRPO-Project-Proposal that referenced this pull request Apr 20, 2025
* fix a few minor bugs in ppo.py

* dataset_num_proc as training arg

* num proc in config

* Update examples/scripts/ppo.py

---------

Co-authored-by: Quentin Gallouédec <quentin.gallouedec@huggingface.co>
Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com>
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.

3 participants