Downloads · 30 days
28
2% of all-time downloads
MelmaGrigia/bert-base-italian-xxl-uncased-italian-finetuned-emotions
bert-base-italian-xxl-uncased-italian-finetuned-emotions is a text classification model from MelmaGrigia. Use it when you need a label for a piece of text. It is set up for transformers. The card lists the license as mit.
should probably proofread and complete it, then remove this comment. --
Downloads · 30 days
28
2% of all-time downloads
All-time downloads
1.4K
Public
Parameters
111M
1.8 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors443 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of dbmdz/bert-base-italian-xxl-uncased on an unknown dataset. This model is a fine-tuned version of dbmdz/bert-base-italian-xxl-uncased specifically for emotion classification in Italian text. The model is trained to classify text into seven emotions:
It achieves high performance on the evaluation dataset, making it suitable for tasks requiring emotional tone analysis of Italian text.
It achieves the following results on the evaluation set:
Model description The model is based on the BERT architecture with an uncased vocabulary and is fine-tuned for emotion detection in Italian texts. It uses the transformer architecture, which relies on attention mechanisms for context comprehension in sequences. This fine-tuned model improves performance for tasks like social media sentiment analysis, customer feedback interpretation, and conversational agents.
Intended uses & limitations Intended uses:
Training and evaluation data This model was fine-tuned on a custom dataset labeled with seven emotions (joy, sadness, anger, fear, disgust, surprise, neutral). The dataset includes Italian text samples, likely drawn from conversational or written contexts where emotion detection is relevant.
You can use this model with the transformers library in Python:
from transformers import AutoTokenizer, AutoModelForSequenceClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("dbmdz/bert-base-italian-xxl-uncased")
model = AutoModelForSequenceClassification.from_pretrained("MelmaGrigia/bert-base-italian-xxl-uncased-italian-finetuned-emotions")
classifier = pipeline("text-classification", model=model, tokenizer=tokenizer)
result = classifier("Questo è un testo di esempio.")
print(result)
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| No log | 1.0 | 29 | 0.9305 | 0.9571 | 0.9561 |
| No log | 2.0 | 58 | 0.5546 | 0.9877 | 0.9876 |