Finally understand how AI writes.
A free video course on large language models. Start with no code or maths. Finish running them in production.
The cat sat on the
Every other piece together: 10%
That’s the whole loop: score, pick, add.
This demo stops after 5 pieces. A real model keeps going until it picks a special “I’m done” piece.
Tap a piece to add it, or let the model spin its weighted wheel. Violet bars are the model’s scores; grey pieces aren’t playable in this demo. Real numbers from Qwen2.5-0.5B, a small open model.
Made for people who were told it’s too hard.
Part 1 needs no code and no maths. Episodes are short and focused, with a full transcript you can read at your own pace. Every claim is sourced from papers and official docs. And it’s free, with no account.
Start with the big picture
Module 0 is 5 short episodes that show the whole journey before any details.
- Episode 0.1: What happens when you press Enter
The full trip of a prompt: text → tokens → model → one token at a time → your screen.
Lesson - Episode 0.2: AI, machine learning, deep learning, LLMs
How these words relate, as nested circles, with one real example each.
Transcript - Episode 0.3: From ELIZA to ChatGPT
The 60-year story: rules, statistics, neural nets, transformers, scale.
Transcript - Episode 0.4: Training vs inference
Making a model once vs running it billions of times, and why both are hard.
Transcript - Episode 0.5: How to learn with this course
The four parts, the hands-on builds, and how to avoid only watching.
Transcript
The whole course, zero to production
4 parts, each a different area: 19 modules, 131 episodes. Pick a part to see what’s inside.
Start here: no code or math needed. Use LLMs well, see how computers run code, learn Python from zero, and the math of AI drawn as pictures.
Already write Python? Skip Module 3. Comfortable with vectors and probability? Skim Module 4.
0 Welcome & The Big PictureSee the whole journey, and what an LLM really is, before any details. 5 episodes, 5 ready
- 0.1 What happens when you press Enter Lesson
- 0.2 AI, machine learning, deep learning, LLMs Transcript
- 0.3 From ELIZA to ChatGPT Transcript
- 0.4 Training vs inference Transcript
- 0.5 How to learn with this course Transcript
1 Using LLMs Like a ProBe a skilled user first. You will understand the internals better later. 6 episodes
- 1.1 Base, chat and reasoning models Coming soon
- 1.2 Prompting fundamentals Coming soon
- 1.3 Tokens and context windows Coming soon
- 1.4 Your first API call Coming soon
- 1.5 Open vs closed models Coming soon
- 1.6 Where LLMs fail Coming soon
2 How Computers Run CodeThe machine underneath. This pays off hugely in Part 4. 5 episodes
- 2.1 Bits, bytes and numbers Coming soon
- 2.2 Floating point: FP32, FP16, BF16, FP8 Coming soon
- 2.3 CPU, memory and storage Coming soon
- 2.4 What a GPU is and why AI needs it Coming soon
- 2.5 The terminal, files and environments Coming soon
3 Python from ZeroWrite real programs. Only the Python that AI work actually uses. 7 episodes
- 3.1 Variables, types and printing Coming soon
- 3.2 Lists, dictionaries and loops Coming soon
- 3.3 Functions Coming soon
- 3.4 Classes and objects Coming soon
- 3.5 Packages, pip and uv Coming soon
- 3.6 NumPy: thinking in arrays Coming soon
- 3.7 Notebooks and plotting Coming soon
4 The Math of AI, VisuallyFrom school algebra to everything an LLM uses. Pictures first, symbols second. 9 episodes
- 4.1 Functions and graphs Coming soon
- 4.2 Vectors Coming soon
- 4.3 The dot product is similarity Coming soon
- 4.4 Matrices and matrix multiplication Coming soon
- 4.5 Derivatives Coming soon
- 4.6 The chain rule Coming soon
- 4.7 Probability and distributions Coming soon
- 4.8 Exponentials, logs and softmax Coming soon
- 4.9 Cross-entropy: measuring surprise Coming soon
Machine learning from the ground up. Build a neural network from scratch, move to PyTorch, then turn language into numbers.
Trained neural networks in PyTorch before? Skim to Module 8.
5 Machine Learning BasicsHow a program learns from examples instead of rules. 6 episodes
- 5.1 Learning from data Coming soon
- 5.2 Linear regression Coming soon
- 5.3 Loss functions Coming soon
- 5.4 Gradient descent Coming soon
- 5.5 Classification and logistic regression Coming soon
- 5.6 Overfitting and train/test splits Coming soon
6 Neural Networks from ScratchBuild a neural network with no libraries, so nothing is magic. 7 episodes
- 6.1 A single neuron Coming soon
- 6.2 Activation functions: ReLU, GELU Coming soon
- 6.3 Layers and the forward pass Coming soon
- 6.4 Backpropagation, drawn out Coming soon
- 6.5 Build an autograd engine Coming soon
- 6.6 Optimizers: SGD, momentum, Adam Coming soon
- 6.7 Initialization, normalization, regularization Coming soon
7 PyTorchThe tool real researchers and engineers use, now that you know what it hides. 6 episodes
- 7.1 Tensors, shapes and broadcasting Coming soon
- 7.2 Autograd in PyTorch Coming soon
- 7.3 nn.Module and the training loop Coming soon
- 7.4 Datasets, batches and data loaders Coming soon
- 7.5 Running on GPU and Apple MPS Coming soon
- 7.6 Debugging training Coming soon
8 Language as NumbersTurn text into something a network can predict. 7 episodes
- 8.1 From characters to tokens Coming soon
- 8.2 Byte-pair encoding (BPE) Coming soon
- 8.3 Embeddings Coming soon
- 8.4 Next-token prediction Coming soon
- 8.5 Bigram and n-gram models Coming soon
- 8.6 RNNs and why they weren't enough Coming soon
- 8.7 Sampling: greedy, temperature, top-k, top-p Coming soon
Build a GPT yourself, then see how modern LLMs differ, how labs train them, and how apps are built on them.
Know the transformer well? Start at Module 10.
9 The TransformerBuild the architecture behind every modern LLM, piece by piece. 9 episodes
- 9.1 Attention: the intuition Coming soon
- 9.2 Queries, keys and values Coming soon
- 9.3 Scaled dot-product and causal masking Coming soon
- 9.4 Multi-head attention Coming soon
- 9.5 The feed-forward block Coming soon
- 9.6 Residuals and layer norm Coming soon
- 9.7 Position: from sinusoids to RoPE Coming soon
- 9.8 Assembling GPT Coming soon
- 9.9 Counting parameters and FLOPs Coming soon
10 Modern LLM ArchitecturesWhat changed between GPT-2 and today's frontier open models. 6 episodes
- 10.1 GPT-2 to Llama: what changed Coming soon
- 10.2 Grouped-query and multi-latent attention Coming soon
- 10.3 Mixture of Experts Coming soon
- 10.4 Long context Coming soon
- 10.5 Reasoning models and test-time compute Coming soon
- 10.6 Reading a model card and config Coming soon
11 Training Real LLMsHow labs go from a tiny GPT to a frontier model. 9 episodes
- 11.1 Pretraining data Coming soon
- 11.2 Scaling laws Coming soon
- 11.3 Mixed-precision training Coming soon
- 11.4 Distributed training Coming soon
- 11.5 Supervised fine-tuning Coming soon
- 11.6 RLHF and DPO Coming soon
- 11.7 Reinforcement learning for reasoning Coming soon
- 11.8 LoRA and QLoRA Coming soon
- 11.9 Evaluating models honestly Coming soon
12 Building Apps with LLMsTurn a model into a useful product. 6 episodes
- 12.1 Embeddings and vector search Coming soon
- 12.2 Retrieval-augmented generation (RAG) Coming soon
- 12.3 Structured output Coming soon
- 12.4 Tool use and function calling Coming soon
- 12.5 Agents Coming soon
- 12.6 Evaluating LLM apps Coming soon
Inference engineering: serving LLMs fast and cheap, layer by layer, from the GPU chip up to production.
Already know how transformers work? You can start here.
13 How Inference WorksKnow exactly where the time and money go when a model runs. 9 episodes
- 13.1 The inference stack: three layers Coming soon
- 13.2 Prefill and decode Coming soon
- 13.3 The KV cache Coming soon
- 13.4 Latency metrics: TTFT, TPS, ITL Coming soon
- 13.5 Throughput vs latency Coming soon
- 13.6 Compute-bound vs memory-bound Coming soon
- 13.7 Calculating bottlenecks by hand Coming soon
- 13.8 Optimizing attention Coming soon
- 13.9 Budgets: picking a model for your app Coming soon
14 HardwareUnderstand the machine your model runs on. 6 episodes
- 14.1 Inside a GPU Coming soon
- 14.2 GPU generations: Ampere to Blackwell Coming soon
- 14.3 Interconnect: NVLink and InfiniBand Coming soon
- 14.4 Cloud instances and pricing Coming soon
- 14.5 Beyond NVIDIA: TPU, AMD, Trainium Coming soon
- 14.6 Local inference Coming soon
15 The Software StackFrom CUDA kernels up to inference engines. 8 episodes
- 15.1 CUDA and kernels Coming soon
- 15.2 Writing your first kernel Coming soon
- 15.3 PyTorch compilation and CUDA graphs Coming soon
- 15.4 Inference engines: vLLM, SGLang, TensorRT-LLM Coming soon
- 15.5 Continuous batching Coming soon
- 15.6 PagedAttention Coming soon
- 15.7 NVIDIA Dynamo Coming soon
- 15.8 Benchmarking and load testing Coming soon
16 Making It FastThe techniques that cut latency and cost in real systems. 7 episodes
- 16.1 Quantization: the idea Coming soon
- 16.2 Quantization in practice: FP8, INT4, FP4 Coming soon
- 16.3 Speculative decoding Coming soon
- 16.4 Prefix caching Coming soon
- 16.5 Tensor and pipeline parallelism Coming soon
- 16.6 Expert parallelism Coming soon
- 16.7 Disaggregated prefill and decode Coming soon
17 Beyond TextServing vision, speech, embeddings and image generation. 5 episodes
- 17.1 Vision language models Coming soon
- 17.2 Embedding models Coming soon
- 17.3 Speech to text Coming soon
- 17.4 Text to speech Coming soon
- 17.5 Image and video generation Coming soon
18 ProductionShip it, scale it, keep it up, and keep the bill down. 8 episodes
- 18.1 Containerizing a model Coming soon
- 18.2 Autoscaling and cold starts Coming soon
- 18.3 Multi-cloud GPU capacity Coming soon
- 18.4 Testing and zero-downtime deploys Coming soon
- 18.5 Client code: streaming, retries, timeouts Coming soon
- 18.6 Observability Coming soon
- 18.7 Cost engineering Coming soon
- 18.8 Where to go from here Coming soon