From text to tokens to predictions — the pipeline behind every AI chat, explained in plain English.
You are the language model. Given the context, what word comes next? 4 rounds — some have obvious answers, some are traps.
After reading trillions of words during training
An LLM understands the meaning of the words it generates.
When you type a prompt into ChatGPT
The model searches the internet to find an answer for you.
In the Transformer architecture
Self-attention allows each token to consider every other token in the sequence.
When choosing the next word to output
The model always picks the single most probable next token.
About the training process
RLHF (reinforcement learning from human feedback) costs more compute than pre-training.
About tokenisation
Each token always represents exactly one word.
Slide to see how temperature changes LLM output — from deterministic to creative.
Tap to check off each concept you have understood.