Capital One logoCapital One
Coding·60 minMembers

ML Coding: Top-P (Nucleus) Sampling

Members only

Applied Researcher Tech Interview 1, second problem. Given a probability distribution over a vocabulary and a threshold `p`, sample from the smallest set of top tokens whose cumulative probability is ...

RS
MLE
ml-knowledge
sampling
llm
numpy
numerical-stability
medium
Frequency
Single report
Last asked
2026-01-19
Stage
onsite-coding · onsite-research

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...