Activity v1

Sampling and Decoding Explorer

Explore how temperature and top-p reshape a fixed token distribution.

percentage
beginner
seed 11

Sampling and Decoding Explorer: Baseline

Explore the core controls with stable inputs and visible assumptions.

Assumptions

The simulation is deterministic and intentionally simplifies provider and hardware behavior.

Failure injection

Stable baseline with no injected production fault.

Fixed next-token distribution

The logits are fixed. Temperature rescales them; top-p includes tokens by cumulative probability. No random token is sampled.
evidence
45.2%
context
27.4%
answer
16.6%
guess
6.8%
maybe
4.1%
0 saved attempts

Expected outcomes

  • Compare deterministic and stochastic decoding
  • Explain probability truncation

Connected concepts