B.16 Model construction
Build the machinery behind a language model, from numerical operations to a modern decoder.
Reading route
Section titled “Reading route”- Numerics and Autograd
- Tokenizers
- Statistical Language Models
- Recurrent Networks
- Attention from First Principles
- The Transformer
- Objectives and Adaptation
- The Modern Decoder Block
- Implementing Inference
- Kernels and Numerical Performance
- Build a Model Server
- Training at Scale
- Post-training
Follow the model chapters in order before inference and serving. Kernels are an optional deeper route. Use the capstones to own a model end to end and the course path for an interleaved platform build. Compare forward results, gradients, generated sequences, latency, and failure behavior with independent oracles.