CoolFace
Modelpublic

mohawwad93/roberta-racial-language-detector

sourceHugging Facemitupdated 2d agoView on Hugging Face
0likes118downloads
Model Card

Racial Language & Bias Detection Model

This model is a fine-tuned version of roberta-base trained on a unified dataset combining multiple hate speech and racial bias benchmark datasets.

Label Mapping

  • `NEUTRAL` (0): Safe, non-offensive, or general language.
  • `FLAGGED` (1): Hate speech, racial bias, or offensive targeted language.

Quickstart Inference

python
from transformers import pipeline

classifier = pipeline("text-classification", model="mohawwad93/roberta-racial-language-detector")
results = classifier("Your input text here...")
print(results)