ag_news_distilbert_finetuned
This model is a fine-tuned version of distilbert-base-uncased on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 0.1024
- Accuracy: 0.972
- F1 Macro: 0.9711
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: 8
- 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: linear
- num_epochs: 3
- mixed_precision_training: Native AMP
Training results
| Training Loss |
Epoch |
Step |
Validation Loss |
Accuracy |
F1 Macro |
| 0.4108 |
1.0 |
625 |
0.2005 |
0.9333 |
0.9331 |
| 0.2329 |
2.0 |
1250 |
0.1259 |
0.964 |
0.9644 |
| 0.1478 |
3.0 |
1875 |
0.1067 |
0.9747 |
0.9751 |
Framework versions
- Transformers 4.57.1
- Pytorch 2.9.0+cu126
- Datasets 4.0.0
- Tokenizers 0.22.1