Hate Speech Detector — fine-tuned RoBERTa

Fine-tuned từ cardiffnlp/twitter-roberta-base-hate trên dataset Davidson et al. (2017).

Labels

  • 0 — Hate Speech: ngôn ngữ thù ghét
  • 1 — Offensive: xúc phạm nhưng không phải hate speech
  • 2 — Neither: bình thường

Kết quả

Metric Score
Macro F1 ~0.77
Hate Speech F1 ~0.48
Accuracy ~0.89

Cách dùng

from transformers import pipeline
clf = pipeline("text-classification", model="Merikatori/hate-speech-roberta")
clf("I hate all people like that")
Downloads last month
49
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

Dataset used to train Merikatori/hate-speech-roberta