1. Home
  2. Artificial Intelligence
  3. Generative AI
  4. Which sampling strategy selects from the smallest set of…

Added 11 Nov 2026

Which sampling strategy selects from the smallest set of tokens whose cumulative probability exceeds a threshold?

  1. Greedy search
  2. Top-K sampling
  3. Top-P (nucleus) sampling Correct answer
  4. Beam search

Correct answer

C. Top-P (nucleus) sampling

10 views

MCQSEXAM

Explanation

Top-P (nucleus) sampling uses cumulative probability threshold. Source: GitHub (KaggleGeminiPromptEngineering), Q4.

Reference

Asked in: General

Preparing for an exam?

Doubts & discussion

Not sure why the answer is C? 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