Glossary
Top-p sampling — Glossary
Nucleus sampling that limits token draws to a probability mass cutoff.
Also known as: nucleus sampling
Full definition
Top-p truncates the long tail of unlikely tokens. It interacts with temperature; tune jointly and evaluate rather than copying defaults blindly.