Downloads · 30 days
11
2% of all-time downloads
albarpambagio/indobertweet-base-uncased-emotion-recognition
indobertweet-base-uncased-emotion-recognition is a text classification model from albarpambagio. 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
11
2% of all-time downloads
All-time downloads
601
Public
Parameters
111M
2.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors442 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of indolem/indobertweet-base-uncased on The PRDECT-ID Dataset, it is a compilation of Indonesian product reviews that come with emotion and sentiment labels. These reviews were gathered from one of Indonesia's largest e-commerce platforms, Tokopedia. It achieves the following results on the evaluation set:
It has been trained to classify text into six different emotion categories: happy, sadness, anger, love, and fear.
I split my dataframe df into training, validation, and testing sets (train_df, val_df, test_df) using the train_test_split function from sklearn.model_selection. I set the test size to 20% for the initial split and further divided the remaining data equally between validation and testing sets. This process ensures that each split (val_df and test_df) maintains the same class distribution as the original dataset (stratify=df['label']).
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 0.7817 | 1.0 | 266 | 0.6859 | 0.7057 | 0.7140 | 0.7057 | 0.7061 |
| 0.6052 | 2.0 | 532 | 0.6762 | 0.6981 | 0.7022 | 0.6981 | 0.6963 |
| 0.488 | 3.0 | 798 | 0.7251 | 0.7189 | 0.7208 | 0.7189 | 0.7192 |
| 0.3578 | 4.0 | 1064 | 0.7943 | 0.7208 | 0.7240 | 0.7208 | 0.7222 |
| 0.2887 | 5.0 | 1330 | 0.8250 | 0.7038 | 0.7093 | 0.7038 | 0.7056 |