In top-p (nucleus) sampling, the model chooses the next token from:
Correct answer
A. The smallest set whose combined probability reaches p
17 views
A. The smallest set whose combined probability reaches p
17 views
Nucleus sampling adapts the candidate pool to the model's confidence: few tokens when it is sure, more when it is uncertain. Top-k uses a fixed number of candidates instead.
Asked in: AI Engineer Interviews, GATE DA
Not sure why the answer is A? Ask here and get an explanation.