Wild · Multilingual Script, Obfuscated Email & >512-Token ModernBERT RoPE Stress Lab · MIT

Cross-Script, Obfuscation & >512-Token Long-Context Stress Lab

Classic 512-token BERT encoders silently drop PII past token 512. Because onnx-community/nym-pii-multilingual-ONNX uses unpadded ModernBERT RoPE attention up to 8,192 tokens, we can stress-test cross-script DE/FR/ES/JA entities, alice [at] obfuscation, fictional/code false-positive restraint, and live >512-token tail persistence in one browser tab.

1. Model Runtime & Interactive Stress Probe

0.50
Tokens–
Detected spans–
Latency–
NaN count–

Detected Highlights (Live)

Prepare Nym above to run live stress probes.

Surgical Redaction

Redacted output will appear here.

2. Live >512-Token Persistence vs Simulated 512-Token BERT Truncation

Feeds an ~880-token document containing head PII (tokens 1–20) plus tail PII past token 512 (Wolfgang Müller, DE89 3704 0044 0532 0130 00, +49 30 5550194). Compare Nym's full 8,192-token ModernBERT window against what a 512-token BERT encoder retains.

Document tokens–
Within 512-tok cap–
Past 512-tok tail–
Tail latency–

ModernBERT 8,192-Token Window (Live Tail Detections > 512)

Run the >512-token test above to inspect live tail detections.

512-Token Truncated View (Simulated Legacy BERT Cutoff)

Shows which tail spans would leak if truncated at 512 tokens.

3. Cross-Script & Stress Sweep Matrix

Live results across all 5 multilingual and adversarial stress probes
Probe Tokens Spans Latency Detected Types & Samples
Click Sweep All 5 Probes to populate the matrix.

4. Inspect Long-Context Probe Builder

Show the code — constructing the >512-token head + tail persistence probe in nym-core.mjs
Show the code — single-document worker inference with exceedsBert512 check in worker.js