Course map · S1 How LLMs work · Episode 1 of 12
One token at a time
Lesson complete
One token at a time
The rule to keep
Treat every model call as stateless and probabilistic: send the context it needs, and verify what it returns.
1 / 13
Lesson notes
What a large language model (LLM) actually does, and why every call starts fresh.
Decision rule
Treat every model call as stateless and probabilistic: send the context it needs, and verify what it returns.
Ideas in this lesson
- Tokens
- Next-token prediction
- Statelessness
- Probability
- Context