mej7.comHow AI Works

Softmax temperature (attention)

Author: Mehdi Sadriu, independent educator. Last reviewed: 25 November 2026. How we check claims: methodology.

In attention, scaling by 1/√d_k is a fixed temperature-like factor, not a user sampling knob. Do not confuse it with generation temperature.

In one paragraph. In attention, scaling by 1/√d_k is a fixed temperature-like factor, not a user sampling knob. Do not confuse it with generation temperature.

Used in

Related terms

Full glossary