β All models Β· Stance detection
use case Β· multi-model Β· XLM-RoBERTa stance + DistilBERT SST-2
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
step 2 β DistilBERT SST-2
step 3 β the two axes
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.