mohawwad93/roberta-racial-language-detector
0118
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)