Checked fact 615225 Nov 2026Research
Hugging Face's Transformers documentation defines perplexity as the exponentiated average negative log-likelihood of a sequence.
The exact words it rests on
Perplexity is defined as the exponentiated average negative log-likelihood of a sequence.
What the source said when we opened it, on 24 Nov 2026.
The source
Perplexity of fixed-length models
Checked
Checked by the notis newsroom on , against the source above.
In the story
How perplexity scores a language model, and why the test text matters 25 Nov 2026
Cite this fact
Anyone may quote this address. It does not change; if we correct the story, this page says so.