roberta-base_bbc-news
This model is a fine-tuned version of roberta-base trained on the bbc news dataset.:
It achieves the following results on the evaluation set:
- Loss: 0.1378
- Accuracy: 0.978
- F1: 0.9781
- Precision: 0.9785
- Recall: 0.978
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: 5e-05
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- 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_steps: 500
- num_epochs: 5
Training results
Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
---|---|---|---|---|---|---|---|
0.1976 | 1.0 | 154 | 0.1557 | 0.956 | 0.9563 | 0.9589 | 0.956 |
0.2669 | 2.0 | 308 | 0.1486 | 0.968 | 0.9679 | 0.9684 | 0.968 |
0.0181 | 3.0 | 462 | 0.2332 | 0.97 | 0.9700 | 0.9705 | 0.97 |
0.0957 | 4.0 | 616 | 0.1378 | 0.978 | 0.9781 | 0.9785 | 0.978 |
0.0009 | 5.0 | 770 | 0.1826 | 0.974 | 0.9740 | 0.9743 | 0.974 |
Framework versions
- Transformers 4.51.3
- Pytorch 2.7.0+cu126
- Datasets 3.5.1
- Tokenizers 0.21.1
- Downloads last month
- 10
Model tree for nicolasacosta/roberta-base_bbc-news
Base model
FacebookAI/roberta-base