tdavidson/hate_speech_offensive
Viewer • Updated • 24.8k • 3.81k • 42
How to use igmarco/clasificador-hate_speech_offensive with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="igmarco/clasificador-hate_speech_offensive") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("igmarco/clasificador-hate_speech_offensive")
model = AutoModelForSequenceClassification.from_pretrained("igmarco/clasificador-hate_speech_offensive")This model is a fine-tuned version of bert-base-uncased 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.3425 | 1.0 | 2479 | 0.2982 | 0.9157 |
| 0.2783 | 2.0 | 4958 | 0.2695 | 0.9179 |
| 0.2321 | 3.0 | 7437 | 0.3191 | 0.9201 |