At each step the model assigns mass to every token, then you draw. GreedyGreedy decoding: picking the single highest-probability token at every step, with no search over alternative paths., temperatureA scalar that rescales a model’s logits before the softmax. Values below 1 sharpen the distribution toward the top tokens; values above 1 flatten it toward the tail., top-pNucleus sampling. Sorts tokens by probability and samples from the smallest set whose cumulative mass passes a threshold p, so the pool size adapts to the shape of the distribution instead of staying fixed., constrained decodingRestricting which tokens can be sampled at each step, with a grammar or schema, so the output is guaranteed to be well-formed.: those are policies over a distribution. There is no hidden true answer behind the softmaxThe function that turns a vector of logits into a probability distribution: exponentiate each score and divide by the sum, so the outputs are positive and add to 1.. Hallucination is mass on a fluent lie. Useful variation is mass you wanted. Calibration is whether “0.8” means 80% on a held-out set.
Accuracy is specified as a distribution, a decoding policy, and a verification procedure. TemperatureA scalar that rescales a model’s logits before the softmax. Values below 1 sharpen the distribution toward the top tokens; values above 1 flatten it toward the tail., schemas, and evaluations follow from that specification rather than from ad hoc preference.