Basics · TweetEval 3-Class Probability Simplex · 125.91 MB WASM q8 · CC-BY-4.0

Inside 3-Class Sentiment — Emoji, Hashtag & @user/http Ablation Lab

Every cardiffnlp/twitter-roberta-base-sentiment-latest prediction lives inside the 3-class probability simplex (negative + neutral + positive = 1). Watch how adding or stripping emojis (🔥, ❤️, 😡), hashtags, and CardiffNLP @user/http normalization moves the post across a live barycentric triangle.

1. Interactive 3-Class Simplex & Feature Ablation

Append or test social tokens quickly:

Barycentric 3-Class Simplex Plot

Top vertex = 100% Neutral · Bottom-left = 100% Negative · Bottom-right = 100% Positive. Dashed path traces variants 1 → 5 live.

Live Simplex Metrics

Norm Polarity Shift–
Emoji Contribution–
Hashtag Contribution–
Batch Latency · NaN–

Run the 5-variant ablation to measure how much sentiment mass comes from emojis, hashtags, and @user/http normalization.

2. Ablation Variants Table (Raw vs Normalized vs Stripped)

Five-variant social text ablation comparing raw, normalized, emoji-stripped, hashtag-stripped, and bare prose outputs
# Variant Transformed Text Top Class Neg / Neu / Pos Net Polarity
Initialize the model above to compute all 5 simplex coordinates.

3. Inspect Barycentric Simplex & Ablation Source

Show the code · twitter-roberta-core.mjs — buildAblationVariants() & simplexToBarycentric()
Show the code · twitter-roberta.js — renderTernaryCanvas() (HiDPI theme-tokenized simplex)