Learning paths¶
Five concrete routes through this site, week by week, each paired with the best outside course for the job: a big-picture weekend, an 8-week builder path, a 6-month path to mastery, a researcher's path, and a maths refresher. Pick one, put it in your calendar, and start on Monday.
10,000 ft
This site has 160-odd pages across sixteen tracks; reading them in navigation order is possible, but it is not the best way for most people. What you should read depends on what you want to be able to do at the end: talk intelligently about AI, ship an AI product, understand every equation, or contribute to research. The paths below are designed backwards from those outcomes. All of them respect the same dependency structure (maths before learning, learning before transformers, transformers before post-training and applications) and all of them mix reading with building, because nobody learns this material from reading alone.
2,000 ft
Choose by goal and time budget. Each path is a list of weeks; each week names the pages to study, one outside resource to pair, and a deliverable that proves you learned it. If you are unsure, do the weekend first: it gives you the map that makes every other path faster.
Ground level¶
How the tracks depend on each other¶
Every path is a walk through this graph. An arrow means "study this first". History, the library and the projects are not shown because they go alongside everything: read one history page a week whatever path you are on, and build the projects at the points the paths mark.
Two consequences matter for planning. First, the chain from maths to transformers is long and unavoidable if you want to understand rather than use; the builder path shortens it by taking only the pages each later step needs. Second, after transformers the graph fans out: systems, applications, generative models, data and post-training can be studied in any order, so choose by what you need next.
Path 1: the big-picture weekend (about 10 hours)¶
Outcome: you can draw the map of AI from memory, explain how an LLM is made and served, and tell hype from substance in a news story.
| Session | Study | Pair with |
|---|---|---|
| Saturday morning (3 h) | The map of AI, Three booms at 10,000 ft, The assistant era | Intro to Large Language Models, Karpathy (1 h) |
| Saturday afternoon (3 h) | The 10,000-ft and 2,000-ft boxes only of: Deep learning, LLMs, Attention, Post-training, RL | But what is a neural network? and Transformers, the tech behind LLMs, 3Blue1Brown |
| Sunday morning (2 h) | The 10,000-ft and 2,000-ft boxes of: Generative, Systems, Applied, Safety, Frontier | First half of Deep Dive into LLMs like ChatGPT, Karpathy |
| Sunday afternoon (2 h) | The road ahead, then close the laptop | Second half of the Karpathy deep dive |
Deliverable: on one sheet of paper, draw the lifecycle diagram (data → pre-training → post-training → serving → applications) and the seven regions of the map, and explain each box aloud in two sentences. Check yourself against the map. This is the Feynman test applied to the whole field.
Path 2: the builder (8 weeks, about 8 hours a week)¶
Outcome: you can build, evaluate and ship an LLM feature (retrieval, tools, an agent loop) and you understand the model underneath well enough to debug it, choose between models, and fine-tune one.
The builder path deliberately skips classical ML, most of the maths track, RL and generative models. Come back for them; the full mastery path picks up exactly where this one leaves gaps.
Path 3: full mastery (about 6 months)¶
Outcome: you understand every layer of the map from first principles, can derive the key equations, have built the core models yourself, and can read current papers. About 12 hours a week for 26 weeks: roughly 190 hours on this site's pages (including review) and the rest on projects and the paired courses.
| Weeks | Phase | Study | Pair with | Build |
|---|---|---|---|---|
| 1 | Orientation | Start here track | Deep Dive into LLMs | your workbench |
| 2–4 | Maths | all of Mathematical foundations | Essence of linear algebra, Essence of calculus; Mathematics for Machine Learning | every "Build it" in NumPy |
| 5–7 | Classical ML | all of Classical ML | Stanford CS229 lectures (Ng, 2018) | logistic regression and a tree ensemble from scratch |
| 8–10 | Deep learning | all of Deep learning | Understanding Deep Learning (Prince); Zero to Hero parts 1–5 | micrograd |
| 11–14 | Transformers and LLMs | all of Transformers | CS224N; CS336 2025 lectures | a tiny GPT |
| 15–16 | Reinforcement learning | all of RL | Sutton and Barto, chapters 1–6 and 13 | a bandit and a gridworld agent |
| 17–18 | Post-training | all of Post-training | InstructGPT and DPO papers, read with the three-pass method | LoRA fine-tune |
| 19–20 | Generative and multimodal | all of Generative | CS231n 2025 lectures on generative models | a 2-D diffusion model |
| 21–22 | Systems | all of Systems | CS336 systems lectures and assignment 2 | profile and quantise a model on your Mac |
| 23–24 | Applied | all of Applied | Hugging Face LLM course | RAG assistant and agent |
| 25 | Safety and data | all of Safety and Data | Adding Error Bars to Evals | error bars on your own eval |
| 26 | Frontier and review | all of Frontier; self-assessment | three recent papers | a written answer to every self-assessment question |
Alongside all 26 weeks: one page of the story of AI a week (there are twelve; read the rest of the time from the library), and a fifteen-minute daily review of your flashcards (How to study).
Falling behind is normal
Plans of this length slip. The fix is not to cram but to cut: drop the Build column for a week rather than the Study column, and never skip the weekly review. Spacing does more for retention than extra hours (How to study).
Path 4: the researcher (12 weeks, about 12 hours a week)¶
Prerequisite: path 3, or equivalent knowledge up to transformers. Outcome: you can read a new paper in an afternoon, judge its evidence, reproduce a small result, and write it up.
| Week | Study | Pair with | Deliverable |
|---|---|---|---|
| 1 | How to read a paper, the paper canon, keeping up | Keshav, How to Read a Paper | a reading log with three first-pass entries |
| 2 | Scaling laws, compute maths | Chinchilla | fit a power law to your own small training sweep |
| 3 | Efficient attention, GPU architecture, kernels | CS336 assignment 2 (systems: profiling, Triton FlashAttention) | a fused kernel or a profiler trace explained |
| 4 | Mixture of experts, beyond transformers, long context | Mamba | a one-page comparison: attention vs SSM cost |
| 5 | Reasoning models, RL with verifiable rewards | DeepSeek-R1 | GRPO on a toy arithmetic task |
| 6 | Interpretability | Transformer Circuits and ARENA | find one interpretable feature in a small model |
| 7 | Benchmarks, contamination, statistics for evals | Adding Error Bars to Evals | confidence intervals for a published comparison |
| 8 | Open problems, world models, agents frontier | Stanford CS25 talks | choose a paper to reproduce |
| 9–11 | reproduction | the paper's code, if any | the reproduction, with seeds and error bars |
| 12 | write-up | How to read a paper, read in reverse | a 4-page report: claim, method, result, what differed |
Path 5: the maths refresher (4 weeks, about 6 hours a week)¶
Outcome: the mathematics in every other track reads as fluent prose rather than as an obstacle. Do it before path 3, or alongside path 2 when an equation stops you.
| Week | Study | Pair with |
|---|---|---|
| 1 | Vectors, matrices, tensors and broadcasting | Essence of linear algebra, episodes 1–9 |
| 2 | Eigenvectors, SVD and PCA, derivatives, chain rule and Jacobians | MIT 18.06 (Strang) lectures on eigenvalues and SVD; Essence of calculus |
| 3 | Probability, distributions, MLE, MAP and Bayes | Seeing Theory |
| 4 | Information theory, optimisation, floating point, statistics | Mathematics for Machine Learning, chapters 5–7 |
Deliverable each week: close the book and re-derive one result from the week on paper: the projection formula, the SVD of a 2×2 matrix, the gradient of softmax cross-entropy, the MLE of a Gaussian. If you cannot, that is the page to re-read.
Making a path your own¶
The tables are defaults. Four rules make them work for a real life.
Know when a page is done. A page is finished when you can do three things without looking: redraw its 2,000-ft diagram, answer its Check yourself questions, and rebuild its Build it code from a blank file. Reading to the bottom is not the test. If one of the three fails, mark the page and return to it in your next review session rather than rereading it now.
Run a weekly ritual. On Monday, write the week's pages and deliverable at the top of your lab notebook (How to study). On Friday, spend thirty minutes on review: answer last week's questions from memory, redo one derivation, and write three sentences on what was hardest. The Friday session is the one to protect when time is short.
Mix paths deliberately. The paths are not exclusive. A common and good combination is the builder path with the maths refresher running one week behind it, so each equation you meet in a builder week was refreshed the week before. Another is the mastery path with the researcher path's weekly paper habit added from week 11 onwards.
Prefer depth on fewer pages over coverage. If you must cut, cut breadth. One page you can rebuild from memory is worth more than five you have read, because it becomes the anchor that later pages attach to.
A worked week (builder path, week 3)
Monday, 1 h: read the 10,000-ft and 2,000-ft boxes of the four pages; write the deliverable ("a tiny GPT that trains on Shakespeare and samples"). Tuesday and Wednesday, 2 h each: ground level, maths and Build it of multi-head attention and the transformer block. Thursday, 2 h: the first hour of Let's build GPT, coding along. Saturday, 1 h: finish the training run, write five flashcards, answer the Check yourself questions from memory. Total: 8 hours, one artefact, five cards.
First principles¶
Why structure learning this way rather than read front to back? Four forces.
Prerequisites are real. Knowledge in this field is a directed acyclic graph. Attention is a softmax over dot products; you cannot understand it before dot products and softmax. Any order that violates the graph forces you to hold undefined terms in your head, which is the main reason people give up on technical material. A topological order (one where every prerequisite comes first) always exists for an acyclic graph, and every path above is one.
Goals prune the graph. The full graph is large, but the set of pages a goal requires is much smaller: the ancestors of the goal node. The builder path is roughly the ancestors of "RAG assistant and agent", pruned to the pages that change what you would build. Mastery is the whole graph.
Spiral, don't stack. Each path visits the same ideas at rising altitude: the weekend shows attention at 2,000 ft; the builder path implements it; the mastery path derives it; the researcher path reads its replacements. Returning to an idea after a gap, at a deeper level, is spaced practice applied to a curriculum, and it is the best-supported study technique there is (How to study).
Projects make it stick. Every path ends each phase with something built, because building forces retrieval, exposes the gaps that reading hides, and leaves an artefact you can show. The project ladder is ordered so each project uses the previous one.
The maths¶
Planning a path is a small exercise in graph theory and arithmetic.
Topological order. Write the tracks as nodes and "study \(u\) before \(v\)" as an edge \(u \to v\). A topological order is a sequence in which every edge points forward. Kahn's algorithm builds one: repeatedly take a node with no unmet prerequisites, append it, and remove its outgoing edges. If at some point no such node exists, the graph has a cycle, and the curriculum is inconsistent.
Critical path. If track \(v\) takes \(h_v\) hours, the least study time before you can finish \(v\) (reading only what \(v\) needs) is the longest-path recursion
Evaluating \(F\) in topological order takes one pass over the edges. \(F\) tells you how far away a goal really is, which is the number to plan around.
Calendar time. With total study hours \(H\), a weekly budget of \(h\) hours and a fraction \(r\) of time reserved for review, the calendar length is
With this site's pages estimated at about 158 study hours (from the levels in the curriculum: 40 minutes per foundation page, 60 core, 75 advanced, 90 frontier), \(r = 0.2\) and \(h = 10\), that is \(158 \times 1.2 / 10 \approx 19\) weeks for the pages alone. Projects and paired courses roughly double it, which is where "about six months at 12 hours a week" comes from.
Build it¶
This script reads the site's own learn/curriculum.yml (run it from the repository root), sums
estimated study hours per track, sorts the tracks topologically with Kahn's algorithm, computes
each track's critical path, and converts the total into weeks at different weekly budgets. The
minutes per level are our estimates for studying a page properly (working the examples and
questions), not skimming it.
# Plan a study path through this site: read the curriculum, estimate hours,
# and order the tracks so every prerequisite comes first (a topological sort).
import yaml # PyYAML
from collections import defaultdict
MINUTES = {"foundation": 40, "core": 60, "advanced": 75, "frontier": 90} # study, not read
cur = yaml.safe_load(open("learn/curriculum.yml"))
hours, pages = {}, {}
for t in cur["tracks"]:
ps = [p for u in t["units"] for p in u["pages"]]
pages[t["slug"]] = len(ps)
hours[t["slug"]] = sum(MINUTES[p["level"]] for p in ps) / 60
# Track-level prerequisites (an edge a -> b means "a before b").
PRE = {
"math": ["start"], "ml": ["math"], "deep-learning": ["ml"],
"transformers": ["deep-learning"], "post-training": ["transformers", "rl"],
"rl": ["deep-learning"], "generative": ["deep-learning"],
"systems": ["transformers"], "applied": ["transformers"],
"safety": ["post-training"], "data": ["transformers"],
"frontier": ["applied", "safety"], "practice": ["start"],
"history": ["start"], "library": ["start"], "start": [],
}
def kahn(pre):
indeg = {n: len(ps) for n, ps in pre.items()}
after = defaultdict(list)
for n, ps in pre.items():
for p in ps:
after[p].append(n)
ready = [n for n in pre if indeg[n] == 0]
order = []
while ready:
n = ready.pop(0); order.append(n)
for m in after[n]:
indeg[m] -= 1
if indeg[m] == 0:
ready.append(m)
assert len(order) == len(pre), "cycle in prerequisites"
return order
order = kahn(PRE)
finish = {} # earliest finish = longest prerequisite chain (hours)
for n in order:
finish[n] = hours[n] + max((finish[p] for p in PRE[n]), default=0)
print(f"{'track':14s} pages hours earliest finish (h)")
for n in order:
print(f"{n:14s} {pages[n]:5d} {hours[n]:6.1f} {finish[n]:10.1f}")
total = sum(hours.values())
print(f"\n{sum(pages.values())} pages, {total:.0f} study hours in all")
for h in (6, 10, 15):
print(f"at {h:2d} h/week: {total / h:4.0f} weeks; with 20% review time: {total * 1.2 / h:4.0f} weeks")
Output (October 2026 curriculum):
track pages hours earliest finish (h)
start 7 4.7 4.7
math 14 11.7 16.3
practice 6 5.3 10.0
history 12 8.7 13.3
library 9 6.7 11.3
ml 12 11.2 27.5
deep-learning 13 11.7 39.2
transformers 16 17.3 56.5
rl 10 10.6 49.8
generative 10 11.7 50.8
systems 10 10.7 67.2
applied 14 14.3 70.8
data 5 4.9 61.4
post-training 10 11.7 68.2
safety 8 8.7 76.8
frontier 6 8.8 85.6
162 pages, 158 study hours in all
at 6 h/week: 26 weeks; with 20% review time: 32 weeks
at 10 h/week: 16 weeks; with 20% review time: 19 weeks
at 15 h/week: 11 weeks; with 20% review time: 13 weeks
Read the "earliest finish" column as distance: reaching the end of the applied track the principled way (maths → ML → deep learning → transformers → applied) is about 71 study hours, which is why the builder path, at 64 hours, has to prune.
Things to try
- Change
PREso thatapplieddepends only onstart, and see what the builder path saves and what it gives up. - Replace the per-level minutes with your own measured times after two weeks; recompute.
- Extend the script to page level: give each page a list of prerequisite pages and print a topological order of the pages, not the tracks.
- Add a cycle (
"math": ["ml"]) and watch the assertion fire. Why must a curriculum be acyclic?
Check yourself¶
You want to fine-tune a small model for a product next month. Which path, and which weeks of it, matter most?
The builder path; weeks 3–4 (the transformer and LoRA) and 6 (evals) matter most. Without an eval set you cannot tell whether the fine-tune helped.
Why does every path include building something every phase?
Building is retrieval practice and error discovery at once: it forces you to recall the idea without the page in front of you, and it exposes misunderstandings that rereading hides. It also produces evidence that you learned the material.
A colleague proposes studying post-training before transformers because it is 'more practical'. What goes wrong?
Post-training pages assume you know what a language model's output distribution, loss and logits are, and RLHF also assumes policy-gradient ideas from RL. Without them the pages read as recipes and you cannot debug when the recipe fails.
Using the formula for calendar time, how many weeks does 158 hours take at 8 hours a week with 25% review?
\(158 \times 1.25 / 8 \approx 24.7\), so about 25 weeks.
What does the critical-path number F(v) tell you that the total hours do not?
The minimum study time before you can complete track \(v\) if you read only its prerequisite chain. Total hours describe the whole site; \(F(v)\) describes the distance to one goal.
Go deeper¶
Courses
- Neural Networks: Zero to Hero — Andrej Karpathy. The single best companion to the builder and mastery paths: micrograd to GPT, in code.
- Practical Deep Learning for Coders — fast.ai. Top-down: train useful models first, understand them later; the counterweight to this site's bottom-up approach.
- Stanford CS336: Language Modeling from Scratch — Percy Liang and Tatsunori Hashimoto. The deepest public course on building LLMs end to end; its assignments are the researcher path's backbone.
- Stanford CS224N — Manning et al. NLP with deep learning; the academic route into transformers.
- CS 285: Deep Reinforcement Learning — Sergey Levine, Berkeley. The RL course for the mastery and researcher paths.
- Hugging Face LLM course — Hugging Face. Hands-on with the library most models ship in.
- MIT 18.06 Linear Algebra — Gilbert Strang. The classic; the maths refresher's deep end.
Books
- Mathematics for Machine Learning — Deisenroth, Faisal and Ong. Free; exactly the maths this site uses, in one volume.
- Understanding Deep Learning — Simon Prince. Free; the deep learning text for the mastery path.
- Reinforcement Learning: An Introduction — Sutton and Barto. Free; the RL text.
Videos
- Essence of linear algebra — 3Blue1Brown. Sixteen short videos that make matrices geometric.
- Stanford CS229 (2018) — Andrew Ng. The classical-ML lectures for weeks 5–7.
Articles
- Augmenting Long-term Memory — Michael Nielsen, 2018. How a working scientist used spaced repetition to read papers in a new field; the method behind the daily review.
Where this leads¶
- How to study AI so it sticks — the techniques that make any of these paths work.
- Your workbench — set up the machine every path builds on.
- The project ladder — the deliverables, in order.
- How to read a paper — the core skill of the researcher path.