1. Two Independent On-Device Models (~84.7 MB Combined)
Zero-PII Stage Boundary: Both models execute in isolated Web Workers with
independent loaders and memory Release controls. Stage 2 never sees raw customer text — only
the sanitized output produced by Stage 1.
Stage 1 · Rampart PII (14.69 MB WASM q4 · CC-BY-4.0)
Stage 2 · DeBERTa-v3 Zero-Shot NLI (70 MB WASM q8 · MIT)
2. Redaction Firewall & Zero-Shot Compliance Triage
Stage 1 PII redacted–
Top compliance class–
Top NLI score–
Stage 1 / Stage 2 ms–
Stage 2 id2label order–
Stage 1 · Local PII Detection (Stays on Device)
Run Stage 1 (Rampart PII) to highlight detected personal identifiers.
Firewall Handoff · Sanitized Payload Sent to Stage 2
Only this redacted payload is passed to DeBERTa-v3 Zero-Shot NLI.
Stage 2 · Dynamic 3-Way NLI Compliance Scores (from res.classNames)
| Rank | Compliance Category | Score | Confidence | Entailment | Neutral | Contradiction |
|---|---|---|---|---|---|---|
| Run the full pipeline above to classify the redacted payload. | ||||||