Skip to content
Learn with AlakhSharma

C15

RLHF Basics

5 lessons3 hoursPlannedFree

Outcome

Explain and implement the core pieces of RLHF.

Prerequisites

Lessons

  1. L01Preference data and pairwise comparisons · coming soonExercise: Build a preference dataset.
  2. L02Reward modeling · coming soonExercise: Train a small reward model.
  3. L03KL penalty and reference models · coming soonExercise: Explain why it prevents drift.
  4. L04DPO as a simpler alternative · coming soonExercise: Compare the loss to RLHF.
  5. L05Evaluating aligned models · coming soonExercise: Run a side-by-side evaluation.