One token at a time — a very well-read autocomplete.
A large language model doesn't plan a whole answer up front. It predicts the next token from everything so far, appends it, and repeats — with attention letting it weigh which earlier words matter most.
How each token appears
Tokenize. Text is split into subword tokens and mapped to numbers.
Embed. Each token becomes a vector encoding meaning and position.






