wild Β· 7 empirical stress probes Β· do_lower_case: false Β· doc_stride Β· Apache-2.0

7-Probe Cased SQuAD v1.1 Stress Lab (Acronyms, ALL-CAPS & >512 Haystack)

Run 7 live stress probes through Xenova/distilbert-base-cased-distilled-squad: uppercase acronyms (NASA/GDPR/HIPAA), ALL-CAPS fragmentation collapse, SQuAD v2-style unanswerable forced-span traps, ambiguous duplicate entities, >512-token haystacks, currency/date disambiguation, and mixed-case symbols β€” with mid-suite Cancel.

1 Β· Initialise DistilBERT Cased SQuAD

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

Every probe runs live on CPU WASM q8 β€” compare how cased tokenization strengthens NASA/GDPR/iPhone while ALL-CAPS collapses span logits and SQuAD v1.1 forces a span on unanswerable questions.

idle

Initialise DistilBERT Cased SQuAD above to run all 7 stress probes.

7-probe empirical stress results for DistilBERT Cased Distilled SQuAD
Probe Question Extracted Span Score / Margin Empirical Verdict Inspect
Run the 7 live probes above to populate cased stress measurements.

3 Β· Live Cased / ALL-CAPS Sensitivity & >512-Token doc_stride Sandbox

Pick a probe or edit the passage above to measure cased sensitivity or sliding-window recovery.

Case Sensitivity (do_lower_case: false)

Original Casedβ€”
all lowercaseβ€”
ALL CAPSβ€”
Max Logit Driftβ€”

Single-Pass 512-Tok vs doc_stride

Single-Pass (≀512 tok)β€”
Sliding Window Bestβ€”
Windows / Raw Tokensβ€”
Finite Checkβ€”

Highlighted Sandbox Passage

4 Β· Show the code

Show the code β€” worker.js live cased vs lowercased vs ALL-CAPS logit probe
Show the code β€” worker.js 512-token single-pass vs sliding-window doc_stride pass