Downloads · 30 days
11
3% of all-time downloads
albarpambagio/distilbert-base-indonesian-finetuned-PRDECT-ID
distilbert-base-indonesian-finetuned-PRDECT-ID is a fill-mask model from albarpambagio. Use it when you need the model to fill a missing word. 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
11
3% of all-time downloads
All-time downloads
359
Public
Parameters
68.1M
1.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors273 MB · 100%
From the Hugging Face model README
This model is a fine-tuned version of cahya/distilbert-base-indonesian on [The PRDECT-ID Dataset] (https://www.kaggle.com/datasets/jocelyndumlao/prdect-id-indonesian-emotion-classification), 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.
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:
The following table summarizes the training and validation loss over the epochs:
| Epoch | Training Loss | Validation Loss |
|---|---|---|
| 1 | 0.000100 | 0.000062 |
| 2 | 0.000000 | 0.000038 |
| 3 | 0.000000 | 0.000025 |
| 4 | 0.000000 | 0.000017 |
| 5 | 0.000000 | 0.000014 |
Train output:
Evaluation:
Perplexity: 1.0000139686738017
These results indicate excellent model performance and generalization capabilities.