Chip Foundry Services Request Assessment

Sampling Temperature

Sampling temperature, as a single tunable control, lets an application adjust the balance between deterministic, reliable output and varied, creative output without changing any other decoding mechanism, making it one of the simplest and most commonly exposed decoding parameters in language model APIs. Its simplicity, a single scalar affecting the whole distribution uniformly, is both its main appeal and its main limitation relative to more targeted sampling restrictions like top-k or top-p that shape which specific tokens are eligible rather than only the overall sharpness of the distribution.