hate-speech-portuguese/hate_speech_portuguese
Updated • 158 • 9
How to use Nelci/bertimbau_hate_speech with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Nelci/bertimbau_hate_speech") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Nelci/bertimbau_hate_speech")
model = AutoModelForSequenceClassification.from_pretrained("Nelci/bertimbau_hate_speech")This model is a fine-tuned version of neuralmind/bert-large-portuguese-cased on the hate_speech_portuguese 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 |
|---|---|---|---|---|
| No log | 1.0 | 302 | 0.4593 | 0.7756 |
| 0.4361 | 2.0 | 604 | 0.5009 | 0.7814 |
Base model
neuralmind/bert-large-portuguese-cased