Downloads · 30 days
18
7% of all-time downloads
mrezadit/indobert-emotion-classification
indobert-emotion-classification is a text classification model from mrezadit. 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.
This model is a fine-tuned version of indobenchmark/indobert-base-p2. It is specifically designed to classify Indonesian text into 12 distinct emotion categories, capturing various nuances in local and informal commun…
Downloads · 30 days
18
7% of all-time downloads
All-time downloads
245
Public
Parameters
124M
498 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of indobenchmark/indobert-base-p2. It is specifically designed to classify Indonesian text into 12 distinct emotion categories, capturing various nuances in local and informal communication.
The model was trained on a programmatically generated Indonesian dataset curated to cover a wide range of emotional expressions.
Normal (Normal), Frustrasi (Frustrated), Jengkel (Annoyed), Marah (Angry), Lelah (Tired), Sedih (Sad), Sabar (Patient), Senang (Happy), Takut (Afraid), Terkejut (Surprised), Gila (Crazy), Cinta (Love)
| Metric | Value |
|---|---|
| Epochs | 10 |
| Final Training Loss | 0.000000 |
| Final Validation Loss | 0.000006 |
| Optimization | AdamW |
from transformers import pipeline
classifier = pipeline("text-classification", model="mrezadit/indobert-emotion-classification")
results = classifier("jujur gue gabut parah hari ini")
print(results)