Stanford CS336 posts 18 free lectures building LLMs from scratch, Triton to RLHF

techNmak · x · 2026-10-09

Stanford's CS336: Language Modeling from Scratch (Spring 2026, 18 lectures) is free on YouTube, covering the full LLM stack: tokenization, Transformers, MoE, FLOPs/GPUs, Triton kernels and distributed training, scaling laws and data curation, inference/evals, and SFT/RLHF/RLVR plus multimodality. Students implement tokenizers, optimizers, FlashAttention2 in Triton, build memory-efficient distributed training, process raw Common Crawl into pretraining data, fit scaling laws, and train a math-reasoning model. Stanford says students write an order of magnitude more code than in most AI classes.

Original post →

More from Companies & People

Companies & People channel →