How to use mykahh/tweets_hate_speech_distilbert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="mykahh/tweets_hate_speech_distilbert")
# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("mykahh/tweets_hate_speech_distilbert") model = AutoModelForSequenceClassification.from_pretrained("mykahh/tweets_hate_speech_distilbert")
loss: 0.1272398680448532
f1: 0.7869222096956031
precision: 0.7949886104783599
recall: 0.7790178571428571
auc: 0.9779004715847651
accuracy: 0.9704364148287189
Files info