WHAT IT SHOWS
From text to a prediction.
Tokenization, embedding lookup, attention, and MLP build the context used to predict a next token. Each step can be read at your own pace or played as a continuous lesson.
LAB 03 / HOW AN LLM GENERATES ONE TOKEN
What happens between a prompt and a prediction? Follow the representations through the model, then step back to inspect each idea.
LAB 03 / ANATOMY OF A TOKEN
Follow one prediction through the model, one idea at a time.
Conceptual illustration · no model is running
01 / PROMPT
Let’s follow what happens before the model generates the next token.
With this explainer focused: ← / → step · Space play/pause · R restart.
Next: Why an LLM doesn’t recompute every previous token. A follow-up is planned.
WHAT IT SHOWS
Tokenization, embedding lookup, attention, and MLP build the context used to predict a next token. Each step can be read at your own pace or played as a continuous lesson.
THE BOUNDARY
No model is running here. Token splits, IDs, vector cells, relevance strengths, and probabilities are illustrative. English feature descriptions are analogies for learned patterns in vectors.