Multi-model · Twitter-RoBERTa (125.91 MB q8 · CC-BY-4.0) → DeBERTa-v3 Zero-Shot NLI (87.3 MB q8 · MIT) · 213 MB Total

2-Stage Social Triage: Sentiment × Zero-Shot Topic/Intent Matrix

Sentiment alone tells you how a user feels, not what team owns it. Stage 1 (cardiffnlp/twitter-roberta-base-sentiment-latest via Xenova/twitter-roberta-base-sentiment-latest, 125.91 MB WASM q8, CC-BY-4.0) classifies 3-way social sentiment, and Stage 2 (Xenova/nli-deberta-v3-xsmall, 87.3 MB WASM q8, MIT, reusing shared ../../zero-shot-text/worker.js) maps the post onto custom topic hypotheses (Bug Report, Feature Request, Pricing, Praise, Outage) into a live 3×5 Action Matrix offline (~213 MB combined).

1. Two Independent On-Device Models (~213 MB Combined)

Stage 1 · Twitter-RoBERTa Sentiment (125.91 MB WASM q8 · CC-BY-4.0)

Stage 2 · DeBERTa-v3 Zero-Shot Topic NLI (87.3 MB WASM q8 · MIT)

Pick a social mention preset or write your own post:

2. Live Sentiment × Topic Action Matrix

Triage verdict: Initialize both models above and score a mention to illuminate its Sentiment × Topic action cell.
Stage 1 Sentiment–
Net Polarity–
Stage 2 Top Topic–
Stage 1 / Stage 2 ms–
Stage 2 id2label order–
NaN logit check–
3 by 5 Sentiment by Topic triage matrix highlighting the live active cell
Sentiment \ Topic Bug Report Feature Request Pricing Praise Outage

Stage 1 · 3-Class Sentiment Probabilities

Run Stage 1 to inspect negative / neutral / positive scores.

Stage 2 · Dynamic NLI Topic Scores (res.classNames)

Stage 2 zero-shot NLI scores mapped dynamically from res.classNames
Topic Score Entailment Neutral Contradiction
Run Stage 2 to inspect NLI topic entailment.

3. Inspect Multi-Model Client & Dynamic NLI Mapping

Show the code · twitter-roberta.js — ZeroShotTopicClient (reusing ../zero-shot-text/worker.js)
Show the code · twitter-roberta-core.mjs — mapNliClassProbabilities() & classifySentimentTopicMatrix()