Interactive lab lets you pick the next token yourself to demo sampling, temperature, top-k, top-p

CurieuxExplorer · x · 2026-09-28

The author shares an interactive "LM lab" webpage: type anything and pick the next word yourself to experience how sampling, temperature, top-k, and top-p actually work. Note: the probabilities shown are illustrative, not from a real model, but the mechanics are accurate.

Original post →

More from Research

Research channel →