EveryDev.ai
Subscribe
Home
Tools

4,536+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3274
  • Coding2275
  • Infrastructure1000
  • Projects696
  • Marketing636
  • Research587
  • MCP532
  • Design508
  • Analytics506
  • Testing394
  • Security376
  • Data327
  • Integration244
  • Prompts244
  • Communication235
  • Extensions217
  • Voice193
  • Learning190
  • Commerce170
  • DevOps153
  • Web103
  • Finance36
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. Detoxify
    Detoxify icon

    Detoxify

    AI Development Libraries
    Featured

    Open-source trained models and code for predicting toxic comments, built with PyTorch Lightning and Hugging Face Transformers.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Detoxify trained models and code for toxic comment classification, released under the Apache License 2.0 for self-hosted use.

    Engagement

    Available On

    Linux
    Web
    API
    SDK
    CLI

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI Development LibrariesContent AnalysisModel Management

    Alternatives

    PyODTauDataFog Python
    Developer
    UnitaryLondon, United KingdomEst. 2019$25M raised

    Listed Oct 2026

    About Detoxify

    Detoxify is an open-source Python library from Unitary that provides trained models and code to predict toxic comments across three Jigsaw Kaggle challenges. It was built by Laura Hanu at Unitary and is released under the Apache 2.0 license. The latest listed release is v0.5.3.

    What It Is

    Detoxify is a toxic comment classification library. You pass in a string or a list of strings, and a model returns per-label toxicity scores. It is built on PyTorch Lightning and Hugging Face Transformers. The README states that its intended uses are research, fine-tuning on carefully constructed datasets, and helping content moderators flag harmful content faster.

    Models and Labels

    There are three main models, each tied to a Jigsaw challenge:

    • original: bert-base-uncased, trained on the Toxic Comment Classification Challenge.
    • unbiased: roberta-base, trained on the Unintended Bias in Toxicity Classification challenge.
    • multilingual: xlm-roberta-base, trained on the Multilingual Toxic Comment Classification challenge.

    Smaller original-small and unbiased-small variants built on Albert are also available. The multilingual model supports English, French, Spanish, Italian, Portuguese, Turkish and Russian. Labels include toxicity, severe toxicity, obscene, threat, insult, identity attack and sexual explicit, plus identity mention labels in the unbiased setup.

    Workflow

    Install with pip install detoxify, then call Detoxify('original').predict(...). A device such as CUDA can be specified, and the model defaults to CPU. A run_prediction.py script can score a single comment or a text file and save the results to CSV. Checkpoints can be loaded through torch.hub. The repository also includes training configs, a Kaggle data download workflow, and evaluation scripts, including a bias metric computation.

    Limitations to Know

    The README warns that comments containing swearing, insults or profanity are likely to be classified as toxic regardless of tone or intent, such as humour or self-deprecation. This could bias results against vulnerable minority groups. It links to resources on bias in hate speech detection.

    Detoxify - 1

    Community Discussions

    Be the first to start a conversation about Detoxify

    Share your experience with Detoxify, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (Apache-2.0)

    Detoxify trained models and code for toxic comment classification, released under the Apache License 2.0 for self-hosted use.

    • Apache License 2.0
    • Trained models: original, unbiased, multilingual, plus small variants
    • Built on PyTorch Lightning and Hugging Face Transformers
    • Self-hosted; separate Unitary API access is by email request and is not priced publicly

    Capabilities

    Key Features

    • Toxic comment classification
    • Three models: original, unbiased, multilingual
    • Lightweight small model variants
    • Multilingual support for 7 languages
    • Batch prediction on strings or lists
    • Command-line prediction script with CSV export
    • Training and evaluation scripts
    • Bias metric computation
    • Checkpoint loading via torch.hub
    • CPU or CUDA device selection

    Integrations

    PyTorch Lightning
    Hugging Face Transformers
    Kaggle API
    PyTorch Hub
    pandas
    TensorBoard
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Detoxify and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    Unitary

    Unitary is a company founded by Sasha Haco and James Thewlis. It began by helping brands with content moderation and now builds Virtual Agents that automate manual operational workflows in tools teams already use. Its customers span insurance, financial services, healthcare and marketplaces.

    Founded 2019
    London, United Kingdom
    $25M raised
    46 employees

    Used by

    Attune
    Trustpilot
    Substack
    Depop
    +2 more
    Read more about Unitary
    WebsiteGitHubX / Twitter
    1 tool in directory

    Similar Tools

    PyOD icon

    PyOD

    A Python library for anomaly detection across tabular, time series, graph, text, image, and audio data with 60+ detectors and agentic workflow support.

    Tau icon

    Tau

    A small, readable terminal coding agent and educational project that teaches how coding agents are built, with a layered architecture of provider adapters, agent harness, and coding environment.

    DataFog Python icon

    DataFog Python

    Python library for offline PII detection and redaction, with a Claude Code hook and LiteLLM guardrail for AI agents and LLM apps.

    Browse all tools

    Related Topics

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    373 tools

    Content Analysis

    AI-powered tools that automatically analyze, categorize, and extract insights from text, images, video, and other content types for sentiment analysis and semantic understanding.

    69 tools

    Model Management

    Tools for managing, versioning, and deploying AI models.

    75 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions