mej7.comHow AI Works

Probability distribution

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

A list of nonnegative numbers that sum to 1. Softmax turns logits into one. Attention weights in a row are a distribution over positions.

In one paragraph. A list of nonnegative numbers that sum to 1. Softmax turns logits into one. Attention weights in a row are a distribution over positions.

Used in

Related terms

Full glossary