Downloads · 30 days
23
8% of all-time downloads
Octavio-Santana/distilbert-base-sentiment-analysis-pt
distilbert-base-sentiment-analysis-pt is a text classification model from Octavio-Santana. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as apache-2.0.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
23
8% of all-time downloads
All-time downloads
306
Public
Parameters
135M
28.1 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors541 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of distilbert/distilbert-base-multilingual-cased trained on the AiresPucrs/sentiment-analysis-pt dataset available on Hugging Face. It achieves the following results on the evaluation set:
from transformers import pipeline
classifier = pipeline(
"text-classification",
model="Octavio-Santana/distilbert-base-sentiment-analysis-pt"
)
classifier.model.config.id2label = {0: 'negativo', 1: 'positivo'}
result = classifier("Fiquei extremamente satisfeito com o atendimento, superou todas as minhas expectativas.")
# [{'label': 'positivo', 'score': 0.7609153985977173}]
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Accuracy | Validation Loss |
|---|---|---|---|---|
| 0.2665 | 1.0 | 4252 | 0.8872 | 0.2863 |
| 0.2095 | 2.0 | 8504 | 0.9064 | 0.2736 |
| 0.1450 | 3.0 | 12756 | 0.9076 | 0.3191 |