Wild · Sarcasm, Double Negation, Domain Shift & Negation-Flip Lab · 67.58 MB WASM q8 · Apache-2.0

Sarcasm, Double Negation, Domain Shift & Negation-Flip Stress Lab

Probe where a 67M-parameter SST-2 movie-review encoder holds or breaks: run 7 live empirical probes spanning the neutral forced-choice trap, double negation / litotes, sarcasm, balanced opposing clauses, finance/medical domain shift, and negation-flip sensitivity — with cancellable execution and an interactive sandbox.

1. Live 7-Probe Empirical Stress Matrix

Probes completed–
Mean Confidence–
Mean Binary Entropy–
Low-margin / trapped–
NaN score check–
Suite latency–
Seven empirical SST-2 stress probes testing neutral traps, double negation, sarcasm, mixed clauses, domain shift, and negation flip
Probe Forced Verdict Pos / Neg Logit Margin Tokens / [UNK] Text & Hypothesis
Initialize the model above to score all 7 empirical stress probes.

2. Interactive Negation-Flip & Stress Sandbox

Load any stress probe or enter your own sentence to inspect probability shifts, raw logit margins, and uncased WordPiece tokenization — or compare how adding "It is not true that …" flips polarity.

Live Probe Probabilities

Awaiting probe
Run a probe above to inspect live probabilities.

Negation flip comparison: –

Uncased WordPiece Subwords & Logit Margin

Inspect how domain jargon, negation, or contractions split into 30,522-vocab uncased tokens.

Run a probe to inspect WordPiece tokens.

3. Inspect Tokenization & Calibration Diagnostics

Show the code · sst2-core.mjs — analyzeWordPieceTokens()
Show the code · sst2-core.mjs — summarizeCalibrationBatch()