
AI · advanced
Stanford CS336: Language Modeling from Scratch (Spring 2026)
by Stanford (Tatsunori Hashimoto and Percy Liang)
A Stanford course on building a language model end to end: data, tokenisation, the transformer, training efficiency, scaling and alignment. It suits people who already know Python and PyTorch and want to understand how modern LLMs are made. Expect college-level calculus, linear algebra and probability, plus prior machine learning study.
















