How This Tool Works
This playground allows you to move beyond simply accepting an LLM's output and instead, understand the mathematical mechanics behind it. At its core, we simulate how different sampling parameters manipulate the raw probability distribution of possible next tokens.
You can observe three key levers: Temperature (controlling randomness), Top-k (limiting choices to the top K tokens), and Top-p (cumulative probability mass). By adjusting these sliders, you watch the probability chart reshape in real-time. The optional model inspection feature provides deep visibility into actual logprobs, ensuring that all calculations remain 100% private within your browser.