Glossary

Softmax — Glossary

A function that converts logits into a probability distribution over classes or tokens.

Reviewed:

Full definition

Softmax is used in attention weights and output token distributions. Temperature modifies logits before softmax during sampling.

Related encyclopedia topic

Temperature — Temperature is a decoding parameter that scales next-token probabilities, influencing how deterministic or varied a language model’s outputs are.

← Back to glossary · Learning hub