Video explainer: how an LLM picks the next token, with real Qwen2.5 probabilities
A seven-minute video walks through softmax, greedy versus sampling, temperature, top-k and top-p using real probabilities from Qwen2.5-0.5B-Instruct. It also covers why even temperature 0 can vary on servers, citing batch-size-dependent floating-point…
Why it matters
A clear refresher on sampling parameters engineers tune every day.
What happened
1 min readA seven-minute video walks through softmax, greedy versus sampling, temperature, top-k and top-p using real probabilities from Qwen2.5-0.5B-Instruct. It also covers why even temperature 0 can vary on servers, citing batch-size-dependent floating-point addition order.
Our analysis
Nothing new is discovered, but grounding every step in real model outputs makes it better than most explainers. Useful for newcomers or anyone fuzzy on top-k versus top-p; experienced practitioners can skip it.