Wild · Sarcasm, Multilingual Code-Switching & Low-Resource Script Stress Lab · 135.95 MB WASM q8 · Apache-2.0

Sarcasm, Code-Switching & Low-Resource Script Stress Lab

Probe where a 6-layer mBERT sentiment student shines or fractures: run 6 live empirical probes spanning English sarcasm, Spanglish, Franglais, Latinized Japanese (Romaji), Spanish double negation, and Devanagari Hindi — plus an interactive code-switch sandbox.

1. Live 6-Probe Empirical Stress Matrix

Probes completed–
Mean Confidence–
Mean Entropy–
Total [UNK] tokens–
NaN score check–
Suite latency–
Six empirical multilingual stress probes testing sarcasm, Spanglish, Franglais, Romaji, negation, and Devanagari
Probe Verdict Pos / Neu / Neg Net Polarity Logit Margin Tokens / [UNK] Text & Hypothesis
Initialize the model above to score all 6 empirical stress probes.

2. Interactive Code-Switch & Negation Sandbox

Load any of the 6 stress probes or compose your own mixed-script sentence to inspect real probability shifts, logit margins, and WordPiece tokenization.

Live Probe Probabilities

Awaiting probe
Run a probe above to inspect live probabilities.

mBERT WordPiece Subwords & Logit Margin

Watch how code-switched or transliterated words split into WordPiece subwords.

Run a probe to inspect WordPiece tokens.

3. Inspect Script Detection & Logit Margin Helpers

Show the code · multiling-sentiment-core.mjs — detectScriptTag()
Show the code · multiling-sentiment-core.mjs — computeLogitStats()