How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="nikesh66/Hatespeech-Detection-using-BERT")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("nikesh66/Hatespeech-Detection-using-BERT")
model = AutoModelForSequenceClassification.from_pretrained("nikesh66/Hatespeech-Detection-using-BERT")
Quick Links

Hate Speech Detection Model

Hate Speech Detection Model aims to identify text that contains offensive or harmful language.

Label

  • O or Not Hate Speech
  • 1 or Hate Speech

Hate Speech Detection

Downloads last month
4
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support