tdavidson/hate_speech_offensive
Viewer • Updated • 24.8k • 3.95k • 42
How to use igmarco/clasificador-hate_speech_offensive-BERTweet with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="igmarco/clasificador-hate_speech_offensive-BERTweet") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("igmarco/clasificador-hate_speech_offensive-BERTweet")
model = AutoModelForSequenceClassification.from_pretrained("igmarco/clasificador-hate_speech_offensive-BERTweet")This model is a fine-tuned version of vinai/bertweet-base on the hate_speech_offensive dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.3129 | 1.0 | 2479 | 0.3258 | 0.9112 |
| 0.2877 | 2.0 | 4958 | 0.2844 | 0.9124 |
| 0.235 | 3.0 | 7437 | 0.2951 | 0.9195 |