Multi-model · DistilBERT Multilingual Sentiment (135.95 MB q8 · Apache-2.0) → DeBERTa-v3 Zero-Shot Topic NLI (87.3 MB q8 · Apache-2.0)
Global Voice-of-Customer Sentiment × Issue Topic Matrix
Chain two independent WASM models totaling 223.25 MB offline:
Stage 1 (Xenova/distilbert-base-multilingual-cased-sentiments-student,
135.95 MB q8, Apache-2.0) classifies 3-class multilingual polarity across 104 languages,
then Stage 2 (Xenova/nli-deberta-v3-xsmall, 87.3 MB q8,
Apache-2.0, reusing ../../zero-shot-text/worker.js with dynamic
res.classNames mapping) classifies VoC Issue Topic (Shipping & Delivery, Product Quality,
Pricing & Billing, Customer Support, App & UX).
1. Two Independent On-Device Models (223.25 MB Total)
Stage 1 · DistilBERT Multilingual Sentiment (135.95 MB WASM q8 · Apache-2.0)
Stage 2 · DeBERTa-v3 Zero-Shot Topic NLI (87.3 MB WASM q8 · Apache-2.0)
2. Global VoC Sentiment × Issue Topic Pipeline
Initialize both stages above to run the 223.25 MB Global VoC Sentiment × Issue Topic workflow.
VoC Triage Verdict: Run both stages above to pair multilingual polarity with issue topic.
Stage 1 Sentiment–
Net Polarity–
Stage 2 Top Topic–
Topic Score–
Stage 1 / Stage 2 ms–
Stage 2 id2label order–
Stage 1 · Multilingual 3-Class Probabilities
Run Stage 1 to inspect positive / neutral / negative probabilities.
Stage 2 · Dynamic 3-Way NLI Topic Logits (res.classNames)
Zero-shot NLI topic probabilities mapped dynamically from res.classNames
| Issue Topic |
Score |
Entailment |
Neutral |
Contradiction |
| Run Stage 2 to classify issue topic. |
3. Global VoC Sentiment × Issue Topic Matrix Log
Every completed 2-stage triage run appends or updates in the Sentiment × Topic log below.
Global VoC Sentiment by Issue Topic triage matrix rows
| Preset / Item |
Stage 1 Polarity |
Net Polarity |
Stage 2 Issue Topic |
Latency |
Review |
| Run the chained pipeline above to populate the VoC matrix. |
4. Inspect Reused Zero-Shot Client & Dynamic NLI Mapping
</>
Show the code · multiling-sentiment.js — ZeroShotTopicClient (reusing ../zero-shot-text/worker.js)
▸
</>
Show the code · multiling-sentiment-core.mjs — mapNliClassProbabilities() (dynamic res.classNames)
▸