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

[CODE IMPROVEMENT] Deprecate RLHF with PPO in favor of DPO #545

Closed
pascal-pfeiffer opened this issue Dec 20, 2023 · 0 comments · Fixed by #747
Closed

[CODE IMPROVEMENT] Deprecate RLHF with PPO in favor of DPO #545

pascal-pfeiffer opened this issue Dec 20, 2023 · 0 comments · Fixed by #747
Assignees
Labels
area/core Core code related issue

Comments

@pascal-pfeiffer
Copy link
Collaborator

🔧 Proposed code refactoring

Deprecate RLHF with PPO in favor of DPO.

Motivation

RLHF with PPO involves an extra step to train a reward model (see #175).
For good results, the reward model needs to be of very high quality and tuned on a large amount of data. While OpenAI and Meta have successfully used PPO in their pipeline, the OS community struggled to get good results. Probably due to the lack of good training data for the reward model.
DPO (#530) is a technique that allows to train with Human Feedback in a more stable way on good+bad sample pairs and without the need for an additional reward model. It is also much quicker to train as the generate steps are skipped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Core code related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant