Step 1 of 6· See the possibilities
See the possibilities
Several words could complete this sentence. Follow how a model’s predictions become one new word.
A token can be a word, part of a word or punctuation. Here we use four whole words. The context is the text before the next token.
A probability expresses a chance. For example, 60% means 60 chances out of 100 when sampling.
1 / 4 · Read the sentence
For our picnic, we packed …
What could come next?
sandwiches
umbrellas
telescopes
snow
Four possible next words
Start with the words already written
“For our picnic, we packed” is the context. Which word would you expect next?
Top choice always selects the largest probability. Sampling is a weighted draw: each candidate gets its stated chance, so a less likely token can be selected too.