Bangla Hate Speech Detector

A fine-tuned BanglaBERT model for detecting hate speech in Bengali text, classifying into:

  1. Personal (0)
  2. Political (1)
  3. Religious (2)
  4. Geopolitical (3)

Model Details

Performance

Metric Score
Accuracy 0.89
F1 (Macro) 0.87

How to Use

from transformers import pipeline

classifier = pipeline(
    "text-classification", 
    model="rizwanulrudra/bangla-hate-speech-detector"
)

sample_text = "এই সরকার কে যারা নির্লজ্জের মত সাপোর্ট দিয়েছে..."
classifier(sample_text)
# Output: {'label': 'Political', 'score': 0.92}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for rizwanulrudra/bangla-hate-speech-detector

Finetuned
(21)
this model

Space using rizwanulrudra/bangla-hate-speech-detector 1