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鈥檒l 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

Open
pascal-pfeiffer opened this issue Dec 20, 2023 · 0 comments
Open

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

pascal-pfeiffer opened this issue Dec 20, 2023 · 0 comments
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.

@pascal-pfeiffer pascal-pfeiffer added the area/core Core code related issue label Dec 20, 2023
@pascal-pfeiffer pascal-pfeiffer self-assigned this Dec 20, 2023
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

No branches or pull requests

1 participant