bengali-sentiment-xlmr-v2
This model is a fine-tuned version of FacebookAI/xlm-roberta-base on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.1370
- F1 Macro: 0.9020
- F1 Micro: 0.9144
- Precision Macro: 0.9292
- Recall Macro: 0.8791
- Exact Match Accuracy: 0.8031
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: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 16
- 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: linear
- lr_scheduler_warmup_steps: 113
- num_epochs: 5
Training results
| Training Loss | Epoch | Step | Validation Loss | F1 Macro | F1 Micro | Precision Macro | Recall Macro | Exact Match Accuracy |
|---|---|---|---|---|---|---|---|---|
| 0.4979 | 1.0 | 227 | 0.2294 | 0.7576 | 0.8249 | 0.8749 | 0.7023 | 0.6178 |
| 0.3575 | 2.0 | 454 | 0.1711 | 0.8688 | 0.8874 | 0.9006 | 0.8423 | 0.7606 |
| 0.3002 | 3.0 | 681 | 0.1509 | 0.8893 | 0.9069 | 0.9323 | 0.8583 | 0.7928 |
| 0.1978 | 4.0 | 908 | 0.1462 | 0.8906 | 0.9081 | 0.9303 | 0.8639 | 0.7928 |
| 0.2141 | 5.0 | 1135 | 0.1370 | 0.9020 | 0.9144 | 0.9292 | 0.8791 | 0.8031 |
Framework versions
- Transformers 5.22.2
- Pytorch 2.15.0+cu132
- Datasets 5.2.0
- Tokenizers 0.23.3