Tinker the apple, the mascot of Tinker

Learn by playing with the math.

Drag a letter. Watch the constellation react. That's not a decoration. It's the core idea behind embeddings, the foundation of every modern AI model. Tinker teaches the math underneath machine learning by letting you touch it.

Every dot is a letter's learned position. Drag any of them and the loss climbs as you pull a letter away from where training put it. Red dots are vowels, blue are common consonants.

What you'll actually build

Three moments. Pick the one you want first.

  1. 12

    Backprop, from scratch

    Build micrograd one node at a time. Watch the gradient flow backward through a tanh, see how loss.backward() actually works. The keystone module of the course.

    Module 12 · Backpropagation →
  2. 15

    Attention, as a soft dictionary

    The thing you played with up top is an embedding, the foundation of attention. Drag a query vector, watch it pivot toward the right keys. Build the math behind the T in GPT.

    Module 15 · Attention →
  3. 18

    A real transformer, in your browser

    Capstone: 4 layers, 4 heads, ~200k params. Trains in ~5 minutes on WebGPU. Generates Shakespeare-flavored nonsense. Yours to keep.

    Module 18 · Capstone →

The whole course

Every lesson. One continuous climb.

From f(x) = x² to a transformer you train yourself. Open any module to see its lessons. Sign in and the map lights up with what you've finished.

5arcs
19modules
92lessons
~28hof interactive math
  1. Arc 0

    Foundations

    Safety floor. Skippable via diagnostic; anyone who can already factor a quadratic starts in calculus.

    3 modules · 11 lessons · ~5h

  2. Arc 1

    Prerequisite Math

    Trig, calculus, linear algebra, probability, information theory. Every module ends with how it plugs into a transformer.

    7 modules · 34 lessons · ~10h

  3. Arc 2

    Machine Learning Foundations

    Optimization, neural networks, backpropagation from scratch, training dynamics. The keystone arc, where micrograd gets built live.

    4 modules · 20 lessons · ~6h

  4. Arc 3

    Sequence Models & Transformers

    Bigrams, RNNs, attention, the transformer block. By the end of this arc you've built a transformer architecture in-browser.

    3 modules · 17 lessons · ~4h

  5. Arc 4

    Capstone Build & Train

    Tokenization, sampling, and a real training run that produces a model you keep.

    2 modules · 10 lessons · ~3h

There's a math underneath every model. You can touch it.

Five arcs, nineteen modules, ninety-two lessons, free in your browser. From f(x) = x² to a transformer you train yourself on the GPU in your laptop.