Skip to content
- Home
- Artificial Intelligence
- Generative AI
- What is "top-K" sampling?
What is "top-K" sampling?
-
A
Selecting from all tokens
-
B
Selecting from the K most likely tokens
Correct answer
-
C
Selecting the single best token
-
D
Selecting random tokens
Correct answer
B. Selecting from the K most likely tokens
9 views
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
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ
Need help? Find an MCQ, a short question, a test or your certificate. Just ask.