Segue
Segue
Play
iOS
Generative AI·Professional & Legal
top-k sampling

top-k sampling

/ˌtɒp ˈkeɪ ˌsæmplɪŋ/

✨ Generative AI

Limiting word choices to the k most likely options

top-k sampling in a sentence

“Top-k sampling prevents the model from choosing unlikely tokens.”

Origin of top-k sampling

Modern English compound; top (highest) + k (mathematical variable) + sample from Latin exemplum

Related Words

chain of thought

Prompting technique that encourages step-by-step reasoning

retrieval augmented generation

Combining search results with generative AI for grounded responses

multimodal

AI capable of processing multiple types of input like text and images

zero-shot learning

Performing tasks without any task-specific training examples

few-shot learning

Learning from just a handful of examples

in-context learning

Learning patterns from examples provided in the prompt

SegueMaster the art of eloquence
iOS AppWord of the DayContactPrivacyTerms