Finishing school for chatbots
Post-training, the stage that turns a raw text predictor into something you can talk to, now has a proper textbook. Nathan Lambert wrote it while doing the job, and gives it away free.
Nathan Lambert does post-training at the Allen Institute for AI, the finishing work on a language model that decides whether it answers your question or just keeps writing your sentence. It is the least documented stage of building one. Lambert has been writing the whole procedure down anyway, free at rlhfbook.com since 2025, and in July Manning printed it as a 312-page, 17-chapter textbook.
"Synthetic generation has largely won ... distillation from stronger models now produces higher quality completions than most human writers can provide at scale." — Nathan Lambert
The chapters walk the full sequence: show the model worked examples of good answers, train a second model to score what it produces, then tune the first against those scores without letting it collapse into gaming its own grader. The appendices cover what papers leave out, including what a training run costs and how much of a benchmark score is just noise. The chapter on synthetic data steps straight into this summer's argument over open models, documenting without apology that freely downloadable models are routinely trained on data pumped out of closed commercial ones.
The two editions are not the same book, and the free one is ahead. Manning's print is fixed at July; the web version has kept absorbing corrections and fresh material since. The book supplies two separate citation entries, one per edition. Buy the paper copy if you need a stable thing to cite, and read the website if you want the current one.
Post-training is where most of the visible progress in chatbots over the past two years actually happened, and the labs treat their recipes for it as an asset to keep. One practitioner publishing his under a licence that lets anyone reuse it, then keeping it current in public, puts a working copy of that knowledge on a shelf anyone can reach.
Start with the synthetic data and distillation chapter, the one the open-model fight is actually about; the full text is on the web with no signup.
Read the paper at rlhfbook.com →The lenses
The facts
How this connects
Tap a node to open it