1. Two Independent On-Device Models (~176 MB Combined)
Cross-lingual bridge: Each stage runs in its own isolated Web Worker with
independent Cache Storage auto-init and memory Release controls. Releasing Stage 1 frees
MarianMT while keeping Stage 2 live (and vice versa).
Stage 1 · Opus-MT DE→EN (106.0 MB WASM q8 · Apache-2.0)
Stage 2 · DeBERTa-v3 Zero-Shot NLI (70 MB WASM q8 · MIT)
2. Cross-Lingual Handoff & Zero-Shot Intent Scores
Top routed queue–
Top NLI score–
Stage 1 / Stage 2 ms–
Stage 1 NaN check–
Stage 2 id2label order–
Stage 1 Input · German Document
Select a German ticket preset above.
Stage 1 → Stage 2 Handoff · Translated English
Stage 1 (Opus-MT DE→EN) translation will appear here and feed Stage 2.
Stage 2 · Dynamic 3-Way NLI Routing Scores (from res.classNames)
| Rank | Routing Queue / Intent | Score | Confidence | Entailment | Neutral | Contradiction |
|---|---|---|---|---|---|---|
| Run the full pipeline above to classify the translated English text. | ||||||