Practice
Learn
← Quit
0 / 0 correct
LLMs & AI
Hard
1 of 769
What is top-p (nucleus) sampling?
A
Sample from the top 50 tokens regardless
B
Penalize repeated tokens
C
Always pick the top token
D
Sample only from the smallest set of tokens whose cumulative probability reaches p, adapting the candidate count to the model's confidence