Beginner track · 24 lessons
Build an LLM From Scratch
Start at y = mx + c. Finish with your own model running an agent.
Twenty-four lessons, zero to hero: start at a single line of best fit and end with a small language model you trained yourself, wired into a working AI agent. Every idea is built by hand before it's named — no assumed math, no black boxes.
What you'll walk away with
- ·Train a tiny language model on real text, from raw gradients to a working GPT
- ·Understand attention, transformers, and fine-tuning from first principles — no black boxes
- ·Fine-tune, align (DPO), and run inference on your own model
- ·Build a working AI agent — tools, memory, and RAG — on top of a model you trained yourself
Founding membership
This track opens with the founding cohort — every lesson, artifact, and practice set. Free-preview lessons are marked below.
Join the founding cohortPart 1 — The Neuron
- A line is a modelComing
- Learning is just rolling downhillComing
- Why straight lines aren't enoughComing
- Stacking neurons into a networkComing
- Backpropagation: assigning blameComing
- Build a neural net in raw PythonComing
Part 2 — Teaching a Machine Language
- Text → numbers: tokenisationComing
- Embeddings: meaning as directionComing
- Your first language modelComing
- The memory problemComing
Part 3 — The Transformer
- Attention, from first principlesComing
- Queries, keys, values — and maskingComing
- Multi-head attention and positionComing
- The full transformer blockComing
- Build GPT from scratchComing
Part 4 — Training Your Own SLM
- Data is the modelComing
- The pretraining runComing
- Fine-tuning and instruction tuningComing
- Alignment: RLHF and DPOComing
- Inference: how generation really worksComing
Part 5 — The Agent
- What an agent actually isComing
- Tools: giving the model handsComing
- Memory, context and planningComing
- Your agent, on your modelComing