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.
What you'll actually build
Three moments. Pick the one you want first.
- 12
Backprop, from scratch
Build micrograd one node at a time. Watch the gradient flow backward through a tanh, see how
Module 12 · Backpropagation →loss.backward()actually works. The keystone module of the course. - 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 → - 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.
Arc 0 Foundations
Safety floor. Skippable via diagnostic; anyone who can already factor a quadratic starts in calculus.
Arc 1 Prerequisite Math
Trig, calculus, linear algebra, probability, information theory. Every module ends with how it plugs into a transformer.
Arc 2 Machine Learning Foundations
Optimization, neural networks, backpropagation from scratch, training dynamics. The keystone arc, where micrograd gets built live.
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.
Arc 4 Capstone Build & Train
Tokenization, sampling, and a real training run that produces a model you keep.
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.