Skip to content
World 3 · Guessing the Next Word · 10 min · PRO

Top-k, top-p and sampling

Choosing a word

PRO · How AI Works

World 3: Guessing the Next Word is part of PRO

The first world of How AI Works is free. PRO opens the other 24 lessons in 6 worlds — simulations, quizzes and all.

  • From scores to odds
  • Temperature
  • Learning by guessing
  • What goes into the training data
  • Teaching it to follow instructions
PRO includes
  • All 60 labs — every world, every lesson
  • Practice exams and certificates

$8.33/mo, billed yearly ($99.99) · or $39.99 monthly

My notes
Only saved in this browserAll my notes →

Report a mistake

What is wrong?
0 / 2000 · at least 10 characters
Sent along with your report
  • Page
  • About Top-k, top-p and sampling — How AI Works · llm/top-k-top-p
Plus your browser type. Reports go to our support system; see the privacy notice.