Infographic: How sampling temperature flips greedy decoding vs sampling picks

cfregly · x · 2026-11-11

cfregly's illustrated series explains how temperature changes next-token selection: with the same distribution where Lori scores higher, T=0 greedy decoding deterministically picks Lori, while T=1 sampling from the original odds can unexpectedly pick Alice in a given draw.

Related event: Illustrating Sampling Temperature and Why LLM Outputs Are Non-deterministic(2 posts)→

Original post →

More from Models

Models channel →