Skip to continuation and entity auditor

Multi-model · 2 models · 2 Web Workers · 73.6 MB + 110 MB q8 WASM · Apache-2.0 + MIT

2-Stage Continuation & Entity Hallucination Auditor

Chains Stage 1: Pythia-70M-Deduped (generates a document continuation) with Stage 2: BERT-base NER (reusing ../../bert-ner/worker.js), then diffs entities found in the original prefix against entities in the full output to flag every newly invented person, organization, location, or misc name.

1 · Workflow models (~183.6 MB total)

Stage 1 · Pythia-70M-Deduped (73.6 MB)

Base causal text generation via ../worker.js (Xenova/pythia-70m-deduped, q8 WASM, Apache-2.0).

Stage 2 · BERT-base NER (110 MB)

CoNLL-2003 entity tagging reusing ../../bert-ner/worker.js (Xenova/bert-base-NER, q8 WASM, MIT).

2 · Generate continuation → audit newly invented entities

Download or initialise both models above, then click Generate & Audit Entities.

Prompt entities–
Grounded in gen–
Newly invented–
Invention rate–
Stage 1 (Pythia)–
Stage 2 (BERT-NER)–
Total pipeline–
PROMPT Entity present in your input prefix GROUNDED Entity repeated from prompt in continuation NEW Newly invented entity introduced by Pythia

Audited document stream

Run both stages to generate text and highlight newly invented entities.
# Entity text Class Audit status Confidence Char span
Run both stages to populate the CoNLL-2003 entity ledger.

See inside the code

Show the code — pythia.js: BertNerStageClient (reused ../../bert-ner/worker.js)
Show the code — pythia-core.mjs: auditContinuationEntities() (Grounded vs Newly Invented diff)