Summary

Stanford CS336, “Language Modeling from Scratch”, Spring 2026 — the third edition of the course, taught by Percy Liang and Tatsunori Hashimoto with course assistants Marcel, Herman and Stephen. The premise is building a language model end to end rather than calling one: tokenization, architecture, kernels and hardware, distributed training, scaling laws, inference, data pipelines, and post-training. All 18 lectures are published on the Stanford Online YouTube channel, roughly 24 hours in total, recorded between 2026-04-14 and 2026-06-05.

Lectures

Notes On This Import

Lecture notes were written from the YouTube caption tracks (the en-US tracks, which are punctuated and far cleaner than the auto-generated ones). Two pairs of lectures share a title — 07/08 (Parallelism) and 09/11 (Scaling Laws) — so their summaries are written to distinguish them. Lecture 15’s filename uses “Mid and Post-Training” because a slash cannot appear in a filename.

Candidate Follow-ups

  • No atomic notes extracted yet; each lecture note has an empty Extracted Notes section.
  • A dedicated CS336 map may be worth creating if atomic notes start accumulating, rather than loading them all into Learning.