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

from transformers import pipeline

classifier = pipeline("text-classification", model="mohawwad93/roberta-racial-language-detector")
results = classifier("Your input text here...")
print(results)
Downloads last month
-
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support