CONCEPT 62 / Large language models / Interactive study
Temperature, top-k, and top-p sampling.
Reshape the next-word roulette wheel using Temperature (creativity), Top-k (shortlist size), and Top-p (probability cutoff).
Candidate shortlist filter & probability roulette wheel
Begin with the loaded example. Change one control and watch the diagram and numbers update together.
62 / LIVE LABORATORYLoaded example
All calculations shown here run in the browser from the visible controls and bundled examples.
Inside the calculation
Why it matters
Low temperature makes answers predictable; higher temperature and Top-p let creative choices through while cutting off nonsense.
All calculations shown here run in the browser from the visible controls and bundled examples.