AlgoViz

From an example to a next-token prediction

easy 7 min

Generation is a sequence of conditional choices.

Trace the example

Follow the evidence through each stage, then test a change in the case.

Which word follows the delivery notice?

Which word follows the delivery notice?. Selected component: Prefix inside Message.
Open full-size diagram

Message

“Delivery arrives on”

The text ends before a weekday. Training examples have shaped likely continuations; no live shipping record has been consulted.

The customer asks for the actual delivery date. Which observation settles the question?

Change one vocabulary score

Monday 66.5% · Tuesday 24.5% · Friday 9.0%

Tuesday’s logit stays at 1 and Friday’s at 0. Changing one logit changes all three normalized probabilities.