The AI Lab

Five live instruments. Everything runs in your browser, nothing is sent anywhere. The three core labs count toward unlocking the quiz; the two bonus labs are pure wonder.

LAB 01 · REQUIRED

Text becomes numbers

A model never sees your words. Type anything and watch it get chopped into tokens, each one just a number to the machine.

YOUR TEXT➞TOKENS➞NUMBERS➞THE MODEL
Words 0  ·  Tokens 0  ·  rule of thumb: tokens ≈ words × 4/3
LAB 02 · REQUIRED

The prediction engine

This tiny model read a few paragraphs and counts what follows what. Watch its top bets update live as you type, the exact game ChatGPT plays with trillions of words.

Its continuation streams here. Cold temperature plays it safe; hot temperature gambles.
TRAINED
LAB 03 · REQUIRED

The training chamber

Green dots are data. Your model is three dials. Drag them to cut the error, then press auto-train and watch gradient descent walk downhill, the same loop that trains every frontier model, at 1/100,000,000,000th the size.

EPOCH0
LOSS-
STATEuntrained
LAB 04 · BONUS

Attention, live

The transformer's superpower. Hover any word and watch golden beams show where the model looks while reading it. Try the word "it".

LAB 05 · BONUS

Word math

Inside a model, words are points in space, and meaning is geometry. The most famous trick in AI: take king, subtract man, add woman, and the nearest word is queen. Watch it happen.

Real models place words in a space of thousands of dimensions; this map is a two-dimensional sketch of the same idea. It is why models grasp analogy, tone, and relationship, not just spelling.
Part of Course 01 · Intro to AI · Cambium Academy · free forever