Stage 1 · English Handoff (OPUS-MT PL→EN)
Tokens: — · Latency: —
use case · multi-model · OPUS-MT PL→EN (111.50 MB) → DistilBERT SST-2 (67.58 MB) · ~179 MB ONNX · Apache-2.0
Translate Polish customer support tickets and reviews into English and triage sentiment polarity on-device
(~179 MB ONNX / ~186 MB first visit across two isolated Web Workers):
Stage 1 runs OPUS-MT PL→EN (111.50 MB q8 WASM, Apache-2.0),
then Stage 2 reuses
DistilBERT SST-2 English
(../../distilbert-base-uncased-finetuned-sst-2-english/worker.js,
Xenova/distilbert-base-uncased-finetuned-sst-2-english, 67.58 MB q8 WASM,
Apache-2.0) to score POSITIVE vs NEGATIVE logits, margin, and priority escalation.
Helsinki-NLP/opus-mt-pl-en → Xenova/opus-mt-pl-en · q8 WASM · Apache-2.0
Reuses ../../distilbert-base-uncased-finetuned-sst-2-english/worker.js · Xenova/distilbert-base-uncased-finetuned-sst-2-english · q8 WASM · Apache-2.0
.txt or .md ticket file here, paste via clipboard, or upload a local file:
Prepare both workers above (or either stage independently) to run local PL→EN translation and DistilBERT SST-2 English triage.
Tokens: — · Latency: —
WordPiece tokens: — · Entropy: — · Latency: —
| Preset | English Translation | SST-2 Verdict | Margin |Δz| | Triage Route | Total ms |
|---|
Stage 1: Helsinki-NLP/opus-mt-pl-en → Xenova/opus-mt-pl-en (111.50 MB q8 WASM, Apache-2.0).
Stage 2: distilbert/distilbert-base-uncased-finetuned-sst-2-english → Xenova/distilbert-base-uncased-finetuned-sst-2-english (67.58 MB q8 WASM, Apache-2.0).