results
This model is a fine-tuned version of indobenchmark/indobert-base-p2 on an Indonesia sharia economic news in 2024 dataset. It achieves the following results on the evaluation set:
- Loss: 0.3081
- Accuracy: 0.8421
- Precision: 0.8434
- Recall: 0.8421
- F1: 0.8397
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 2.608200341537098e-06
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: cosine
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 50
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|---|---|
| 1.1387 | 1.0 | 16 | 1.1234 | 0.2456 | 0.2250 | 0.2456 | 0.2048 |
| 1.0855 | 2.0 | 32 | 1.0342 | 0.5965 | 0.5502 | 0.5965 | 0.5327 |
| 1.0077 | 3.0 | 48 | 0.9762 | 0.6140 | 0.5835 | 0.6140 | 0.5479 |
| 0.9844 | 4.0 | 64 | 0.9218 | 0.7544 | 0.6354 | 0.7544 | 0.6887 |
| 0.9171 | 5.0 | 80 | 0.8388 | 0.7544 | 0.6441 | 0.7544 | 0.6912 |
| 0.7872 | 6.0 | 96 | 0.7335 | 0.7368 | 0.6257 | 0.7368 | 0.6702 |
| 0.6952 | 7.0 | 112 | 0.6177 | 0.7719 | 0.7469 | 0.7719 | 0.7281 |
| 0.6067 | 8.0 | 128 | 0.5582 | 0.7719 | 0.7469 | 0.7719 | 0.7281 |
| 0.544 | 9.0 | 144 | 0.5108 | 0.7719 | 0.7469 | 0.7719 | 0.7281 |
| 0.4908 | 10.0 | 160 | 0.4588 | 0.8246 | 0.8266 | 0.8246 | 0.8036 |
| 0.4495 | 11.0 | 176 | 0.4258 | 0.8070 | 0.8157 | 0.8070 | 0.7879 |
| 0.404 | 12.0 | 192 | 0.3813 | 0.8421 | 0.8385 | 0.8421 | 0.8356 |
| 0.3783 | 13.0 | 208 | 0.3619 | 0.8246 | 0.8257 | 0.8246 | 0.8193 |
| 0.3412 | 14.0 | 224 | 0.3399 | 0.8421 | 0.8413 | 0.8421 | 0.8406 |
| 0.3205 | 15.0 | 240 | 0.3355 | 0.8246 | 0.8273 | 0.8246 | 0.8236 |
| 0.2946 | 16.0 | 256 | 0.3194 | 0.8421 | 0.8514 | 0.8421 | 0.8438 |
| 0.2859 | 17.0 | 272 | 0.3106 | 0.8772 | 0.8806 | 0.8772 | 0.8785 |
| 0.2659 | 18.0 | 288 | 0.3081 | 0.8421 | 0.8434 | 0.8421 | 0.8397 |
| 0.2474 | 19.0 | 304 | 0.3119 | 0.8947 | 0.8986 | 0.8947 | 0.8962 |
| 0.2397 | 20.0 | 320 | 0.3181 | 0.8596 | 0.8573 | 0.8596 | 0.8563 |
| 0.2219 | 21.0 | 336 | 0.3167 | 0.8596 | 0.8573 | 0.8596 | 0.8563 |
| 0.2012 | 22.0 | 352 | 0.3135 | 0.8772 | 0.8758 | 0.8772 | 0.8760 |
| 0.1953 | 23.0 | 368 | 0.3146 | 0.8596 | 0.8658 | 0.8596 | 0.8603 |
Framework versions
- Transformers 4.57.6
- Pytorch 2.9.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.2