← All models Β· Stance detection

use case Β· multi-model Β· XLM-RoBERTa stance + DistilBERT SST-2

Stance + sentiment: two different axes

People conflate "this is positive" with "this agrees with me" β€” but they're orthogonal. Run stance (supports / refutes the claim) and sentiment (positive / negative tone) on the same text and plot both. The fascinating cases are the tensions: a warm, positive sentence that refutes the claim, or a blunt, negative one that supports it. Both models run locally; nothing leaves the tab.

Each model initialises on its own below (cached copies auto-start, no button). Note: stance is a heavy ~1.27 GB one-time download.

XLM-RoBERTa β€” stance (~1.27 GB)

DistilBERT SST-2 β€” sentiment (~65 MB)

step 1 β€” XLM-RoBERTa stance

Stance (toward the claim)

step 2 β€” DistilBERT SST-2

Sentiment (overall tone)

step 3 β€” the two axes

Where does it land?

Why this is the interesting part

Sentiment alone can't tell you whether a review agrees with "this is a great buy" β€” a glowing sentence can end in "…but don't buy it". Stance alone can't tell you the emotional temperature. Plot both and you get a 2Γ—2 where the off-diagonal β€” positive-but-refutes, negative-but-supports β€” is where naive tone-only analytics quietly go wrong. Two small local models, read together, separate how it feels from which side it's on.

← Stance detection Β· DistilBERT SST-2 β†’