Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Hugging.readme
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Toxic Content Detector

This is a simple web app that detects toxic or offensive content in English text. It uses the `unitary/toxic-bert` model from Hugging Face and is built with the Transformers and Gradio libraries.

## 🔍 Features

- Detects multiple types of toxicity:
- Toxic
- Insult
- Obscene
- Threat
- Identity hate
- Severe toxicity
- Easy-to-use web interface
- Real-time feedback

## 🧠 Model Used

- [`unitary/toxic-bert`](https://huggingface.co/unitary/toxic-bert): A fine-tuned BERT model for multi-label toxicity classification.

## 💻 Installation

Make sure you have Python installed, then install the required libraries:

```bash
pip install transformers gradio torch