Index Ai Academy
Glossary · Phase 1 · Building with LLMs

Sampling

Picking the next token at random according to the model's probabilities, instead of always taking the top one.

Learn it properly

What an LLM actually does · Next-token prediction, and why that produces useful behavior. About 25 minutes.

Start this free lesson

Other terms from the same lesson