multi-model · Opus-MT AR→EN (110.88 MB q8 · Apache-2.0) → DeBERTa-v3 Zero-Shot NLI (87.25 MB q8 · MIT)
Arabic Support Ticket → English → DeBERTa-v3 Zero-Shot Triage
Stage 1 (Xenova/opus-mt-ar-en, 110.88 MB WASM q8,
Apache-2.0) translates incoming right-to-left Arabic customer support tickets locally
into English. Stage 2 (Xenova/nli-deberta-v3-xsmall, 87.25 MB WASM
q8, MIT, reusing shared ../../zero-shot-text/worker.js)
scores the English translation against custom NLI routing queues (~198.1 MB combined, 100% offline).
1 · Two Independent On-Device Models (~198.1 MB Combined)
Cross-lingual bridge: Each stage runs in its own isolated Web Worker with independent
Cache Storage auto-init, Release from memory, and Clear cache controls. Dynamic
res.classNames
mapping adapts automatically to DeBERTa-v3's id2label order.
Stage 1 · Opus-MT AR→EN (110.88 MB WASM q8 · Apache-2.0)
Stage 2 · DeBERTa-v3 Zero-Shot NLI (87.25 MB WASM q8 · MIT)
2 · Cross-Lingual Handoff & Zero-Shot Queue Scores
Top routed queue–
Top NLI score–
Stage 1 / Stage 2 ms–
Stage 1 NaN check–
Stage 2 id2label order–
Stage 1 Input · Arabic RTL Ticket
Select an Arabic support ticket preset above.
Stage 1 → Stage 2 Handoff · Translated English
Stage 1 (Opus-MT AR→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 ticket. | ||||||