LANGUAGE MODEL EXPLORER

Prediction lab.

How does a tiny language model decide what comes next?

CHARACTER-LEVEL LANGUAGE MODEL

How does a tiny language model decide what comes next?

It does only one thing: guess the next character. Everything else is doing that again and again.

LIVE FORWARD PASS

Inside a prediction.

Follow your characters through the network and see how one becomes the next draw.

Loading checkpoint…

Prompt workspace

Model sees
Character token IDs
1.00
More predictableMore variety

Next character

TOP 5

Each bar shows a chance. Draw once to add one character to your prompt.

How many bits would a character cost?

0%25%50%75%100%
Waiting for the model…

Generate a passage

Start from your current prompt and sample one character at a time.

CONTEXT EXPERIMENT

Same character, different context.

Keep the length and final character the same. Change the earlier text and watch the two vectors separate through the layers.