sentiment-xlm-roberta-bs4
This model is a fine-tuned version of xlm-roberta-large on the None dataset. It achieves the following results on the evaluation set:
- Loss: 0.8220
- Accuracy: 0.6562
- F1 Macro: 0.6497
- F1 Weighted: 0.6519
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: 1e-05
- train_batch_size: 4
- eval_batch_size: 4
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 8
- 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_ratio: 0.1
- num_epochs: 10
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Macro | F1 Weighted |
|---|---|---|---|---|---|---|
| 1.1084 | 1.0 | 481 | 1.0337 | 0.5005 | 0.3953 | 0.4073 |
| 0.9454 | 2.0 | 962 | 0.8251 | 0.6566 | 0.6510 | 0.6562 |
| 0.7954 | 3.0 | 1443 | 0.7974 | 0.6785 | 0.6707 | 0.6742 |
| 0.6891 | 4.0 | 1924 | 0.8271 | 0.6826 | 0.6797 | 0.6822 |
| 0.6055 | 5.0 | 2405 | 0.8467 | 0.6878 | 0.6816 | 0.6854 |
| 0.5335 | 6.0 | 2886 | 0.8590 | 0.6826 | 0.6811 | 0.6841 |
Framework versions
- Transformers 4.57.2
- Pytorch 2.9.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.1
- Downloads last month
- -
Model tree for hassen228/sentiment-xlm-roberta-bs4
Base model
FacebookAI/xlm-roberta-large