Language models, built from scratch.
All 18 recorded lectures of CS336 rebuilt as structured lessons — the lecture's own arc, reorganized for reading, with the code walked through, the resource math typeset, key remarks pulled out, and exercises to check yourself. The five assignments get companion pages that point you at the real work. Watch, read, work, tick it off.
Basics
Systems
Scaling, Inference, Evaluation
Data
Post-Training & Alignment
Guest Lectures
Personal study companion for Stanford CS336 (Profs. Tatsunori Hashimoto & Percy Liang). Lectures, slides, and assignments © Stanford University and the CS336 staff. Private, non-commercial study use; not affiliated with Stanford. The Daniel Selsam guest lecture was not published and is not included.