JT / SAGE IDEAS Work with me

Glossary · Evaluation

Perplexity

A measure of how surprised a language model is by a piece of text.

Perplexity is a number that says how surprised a language model was by a piece of text. Low perplexity means the model found the words predictable; high means the words caught it off guard. The catch: it only tells you how well the model predicts text, not whether that text is correct or useful.

Why it matters

It is one of the few eval numbers you can compute automatically, with no human and no judge model in the loop, so it is cheap to run on every checkpoint. That makes it great for catching regressions during training or fine-tuning: if perplexity on your held-out text suddenly jumps, something broke. It is a poor judge of a finished product, though, because a model can be fluent and confident while being confidently wrong.

How it works

You take text the model has never seen, feed it in, and ask the model what probability it assigned to each actual next word. Perplexity is the average of those probabilities, flipped so that lower is better. A perplexity of 10 roughly means the model was as unsure as if it were guessing between 10 equally likely words at each step. It only works on models that expose token probabilities, so it fits open-weight models better than a closed API.

Receipts · the newsletter

Receipts: AI engineering, with the evidence attached.

One real finding with its proof, one runnable lab, and one thing I would do differently. Weekly, Tuesday morning, a five-minute read.

required

Free. One email a week. Confirm first, unsubscribe in one click. How it works

Not ready to talk yet?

Get the AI release-readiness checklist

Eighteen checks to pass before an LLM feature meets a customer. The checklist is free and open: no email wall. Leave one email and I also send the sample evaluation report that goes with it. One email is all I ask for.

required

Inside the checklist: 18 checks, 5 groups

  • Ground truthwithout this, every other check is opinion3 checks
  • Measurement"it seems better" is not a metric4 checks
  • Safety batterythe failure modes that end up in screenshots5 checks
  • The gatea red eval that blocks nothing is decoration3 checks
  • Blast-radius controlautonomy is earned with evidence, never assumed3 checks

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions