Preference tuning with DPO
Your support model, after supervised fine-tuning, gives correct answers that are a bit stiff. Your reviewers can't write the perfect reply for every case, but shown two replies side by side, they pick the better one in seconds, and they agree. That judgement is training data too, and preference tuning is how you use it.
In this lesson you'll learn to
- Explain why comparisons between two answers are useful training data, and when preference tuning fits.
- Describe RLHF as the concept behind preference tuning, with a reward model, a policy and a KL limit.
- Explain how DPO learns directly from preference pairs, and what its beta setting controls.
- Collect good preference pairs and avoid traps such as length bias, noisy labels and sycophancy.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.