Top-p (nucleus sampling)
A setting that limits the model's choice of next token to the smallest set of options whose combined probability reaches p, such as 0.9. Like temperature, it trades predictability for variety. Most guidance suggests adjusting one or the other, not both.
Guides that cover it
Related terms
A setting that controls how random a model's word choices are. Low temperature makes output more predictable and repet…
Test-time computeComputing power spent while answering a question rather than during training, for example by letting a model reason fo…
TokeniserThe component that splits text into tokens before a model sees it and joins tokens back into text afterwards. Tokenisa…
TransformerThe neural network design behind nearly all modern language models, introduced by Google researchers in the 2017 paper…
Unsupervised learningTraining on data without labels, where the model finds structure by itself, such as grouping customers with similar bu…
Vision-language modelA model that can reason about images and text together, for example describing a chart, reading a scanned form or answ…
Knowing the word is the easy part
A short assessment scores you across five skill areas and builds a path through 18 modules, skipping whatever you already know. Free, no card.
Find your level