Skip to content

Building language models from first principles.

One overview plus 17 focused notes on the full path: data, tokenization, transformers, training, systems, evaluation, inference, and alignment. The goal is a working mental model.

Notes18
Core notes17
Total reading2h 57m
Last updated2026-01-19

Notes

Sorted in sequence order

The one hour path.

Building a language model, data to deployment If you only have an hour, read kernels, scaling laws, inference, and alignment. That path shows the full loop: make training efficient, predict scale, serve the model, then shape behavior.