Skip to content
Road to Intelligence

Lectures & explainers

Watch

A few exceptional videos rather than many mediocre ones — 36 so far, about 18 h 57 min in total. Each is placed where it fits in the curriculum, with a note on why it's worth your time.

Chapter 2

The Math Toolkit

17 min

3Blue1Brown

The essence of calculus

Rebuilds the idea of a derivative from scratch, visually, without assuming you remember school calculus.

Covers: What derivatives and integrals are really about.

Must know
24 min

StatQuest with Josh Starmer

Gradient Descent, Step-by-Step

Works gradient descent out by hand on a tiny regression problem, one step at a time.

Covers: Loss, derivatives, step size, stochastic gradient descent.

Should know
31 min

3Blue1Brown

Solving Wordle using information theory

A playful but rigorous introduction to information and entropy as expected bits of surprise.

Covers: Information in bits, entropy, choosing actions that maximize expected information.

Should know

Chapter 3

Machine Learning

27 min

StatQuest with Josh Starmer

Linear Regression, Clearly Explained!!!

Least squares, R², and what a fitted line actually tells you — from the ground up.

Covers: Fitting a line, residuals, R², p-values.

Should know
9 min

StatQuest with Josh Starmer

StatQuest: Logistic Regression

A short, clear picture of how logistic regression turns a line into probabilities.

Covers: The S-shaped curve, classification with probabilities, maximum likelihood.

Must know
16 min

StatQuest with Josh Starmer

ROC and AUC, Clearly Explained!

How to evaluate a classifier across every possible threshold.

Covers: Confusion matrices, true/false positive rates, ROC curves, AUC.

Should know
20 min

StatQuest with Josh Starmer

Regularization Part 1: Ridge (L2) Regression

Regularization made concrete: accept a little bias to reduce a lot of variance.

Covers: Ridge penalty, λ, bias–variance, fitting with few data points.

Should know

Chapter 4

Neural Networks

Chapter 6

Language Before Transformers

1 h 58 min

Andrej Karpathy

The spelled-out intro to language modeling: building makemore

Builds a character-level bigram model from counts, then trains a one-layer neural network that learns the same table by gradient descent.

Covers: Language modeling, count tables, smoothing, negative log-likelihood, and swapping counting for a trained network.

Should know
1 h 16 min

Andrej Karpathy

Building makemore Part 2: MLP

Implements the Bengio et al. 2003 neural language model at character level: an embedding lookup, a hidden layer and a softmax over the next character.

Covers: Learned embeddings, a fixed context window, training splits and why sharing vectors beats exact-count tables.

Should know

Chapter 7

Transformers

1 h 56 min

Andrej Karpathy

Let's build GPT: from scratch, in code, spelled out.

The best way to reach IMPLEMENT level on Transformers: write one yourself, line by line, in PyTorch.

Covers: Self-attention, multi-head attention, masking, residuals, layer norm — all built from a bigram baseline up.

Must know

Chapter 8

The Rise of Large Language Models

2 h 14 min

Andrej Karpathy

Let's build the GPT Tokenizer

Many odd LLM behaviours trace back to tokenization; this shows you why by building a BPE tokenizer.

Covers: Unicode, bytes, byte-pair encoding, GPT-2/GPT-4 tokenizers, special tokens.

Should know
1 h

Andrej Karpathy

[1hr Talk] Intro to Large Language Models

A clear one-hour overview of what LLMs are, how they are trained, and where they're going — good orientation for Part III.

Covers: Pretraining, fine-tuning, scaling, tool use, security issues.

Must know