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="mrm8488/distilroberta-finetuned-tweets-hate-speech")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("mrm8488/distilroberta-finetuned-tweets-hate-speech")
model = AutoModelForSequenceClassification.from_pretrained("mrm8488/distilroberta-finetuned-tweets-hate-speech", device_map="auto")
Quick Links

distilroberta-base fine-tuned on tweets_hate_speech_detection dataset for hate speech detection

Validation accuray: 0.98

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

Model tree for mrm8488/distilroberta-finetuned-tweets-hate-speech

Finetunes
1 model

Dataset used to train mrm8488/distilroberta-finetuned-tweets-hate-speech