Neural-network building blocks · MLD-0671

Log-softmax

The logarithm of softmax computed in a numerically stable form.

Original reference page · detailed expansion pending. Original definitions, examples, notes and citations are preserved below. New examples are illustrative, not benchmark results.

Original example

Calculate token log probabilities.

Original caveat

Computing log after a naive softmax can be less stable.

Context and aliases

Level: Intermediate. Stages: Training · Inference · Theory.

Tags: DL · SLM · LLM · Vision · NLP.

Aliases: None recorded.

Related concepts

Original references

Open original record, export or annotate →