unitaryai/detoxify
Trained models & code to predict toxic comments on all 3 Jigsaw Toxic Comment Challenges. Built using ⚡ Pytorch Lightning and 🤗 Transformers. For access to our API, please email us at [email protected]. observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 91
- Release rhythm 44
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2170
- days_rel: 160
- days_push: 58
- n_releases_24m: 1
Adoption not part of the score
1291 stars · 143 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Detoxify is a Python library providing pre-trained transformer models that classify toxic comments, built on PyTorch Lightning and Hugging Face Transformers. It offers models trained on the three Jigsaw Kaggle toxic comment challenges, including original, unbiased, and multilingual variants.
Use cases
- detect toxic comments in user-generated text
- moderate hate speech on a forum
- classify insults, threats, and identity attacks in comments
- screen multilingual comments for toxicity
- add a toxicity score to a chat moderation pipeline
- benchmark against Jigsaw Kaggle competition models
When to choose
- you need ready-made pre-trained toxicity classifiers in Python
- you want models with strong Jigsaw competition leaderboard performance
- you need multilingual or bias-reduced toxicity detection
- you want a lightweight pip-installable inference library
When to avoid
- you need real-time content moderation at massive scale with an API service
- you need toxicity detection for images or video rather than text
- you need custom toxicity categories not covered by the Jigsaw labels
- you require frequent updates or active feature development
Facets
library · maturity maintenance
nlp machine-learning deep-learning machine-learning artificial-intelligence python toxicity-detection hate-speech-detection content-moderation transformers pytorch-lightning bert text-classification jigsaw natural-language-processing
5 sources
- readme: https://github.com/unitaryai/detoxify · fetched 2026-08-28 · d58691b30cb4
- homepage: https://www.unitary.ai/ · fetched 2026-08-29 · b3b5557cd6ea
- site_page: https://www.unitary.ai/about-us · fetched 2026-08-29 · 964612ffa876
- registry_pypi: https://pypi.org/pypi/detoxify/json · fetched 2026-08-29 · 8e587004dadf
- site_page: https://www.unitary.ai/pricing · fetched 2026-08-29 · 797886befae4
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| unitaryai/detoxify | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="unitaryai/detoxify")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem