Downloads · 30 days
5
9% of all-time downloads
mostafaalazzaly/aleris-nlp-toxicity-detector
aleris-nlp-toxicity-detector is a text classification model from mostafaalazzaly. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
Fine-tuned DistilBERT model for toxicity and harassment detection.
Downloads · 30 days
5
9% of all-time downloads
All-time downloads
56
Public
Parameters
67M
268 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors268 MB · 100%
From the Hugging Face model README
Fine-tuned DistilBERT model for toxicity and harassment detection.
from transformers import AutoTokenizer, AutoModelForSequenceClassification
repo = "mostafaalazzaly/aleris-nlp-toxicity-detector"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSequenceClassification.from_pretrained(repo)