hate speech

Dataset Collection:

distilbert-base-uncased model is fine-tuned for Hate Speech Detection

Data Fields:

label: 0 - it is a hate speech, 1 - not a hate speech

Application:

Model Implementation

!pip install transformers[sentencepiece]

from transformers import pipeline

model_name="Sakil/distilbert_lazylearner_hatespeech_detection"

classifier = pipeline("text-classification",model=model_name)

classifier("!!! RT @mayasolovely: As a woman you shouldn't complain about cleaning up your house. & as a man you should always take the trash out...")

Github: Sakil Ansari