use case · multi-model · OPUS-MT IT→EN (128.92 MB) → DeBERTa-v3 Zero-Shot NLI (87.25 MB) · ~216 MB ONNX · Apache-2.0 + MIT

IT → EN Translation & Zero-Shot Topic / Tone Preservation NLI Audit

Translate Italian customer tickets and notices into English and audit both topic routing and register/tone preservation on-device (~216 MB ONNX combined across two isolated Web Workers): Stage 1 runs OPUS-MT IT→EN (128.92 MB q8 WASM, Apache-2.0), then Stage 2 reuses DeBERTa-v3 Zero-Shot NLI (../../zero-shot-text/worker.js, Xenova/nli-deberta-v3-xsmall, 87.25 MB q8 WASM, MIT) with dynamic res.classNames 3-way NLI inspection.

1 · Workflow models (~216 MB ONNX · two isolated WASM workers)

Stage 1 · OPUS-MT IT→EN (128.92 MB)

Helsinki-NLP/opus-mt-it-en → Xenova/opus-mt-it-en · q8 WASM · Apache-2.0

Stage 2 · DeBERTa-v3 Zero-Shot NLI (87.25 MB)

Reuses ../../zero-shot-text/worker.js · Xenova/nli-deberta-v3-xsmall · q8 WASM · MIT

2 · Italian → English Translation + Topic & Tone Preservation NLI Audit

Curated Italian ticket & register presets
Drop an Italian .txt or .md file here, paste via clipboard, or upload a local file:
billing-refund

Prepare both workers above (or either stage independently) to run local IT→EN translation and Zero-Shot NLI audit.

Top topic queue—
Detected tone—
Preset match—
Numeric parity—
Stage 1 / Stage 2 ms—
NaN count—

Stage 1 · English Handoff (OPUS-MT IT→EN)

Waiting for Stage 1 (OPUS-MT IT→EN) translation…

Tokens: — · Latency: —

Stage 2 · Tone Preservation NLI Meter (DeBERTa-v3)

Waiting for Stage 2 (DeBERTa-v3 Zero-Shot NLI) Topic & Tone scores…

id2label: — · Latency: —

Stage 2 · Dynamic 3-Way NLI Probabilities (Topic Queues & Tone Axis)

Axis · Rank Hypothesis Label Score Entailment Neutral Contradiction
Run Stage 2 above to inspect dynamic 3-way NLI distributions.
Show the code — Reusing zero-shot-text/worker.js for Stage 2 Topic & Tone NLI
Show the code — Dynamic res.classNames 3-way NLI probability mapper

Stage 1: Helsinki-NLP/opus-mt-it-en → Xenova/opus-mt-it-en (128.92 MB q8 WASM, Apache-2.0). Stage 2: Xenova/nli-deberta-v3-xsmall (87.25 MB q8 WASM, MIT).