Skip to content

Wild · Adversarial Tokenization & BIO-Flip Stress Suite · Uncased WordPiece 30,522 Vocab

Uncased, Hyphen, URL & Noisy-ASR Stress Suite

NeuroBERT-NER runs an uncased 2-layer BERT (do_lower_case: true). Probe how casing collapse, hyphenated compounds, embedded URLs/emails, and punctuation-free ASR transcripts fracture WordPiece subwords (##) and flip BIO tags in real time.

1. 8-Probe Adversarial Baseline vs Perturbed Suite

Initialise NeuroBERT-NER above to benchmark uncased, hyphen, URL, and noisy-ASR BIO stability.

Probes run–
Mean span F1–
Total BIO flips–
Dropped spans–
## subword delta–
Suite ms / NaN–
8 adversarial probes measuring span retention F1, subword splits, and BIO tag flips
Category Probe Baseline → Perturbed Spans ## Splits Retention F1 Observed Flips / Drops
Initialise the model above to run all 8 adversarial tokenization probes.

2. Interactive Perturbation Sandbox (Live Side-by-Side Diff)

Edit any sentence, pick an adversarial transform, and compare baseline vs perturbed BIO annotations live.

Ready

Baseline Entities

Run comparison to inspect baseline entities.

Perturbed Entities

Run comparison to inspect perturbed entities.

3. Span-Retention & BIO-Flip Scoring Implementation

Show the code · neurobert-core.mjs — computeSpanOverlapMetrics() (exact F1 & BIO flip detector)