← All tools
EDTOOLKITS GUIDES

Compare surprise under one fixed model

By Team Edtoolkits · AI learning

Inspect per-word contributions before using a perplexity number to judge a sentence.

Use the guide alongside the working tool.

Open Perplexity: How Surprised Is the Model? →

Explore the lesson

Watch the surprise meter jump on an odd word.

Type or scramble a sentence and read its score.

Flip the memory card and answer the quick check.

A comparison to try

Compare a familiar corpus sentence with its reversed words, then try an unfamiliar word. Keep the toy model fixed and inspect the largest surprise contributions.

Read the result

Perplexity summarizes probabilities assigned to the sequence. Unusual order or vocabulary can raise it even when a person understands the text.

A mistake to avoid

Low perplexity is not a factuality or intelligence certificate. Comparisons across different models, tokenizers and corpora need care; this word-pair counter is not a modern LLM benchmark.

Teaching model and privacy

The model here is a tiny word-pair counter taught by ten made-up sentences, so its scores are for teaching only. Real models use tokens and far more text. Nothing leaves your browser.

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE