How a language model writes,
one word at a time

The model reads the sentence so far, gives every possible next word a probability, picks one, and repeats. Step through a real example — and drag the temperature to see how creative it gets.

The sentence

What comes next?