LLM text generation
Turning a probability distribution into actual text: greedy decoding is deterministic but dull and error-compounding; temperature reshapes the distribution; top-k and top-p (nucleus) sampling cut the tail. These sampling knobs are the cheapest quality lever you own in production.