Back to Projects

Build from first principles

Align a Language Model with DPO

Turn preference pairs into a loss, train a rude help desk model into a polite one without a reward model, and measure how far it drifts from where it started.