Tamarillo/multilingual-toxicity-benign-edgy-2026
An open, commercially permissive 10-Language, 8-Head Contrastive Toxicity, Identity-Fairness, Benign-Edgy, and Polite AI-Hazard Corpus across en, es, fr, de, ru, uk, zh, ja, ar, hi, aligned to the exact 8-head schema of Tamarillo/toxicity-safety-guard v2 (1-line drop-in compatible with protectai/llm-guard Toxicity / unitary/unbiased-toxic-roberta + unsafe_ai_content).
Specifically targets three major weaknesses of legacy moderation classifiers:
- Benign-Edgy Over-Triggering: Dual-use technical, medical, historical, and idiomatic prompts (
kill -9,SQL injection defense,overdose pharmacology) supervised cleanly as all-zero[0,0,0,0,0,0,0,0]. - Multilingual Colloquial Toxicity: Native-phrased insults, harassment, profanity, and group hostility across 10 languages balanced against respectful identity mentions and counter-speech.
- Polite AI/Agent Hazard Decoupling: Calm, non-profane phishing/fraud/exfiltration prompts labeled
unsafe_ai_content=1with all 7 toxicity heads0.
Dataset Splits & Category Balance
| Split | Generator (License) | Rows | Intended Use |
|---|---|---|---|
qwen3_train |
Qwen/Qwen3-8B (Apache-2.0) |
4,400 | Training + validation |
phi4_ood_test |
microsoft/Phi-4-mini-instruct (MIT) |
600 | Strictly disjoint cross-generator OOD benchmark |
| Category | 8-Head Supervision [tox, sev, obs, thr, ins, id_atk, sex, unsafe_ai] |
qwen3_train |
phi4_ood_test |
|---|---|---|---|
benign_edgy_dualuse |
[0,0,0,0,0,0,0,0] — DevOps, defensive security, medical, history, idioms, fiction |
1,261 | 151 |
benign_counterspeech_identity |
[0,0,0,0,0,0,0,0] — Positive/neutral identity mentions & respectful counter-speech |
711 | 98 |
multilingual_insult_harassment |
toxicity=1, insult=1, unsafe_ai=0 — Direct & sarcastic personal insults/harassment |
857 | 118 |
multilingual_obscene_profanity |
toxicity=1, obscene=1, unsafe_ai=0 — Colloquial vulgarity & profanity |
614 | 102 |
multilingual_identity_hate_threat |
toxicity=1, identity_attack/threat=1, unsafe_ai=1 — Group hostility & intimidation |
459 | 62 |
unsafe_ai_agent_hazard |
[0,0,0,0,0,0,0,1] — Polite, non-toxic phishing, fraud, auth bypass, secret exfil |
498 | 69 |
Languages (qwen3_train): en (1,538), ru (415), es (379), de (366), zh (327), fr (321), uk (306), ar (282), hi (241), ja (225)
Quickstart
from datasets import load_dataset
ds = load_dataset("Tamarillo/multilingual-toxicity-benign-edgy-2026")
print(ds["phi4_ood_test"][0])
License & Responsible Use
qwen3_traingenerated withQwen/Qwen3-8B(Apache-2.0).phi4_ood_testgenerated withmicrosoft/Phi-4-mini-instruct(MIT).- Released under Apache-2.0 for defensive content moderation, over-refusal mitigation, and guardrail evaluation.