#77 · Primary category: NLP Tools & Text Processing

detoxify

bert bert-model hate-speech hate-speech-detection hatespeech huggingface huggingface-transformers kaggle-competition nlp pytorch-lightning sentence-classification toxic-comment-classification toxic-comments toxicity toxicity-classification

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].

Project last updated:07/06/26

GitHub Stars

1.3K

Forks

144

Contributors

14

License

Apache-2.0

Why we included this project

Running a comments section, forum, or social feed often means deciding quickly which posts need a human look. Detoxify gives you a trained baseline for that: models built on the three Jigsaw Toxic Comment Challenge datasets, covering the standard categories those competitions targeted. Inference is straightforward from Python, and the lightweight ALBERT variants make it easy to run when speed or memory matter. If your content skews multilingual or you want to reduce bias, the corresponding model weights are available, and the codebase is set up so you can fine-tune further. It's a practical drop-in filter for moderation, and also a clean example of structuring a sentence-classification project with PyTorch Lightning and Transformers.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category