Large Language Models
RLHF and preference optimization
Reward models, PPO, and DPO — aligning outputs with human preference.
5 lessons
Follow in order
Use the button below to sign in and unlock lessons.
Your path
Lessons in sequence
Work through these in order—each lesson builds on the previous one.
-
Lesson 1 of 5
Reward modeling basics
-
Lesson 2 of 5
PPO for LLMs
-
Lesson 3 of 5
DPO: direct preference optimization
-
Lesson 4 of 5
Reward hacking and the alignment tax
-
Lesson 5 of 5
RLHF in practice: the full pipeline