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

rlhf batches #197

Merged
merged 6 commits into from
Jun 30, 2023
Merged

rlhf batches #197

merged 6 commits into from
Jun 30, 2023

Conversation

pascal-pfeiffer
Copy link
Collaborator

adds the option to set the batch size for the PPO steps.

partly addresses #183 which suggests that larger batch sizes are more stable when fine tuning with RLHF (I can confirm)

Currently, we are limited by memory w.r.t. high batch sizes.

also fixes a wrong value check.

We probably want to further detangle the Rollout from the PPO steps, so that we can go to higher ppo batch sizes and grad accumulations.

Copy link
Contributor

@maxjeblick maxjeblick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@pascal-pfeiffer pascal-pfeiffer merged commit 61bf5b3 into main Jun 30, 2023
@pascal-pfeiffer pascal-pfeiffer deleted the pp/rlhf_batches branch June 30, 2023 07:08
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