Skip to content

Perplexity Calculator

Convert a language model’s cross-entropy loss into perplexity and bits per token. Perplexity is the exponential of the average per-token loss measured on held-out text.

Inputs

Loss

Results

Enter a value to see results.

Details

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?