Skip to main content

Learn how AI models work

A learning path in plain language: start with the basics, work up to the advanced machinery, then step into the model lab and play with real (tiny) models in your browser. Read in order or jump to the one you came for.

Play with a real model now

The model lab holds tiny models that run in your browser. You can train one yourself and watch it work, starting with the three below.

See all 11 labs further down the page

The lab course

The ten labs in the order they build on each other. Weights come first because everything else needs them; after that, vision, training, and language run in parallel. Follow an arrow or jump anywhere you like.

How do neural networks classify images?Step 2 of 11. Prerequisites unfinished. Comes after How do neural network weights work?.
What is gradient descent?Step 3 of 11. Prerequisites unfinished. Comes after How do neural network weights work?.
How do LLMs predict the next word?Step 4 of 11. Prerequisites unfinished. Comes after How do neural network weights work?.
What happens if you set the weights yourself?Step 5 of 11. Prerequisites unfinished. Comes after How do neural networks classify images?.
How do AI models generate images?Step 6 of 11. Prerequisites unfinished. Comes after How do neural networks classify images?.
How do neural networks recognize digits?Step 7 of 11. Prerequisites unfinished. Comes after How do neural networks classify images?.
How do you train a neural network?Step 8 of 11. Prerequisites unfinished. Comes after What is gradient descent?.
How do word embeddings predict the next word?Step 9 of 11. Prerequisites unfinished. Comes after How do LLMs predict the next word?.
How do position and attention make language models grammatical?Step 10 of 11. Prerequisites unfinished. Comes after How do word embeddings predict the next word?.
Why do neural networks need more than one hidden layer?Step 11 of 11. Prerequisites unfinished. Comes after How do neural networks recognize digits?.

Model vs. model

Direct comparisons of the big-name models now live in the guides, along with the best-for-your-task picks.

Read the model guides →

The model lab

Tiny models small enough to see through, running in your browser. Meet Doodle-15, Doodle-64, Doodle-64R, Doodle-525, Doodle-918, Parrot-43, Parrot-2D, and Finch-4, then scale the same ideas up to billion-parameter LLMs.

The model lab · Part 1

How do neural network weights work?

The tiny dials that make neural networks learn anything.

The model lab · Part 2Doodle-64

How do neural networks classify images?

Meet Doodle-64, a 64-parameter classifier that tells 3 from E and works exactly like the big models.

The model lab · Part 3Doodle-15

What happens if you set the weights yourself?

Meet Doodle-15. This model is small enough that you can set all fifteen of its weights by hand, and then watch training find its own.

The model lab · Part 4Doodle-64R

How do AI models generate images?

Meet Doodle-64R. You can ask it to draw a 3 or an E, and it builds the picture by running the classifier backward.

The model lab · Part 5Doodle-525

How do neural networks recognize digits?

Meet Doodle-525: draw any digit and watch its hidden layer find the strokes before it names the number.

4
The model lab · Part 6

What is gradient descent?

Choose the starting noise, train Doodle-64 in your browser, then test the weights it learned.

The model lab · Part 7

How do you train a neural network?

You are the teacher: label the drawings, then watch the model turn your answers into weights.

The model lab · Part 8Parrot-43

How do LLMs predict the next word?

Meet Parrot-43, a language model trained on nine sentences. Watch it predict the next word and see exactly where every prediction comes from.

The model lab · Part 9Parrot-2D

How do word embeddings predict the next word?

Meet Parrot-2D. This is a model that gives every word two numbers you can read, one for how friendly it is and one for whether it is a person or a verb. You can watch it predict the next word right on a map of those two meanings.

The model lab · Part 10Finch-4

How do position and attention make language models grammatical?

Meet Finch-4. This is a model that adds a position signal and a small attention head to Parrot-2D, so it can build a subject, verb, object sentence.

The model lab · Part 11Doodle-918

Why do neural networks need more than one hidden layer?

Meet Doodle-918. This is a model that can see loops and curves, and can interpret these into digits. You can draw a digit and watch how the different shapes become an answer.