Downloads · 30 days
48
26% of all-time downloads
mohawwad93/roberta-racial-language-detector
roberta-racial-language-detector is a text classification model from mohawwad93. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
This model is a fine-tuned version of roberta-base trained on a unified dataset combining multiple hate speech and racial bias benchmark datasets.
Downloads · 30 days
48
26% of all-time downloads
All-time downloads
182
Public
Parameters
125M
2.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors499 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of roberta-base trained on a unified dataset combining multiple hate speech and racial bias benchmark datasets.
NEUTRAL (0): Safe, non-offensive, or general language.FLAGGED (1): Hate speech, racial bias, or offensive targeted language.from transformers import pipeline
classifier = pipeline("text-classification", model="mohawwad93/roberta-racial-language-detector")
results = classifier("Your input text here...")
print(results)