One Token at a Time
Choose a Token. Then Go Again.
A generated sentence grows one token at a time. After a token is selected, it joins the context before the next probabilities are calculated.
- 1
Read the current context
→ - 2
Calculate candidate probabilities
→ - 3
Select and append one token
→ - 4
Repeat, or stop at the end marker
By the end of this lesson
You’ll trace how each selected token becomes part of the next prediction.