Interactive explainer

How a language model writes, one word at a time

It doesn't plan the whole sentence. It looks at the words so far, gives every possible next word a probability, picks one — and repeats.

The model's output so far Step 0 of 9

Possible next words probabilities add up to 100 %
Temperature 1.00
careful · lowhigh · creative