Index Ai Academy

Temperature, top-k and top-p

Move them, and watch the odds change.

Try it yourself

What it shows

Three settings decide how a language model turns probabilities into words. Here the temperature and top-k sliders move, the odds change with them, and then the model samples 100 words.

This video has no sound.