Lion Cipher Lab

Detect toxic content with a model

Why it matters

Every large platform that hosts human conversation faces the same problem: far more content arrives every minute than any team of people could ever read. Trust and safety teams lean on automated classifiers to triage that flood, so a small model quietly shapes which comments get seen, hidden, or sent to a human reviewer. That makes toxicity detection one of the highest-stakes places AI touches ordinary people, and one of the easiest to get wrong. A false positive is not a rounding error; it is a real person silenced for something they did not do, and these models are known to fire more often…

What you'll learn

Steps in this lab

  1. What a toxicity classifier actually is
  2. Why platforms use one: moderation at scale
  3. Install a local toxicity model, offline-first
  4. Score some sample text and read the probability
  5. Set a threshold, and meet the false positive
  6. The bias problem: dialects and identity terms
  7. Context, reclaimed language, and the human in the loop
  8. What you can now do, and hold onto

Open the full interactive lab →