How a model picks its words
A model does not pick one word. It scores every option, and then a dice roll picks. Temperature and top-p change the dice. Move them and see who gets a seat.
Start
The word lists and scores here are made up by hand to show the idea. A real model scores tens of thousands of options at every step, but the dice work the same way. Light bars show the odds from temperature alone. Solid bars show what is left after top-p cuts the long tail.