Home/AI/ML Notes/GenAI and LLMs Summary/Sampling & Decoding Strategies
⌂ Main Page
GenAI and LLMs Summary

Sampling & Decoding Strategies

Deterministic vs. stochastic decoding, concrete examples, library integration, and when to use each.

On this page

Sampling - used during decoding (generation) phase of inference to choose next token after softmax.

Notes

Integration Details

When to Use Stochastic Sampling

When to Use Deterministic Sampling