twitter-sentiment-bert
This model is a fine-tuned version of indobenchmark/indobert-base-p1 on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.2439
- Accuracy: 0.9170
- F1 Macro: 0.9158
- F1 Weighted: 0.9158
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: 2e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 32
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.1
- num_epochs: 6
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Weighted |
|---|---|---|---|---|---|---|
| 1.0071 | 1.0 | 91 | 0.6873 | 0.7026 | 0.6888 | 0.6889 |
| 0.4836 | 2.0 | 182 | 0.4598 | 0.8312 | 0.8287 | 0.8287 |
| 0.2478 | 3.0 | 273 | 0.5133 | 0.8167 | 0.8118 | 0.8118 |
| 0.1319 | 4.0 | 364 | 0.5662 | 0.8248 | 0.8200 | 0.8201 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.6.0+cu124
- Datasets 2.14.4
- Tokenizers 0.21.1
- Downloads last month
- -
Model tree for KidzRizal/twitter-sentiment-bert
Base model
indobenchmark/indobert-base-p1