1 The course
The course is built around five implementation-heavy assignments:
- Basics: implement a tokenizer, the transformer architecture and the optimizer, and train a small language model.
- Systems: profile and speed up that model, write FlashAttention2 in Triton, and make training work across multiple GPUs.
- Scaling: fit scaling laws to predict how a model's performance grows with size and compute.
- Data: turn raw Common Crawl web dumps into clean pre-training data, with filtering and deduplication.
- Alignment and reasoning: use supervised fine-tuning and reinforcement learning to teach a model to reason about math problems.
Using language models every day is one thing; I want to understand every part of how they're built. More soon.