Word of the Day

Thursday, July 16, 2026

top-k sampling

top-k sampling

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

Limiting word choices to the k most likely options

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

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