the.ai

Evaluation / Metrics

verified

Perplexity

Perplexity asks how surprised a model is by text it has not seen. If it were choosing uniformly among 20 words at every step, its perplexity would be 20. Lower means less surprised, which usually means better — but only on the corpus it was measured against, and two perplexities computed on different text or different tokenizers are not comparable at all.

Viz primitive · loss-curvesteps = 1000 · params = 1
loss
step 01000

Loss over 1000 training steps, starting near 6.0. It falls to about 2.12, with 88% of the total improvement arriving in the first half.

Cross-entropy over a training run — perplexity is its exponential, so this curve is that number on a log scale. Drag model size to watch the floor fall.

1

Reviewed by opendroid · 2026-08-04

  • arXiv:1312.3005 — One Billion Word Benchmark for Measuring Progress in Statistical Language Modeling
  • arXiv:2101.00027 — The Pile: An 800GB Dataset of Diverse Text for Language Modeling