Why it matters
DPO replaces PPO-RLHF often. Understanding shapes alignment.
Advertisement
The architecture
Load SFT model + reference.
Compute log-ratio delta.
Sigmoid loss on preference.
Advertisement
How it works end to end
Beta parameter tunes KL.
Reference: SFT model (frozen).
PEFT compatible.