wild · hallucination trap & perturbation lab · WASM q8 · CC-BY-4.0

Hallucination Trap & Perturbation Lab

Stress-test whether an extractive QA model truly reads the evidence or guesses by pattern matching. Knock out key phrases — or edit words directly inside the live passage — to watch TinyRoBERTa-SQuAD2 (onnx-community/tinyroberta-squad2-ONNX, 82.14 MB q8, CC-BY-4.0) drop from ~99% span confidence to honest abstention in real time. Then run a multi-question sweep to paint a sentence-level Document Coverage Heat-Map.

1 · Initialise TinyRoBERTa-SQuAD2

2 · Live Evidence Knock-Out & Confidence Collapse

Initialise TinyRoBERTa-SQuAD2 above to run the baseline and live evidence knock-out lab.

Baseline (Original Passage)

—

—

Live Perturbed Passage

—

—

Confidence Shift (Δ) & Null P(<s>)

—

—

3 · Multi-Question Document Coverage Heat-Map

Ask a full battery of questions (one per line — including unanswerable traps) against the live passage above to highlight which sentences carry answerable evidence and which stay uncited.

Ready to compute sentence-level evidence coverage once TinyRoBERTa-SQuAD2 is initialised.

Sentences Cited—
Coverage Ratio—
Answered / Abstained—
Batch Time & NaNs—