Arvind Nishad
Temperature, Top-k, Top-p and Min-p: What LLM Sampling Settings Actually Do
How a language model turns scores into one next token, what each sampling setting changes, and why the order they run in matters. Measured on a small model trained on this blog, plus what the current OpenAI and Anthropic SDKs say about these settings now.

·14 min read