1. Home
  2. Artificial Intelligence
  3. Generative AI
  4. What is "top-K" sampling?

Added 11 Nov 2026

What is "top-K" sampling?

  1. Selecting from all tokens
  2. Selecting from the K most likely tokens Correct answer
  3. Selecting the single best token
  4. Selecting random tokens

Correct answer

B. Selecting from the K most likely tokens

9 views

MCQSEXAM

Explanation

Top-K sampling restricts token selection to the K most likely tokens. Source: General LLM knowledge (aligned with FBISE curriculum).

Reference

Asked in: General

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Generative AI MCQs

Practise all Generative AI MCQs

Similar MCQs