wild · 7 adversarial stress probes · negation flip · >384 doc_stride · CC-BY-4.0

Negation Flip, Distractor Traps & >384-Token doc_stride Stress Lab

Probe whether 24-layer BERT-Large WWM SQuAD 2.0 (onnx-community/bert-large-uncased-whole-word-masking-squad2-ONNX, 337.67 MB q8 WASM) collapses into honest [CLS] abstention under negation flips and entity traps, resists competing dates and numbers, and rescues buried tail facts past 384/512 tokens with overlapping doc_stride windows.

1 · Initialise BERT-Large WWM SQuAD 2.0

2 · 7-Probe Adversarial Stress Matrix (with Mid-Suite Cancel)

Every probe runs live on CPU WASM q8 — compare how SQuAD 2.0 [CLS] abstains on negation flips and unanswerable traps while rescuing >384-token haystacks via doc_stride.

idle

Initialise BERT-Large WWM SQuAD 2.0 above to run all 7 adversarial stress probes.

7-probe adversarial stress results for BERT-Large WWM SQuAD 2.0
Probe Question Extracted Span / Verdict Score / P([CLS]) Empirical Check Inspect
Run the 7 live probes above to populate adversarial stress measurements.

3 · Live Negation Flip & >384-Token doc_stride Sandbox

Pick a probe or edit the passage above to measure negation-flip abstention or doc_stride window rescue.

Live Passage Verdict

—

—

[CLS] Null Sink & Gap

—

—

Single-Pass vs doc_stride

—

—

Highlighted Sandbox Passage (CSS.highlights)

4 · Show the code

Show the code — worker.js 512-token single-pass vs overlapping doc_stride window comparison
Show the code — bert-large-wwm-core.mjs SQuAD 2.0 [CLS] null sink abstention decision