Top-k

Sampling only from a specified number of most probable tokens.

Practical example

With k=1 the most probable token is selected.

AI glossary · Poiskom

All guides