Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Research](https://md.research.elamur.ai/free/en/) · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/) · [OCR](https://md.ocr.elamur.ai/free/en/)

[Elamur Dictionary](https://md.dictionary.elamur.ai/free/en/) · [this page in HTML](https://dictionary.elamur.ai/free/en/english/softmax/)

[dictionaries](https://md.dictionary.elamur.ai/free/en/) / [English](https://md.dictionary.elamur.ai/free/en/english/) / softmax

# softmax

English · noun

## Senses

### Sense 1 · noun · corpus

corpus

A mathematical rule that turns a list of numbers into positive shares that add up to one, giving larger numbers larger shares.

Source: Mova's open texts. Licence: cc-by-sa-4.0.

## Forms and counts

### Noun

- Forms: softmax (Number: Sing); softmaxes (Number: Plur).

## Usage and labels

### corpus

Here, it is used in artificial intelligence calculations to assign weights or probabilities.

## Examples

3 source examples.

- The un-embedding layer is a linear-softmax layer:\\mathrm{UnEmbed}(x) = \\mathrm{softmax}(xW + b)The matrix has shape (d\_{\\text{emb}}, \|V\|). — [Wikipedia: Transformer (deep learning)](https://en.wikipedia.org/wiki/Transformer_%28deep_learning%29) (Wikipedia contributors). Licence: [cc-by-sa-4.0](https://creativecommons.org/licenses/by-sa/4.0/). — Mova's open texts (cc-by-sa-4.0)
- \\begin{align} \\text{Attention}(Q, K, V) = \\text{softmax}\\left(\\frac{QK^\\mathrm{T}}{\\sqrt{d\_k}}\\right)V \\end{align} where the softmax is applied over each of the rows of the matrix. — [Wikipedia: Transformer (deep learning)](https://en.wikipedia.org/wiki/Transformer_%28deep_learning%29) (Wikipedia contributors). Licence: [cc-by-sa-4.0](https://creativecommons.org/licenses/by-sa/4.0/). — Mova's open texts (cc-by-sa-4.0)
- \\begin{align} \\text{MaskedAttention}(Q, K, V) = \\text{softmax}\\left(M + \\frac{QK^\\mathrm{T}}{\\sqrt{d\_k}}\\right)V \\end{align} The following matrix is commonly used in decoder self-attention modules, called "causal masking": — [Wikipedia: Transformer (deep learning)](https://en.wikipedia.org/wiki/Transformer_%28deep_learning%29) (Wikipedia contributors). Licence: [cc-by-sa-4.0](https://creativecommons.org/licenses/by-sa/4.0/). — Mova's open texts (cc-by-sa-4.0)

## Notes and derived forms

### corpus

## Sources

Mova's word records: counts from Mova's corpus index, word lists from Wiktionary and Mova's concept inventory. Licence: cc-by-sa-4.0.

Mova's open texts. Licence: cc-by-sa-4.0.

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://dictionary.elamur.ai/sitemap.xml) · [llms.txt](https://dictionary.elamur.ai/llms.txt)
