Kiru Lab / Track
Language Models
A next-token predictor, examined until the surprising parts stop being surprising.
This track dismantles the transformer piece by piece: how text becomes numbers, how attention routes information between positions, what a residual stream is, and what pretraining and alignment each actually change. It ends where Kiru begins — with the mechanical origins of confabulation, sycophancy, and drift, which are not bugs bolted onto the architecture but consequences of it.
How does predicting the next token produce behavior that looks like reasoning?
By the end you can
- Trace a token from input string to output probability
- Implement scaled dot-product attention from scratch
- Explain the residual stream as a shared communication channel
- Describe what RLHF changes and what it cannot change
- Give a mechanical account of confabulation and sycophancy
Module 1
Text Becomes Numbers
Tokenization and embeddings — the two steps that decide what a model can even perceive.
Module 2
Anatomy of a Transformer
Attention, the residual stream, and the block that repeats until you have a model.
Module 3
Training, Behavior, and Failure
Pretraining, alignment, sampling — and the mechanical origins of the disorders DEM-X catalogs.