LLM Explained

Large language models, explained.

A free video course that starts from zero and goes all the way to running models in production.

Watch the mechanism move

No talking heads and no slides. Every idea is animated, so you see what actually happens inside.

One path, four levels

Start with no background at all. Finish knowing how models are built, trained and served.

  1. Beginner

    No coding or math needed to start. Ends with you writing Python and reading the math of AI.

    • Welcome & The Big Picture
    • Using LLMs Like a Pro
    • How Computers Run Code
    • Python from Zero
    • The Math of AI, Visually
  2. Intermediate

    How machines learn. You build neural networks from scratch, then turn text into numbers.

    • Machine Learning Basics
    • Neural Networks from Scratch
    • PyTorch
    • Language as Numbers
  3. Advanced

    Build a GPT yourself, understand modern LLMs, how they are trained, and how apps use them.

    • The Transformer
    • Modern LLM Architectures
    • Training Real LLMs
    • Building Apps with LLMs
  4. Expert

    Inference engineering: serving LLMs fast and cheap in production, layer by layer.

    • How Inference Works
    • Hardware
    • The Software Stack
    • Making It Fast
    • Beyond Text
    • Production

Every claim is checked

Each episode is fact-checked against primary sources before it's animated, and the fact-check is published under the transcript. Here is one thing it caught.

Read the episode 0.1 fact-check
The draft said
“Unbelievable” splits into unbelievable
What we found
In the middle of a sentence, GPT-4’s tokenizer treats “unbelievable” as one single token.
What the episode shows
“Unbreakable”, which really does split into unbreakable

Start here

Welcome & The Big Picture. See the whole journey, and what an LLM really is, before any details.

  1. 0.1 What happens when you press Enter The full trip of a prompt: text → tokens → model → one token at a time → your screen. Coming soon
  2. 0.2 AI, machine learning, deep learning, LLMs How these words relate, as nested circles, with one real example each. Coming soon
  3. 0.3 From ELIZA to ChatGPT The 60-year story: rules, statistics, neural nets, transformers, scale. Coming soon
  4. 0.4 Training vs inference Making a model once vs running it billions of times, and why both are hard. Coming soon
  5. 0.5 How to learn with this course The four levels, the hands-on builds, and how to avoid only watching. Coming soon