1. Two Independent On-Device Models (~254.90 MB Combined)
Stage 1 · Twitter-RoBERTa Emotion (128.99 MB)
cardiffnlp/twitter-roberta-base-emotion → onnx-community/twitter-roberta-base-emotion-ONNX · q8 WASM (TweetEval mapping.txt corrected)
Stage 2 · Twitter-RoBERTa Sentiment (125.91 MB)
Reuses ../twitter-roberta-base-sentiment-latest/worker.js · Xenova/twitter-roberta-base-sentiment-latest · q8 WASM · CC-BY-4.0
Pick an alignment or divergence preset or write your own social post:
2. Live 4-Emotion × 3-Sentiment Alignment & Divergence Matrix
Alignment verdict: Initialize both models above and score a post to compare 4-class
emotion against 3-class sentiment polarity.
Stage 1 Emotion–
Stage 2 Sentiment–
Valence / Polarity–
Stage 1 / Stage 2 ms–
NaN check–
4 by 3 Emotion by Sentiment alignment and divergence matrix highlighting the active combination
| Emotion \ Sentiment |
Negative |
Neutral |
Positive |
Stage 1 · 4-Class Emotion (Twitter-RoBERTa Emotion)
Run Stage 1 to inspect joy / optimism / anger / sadness scores.
Stage 2 · 3-Class Sentiment (Sibling Twitter-RoBERTa Sentiment)
Run Stage 2 to inspect negative / neutral / positive scores.
3. Inspect Sibling Worker Client & Alignment Matrix
</>
Show the code · emotion-client.js — SiblingSentimentClient (reusing ../twitter-roberta-base-sentiment-latest/worker.js)
▸
</>
Show the code · emotion-core.mjs — alignEmotionAndSentiment()
▸