Skip to content

Logits

Raw output values of the model before applying softmax. For each possible token or class, a number-score that has not yet been converted into a probability.

Why the Name

Logits are the logarithms of odds, from which softmax makes a probability distribution. The higher the logit, the more confident the model is in the option.

Why It Matters

  • During sampling, temperature is applied directly to logits;
  • Debugging generation often looks at logits rather than probabilities.

See Also

← All Terms