use case Β· basics Β· mDeBERTa-v3 PII (60 classes) Β· WASM Β· q8 Β· ~143 MB

60-Class BIO Token & Confidence Inspector

Look underneath the redaction switch. Every forward pass of phatvo/deberta_finetuned_pii-ONNX emits raw SentencePiece subword BIO tags (B-* / I-*) with per-token probabilities and no character offsets. Run one pass below, then slide the confidence threshold or switch between Highlight, [CATEGORY], Partial mask, Pseudonyms, and Blackout live β€” zero re-inference needed.

1 Β· Model, domain presets & live redaction controls

Prepare mDeBERTa-v3 PII above to inspect subword BIO tags and span offsets locally.

0.50

Re-filters merged spans and re-renders redactions instantaneously without re-running ONNX.

Output view / redaction strategy

2 Β· Span inspection, offsets & raw SentencePiece BIO tags

Spans kept / raw–
BIO subwords–
Categories hit–
Exposure score–
Latency–
BackendWASM Β· q8

Merged PII spans (click any highlight above to spotlight its row)

# Exact substring Category Group Confidence Char offsets Tokens Redacted preview
Run BIO inspection above to inspect merged spans, offsets, and redaction previews.

Raw SentencePiece BIO subword tokens (cursor-walk offsets)

Each chip displays the raw subword token (including leading ▁ word-start markers), its B-/I- tag, token probability, and monotonic cursor-walk character range.

60-category taxonomy reference (9 groups β€” matched categories highlighted)

3 Β· Inside the worker pipeline & BIO span stitcher

Inspect the exact transformers.js pipeline lifecycle in worker.js and the cursor-walk offset mapper + BIO span merger in pii-core.mjs.

Show the code β€” Coalesced worker load with epoch cancellation guard
Show the code β€” Token-classification inference + BIO span assembly
Show the code β€” Monotonic cursor-walk character offset alignment
Show the code β€” Consecutive B-/I- run merger & punctuation trimming