gpt-news-model
This model is a fine-tuned version of distilgpt2 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.3535
- Accuracy: 0.921
- F1 Weighted: 0.9210
- F1 Macro: 0.9213
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
- 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: 13
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 Weighted | F1 Macro |
|---|---|---|---|---|---|---|
| 0.5897 | 1.0 | 150 | 0.4883 | 0.82 | 0.8197 | 0.8192 |
| 0.3636 | 2.0 | 300 | 0.4182 | 0.87 | 0.8704 | 0.8691 |
| 0.3501 | 3.0 | 450 | 0.3500 | 0.8825 | 0.8819 | 0.8814 |
| 0.2723 | 4.0 | 600 | 0.3388 | 0.8925 | 0.8917 | 0.8913 |
| 0.2317 | 5.0 | 750 | 0.3685 | 0.9075 | 0.9069 | 0.9065 |
| 0.2112 | 6.0 | 900 | 0.4339 | 0.8875 | 0.8864 | 0.8859 |
| 0.1817 | 7.0 | 1050 | 0.4459 | 0.8975 | 0.8972 | 0.8971 |
| 0.1340 | 8.0 | 1200 | 0.4505 | 0.905 | 0.9045 | 0.9042 |
| 0.1034 | 9.0 | 1350 | 0.4499 | 0.9025 | 0.9020 | 0.9017 |
| 0.0796 | 10.0 | 1500 | 0.4794 | 0.9075 | 0.9070 | 0.9066 |
| 0.0777 | 11.0 | 1650 | 0.4905 | 0.91 | 0.9097 | 0.9094 |
| 0.0691 | 12.0 | 1800 | 0.5353 | 0.9 | 0.8997 | 0.8992 |
| 0.0659 | 13.0 | 1950 | 0.5228 | 0.9075 | 0.9072 | 0.9069 |
Framework versions
- Transformers 5.16.1
- Pytorch 2.11.0+cu128
- Datasets 4.8.5
- Tokenizers 0.23.1