Perplexity measures how well a language model predicts a sequence. Lower values indicate less predictive uncertainty and generally better fit for the evaluated data. section 4.1.4 section 8.5
Evaluation workflows use related metrics for different prediction units:
- Word perplexity measures prediction over words. section 4.1.4
- Byte perplexity measures prediction of the next byte from preceding bytes. section 4.1.4
- Bits per byte reports the average number of bits needed to predict the next symbol. section 4.1.4
- For generated proteins, lower perplexity supports higher-quality output, but biological validation still requires domain-specific tools. section 8.5
Language-model evaluation
An LM-Eval wikitext run for GPT-Neo 2.7B reports word perplexity 13.9382, byte perplexity 1.6367, and bits per byte 0.7108. section 4.1.4
hf-causal (pretrained=EleutherAI/gpt-neo-2.7B,dtype=float16), limit: None, provide_description: False, num_fewshot: 0, batch_size: None | Task |Version| Metric | Value | |Stderr| |--------|------:|---------------|------:|---|------| |wikitext| 1|word_perplexity|13.9382| | | | | |byte_perplexity| 1.6367| | | | | |bits_per_byte | 0.7108| | |
Inspect a tabular LM-Eval result showing perplexity alongside related prediction metrics. section 4.1.4




