codeparrot-ds
This model is a fine-tuned version of gpt2 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 4.7958
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: 0.0005
- train_batch_size: 32
- eval_batch_size: 32
- seed: 42
- gradient_accumulation_steps: 8
- total_train_batch_size: 256
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: cosine
- lr_scheduler_warmup_steps: 10
- num_epochs: 5
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 9.4347 | 0.1688 | 10 | 7.9507 |
| 7.2851 | 0.3376 | 20 | 6.9470 |
| 6.6123 | 0.5063 | 30 | 6.7037 |
| 6.2108 | 0.6751 | 40 | 6.3769 |
| 5.8855 | 0.8439 | 50 | 6.1279 |
| 5.6195 | 1.0127 | 60 | 5.9277 |
| 5.3493 | 1.1814 | 70 | 5.7810 |
| 5.2565 | 1.3502 | 80 | 5.6691 |
| 5.1048 | 1.5190 | 90 | 5.5817 |
| 5.007 | 1.6878 | 100 | 5.4934 |
| 4.9073 | 1.8565 | 110 | 5.4116 |
| 4.8196 | 2.0253 | 120 | 5.3486 |
| 4.6782 | 2.1941 | 130 | 5.2865 |
| 4.617 | 2.3629 | 140 | 5.2276 |
| 4.5203 | 2.5316 | 150 | 5.1600 |
| 4.4497 | 2.7004 | 160 | 5.0997 |
| 4.3882 | 2.8692 | 170 | 5.0549 |
| 4.3345 | 3.0380 | 180 | 5.0051 |
| 4.2232 | 3.2068 | 190 | 4.9629 |
| 4.1833 | 3.3755 | 200 | 4.9282 |
| 4.1602 | 3.5443 | 210 | 4.8931 |
| 4.0728 | 3.7131 | 220 | 4.8647 |
| 4.079 | 3.8819 | 230 | 4.8431 |
| 4.043 | 4.0506 | 240 | 4.8223 |
| 3.9975 | 4.2194 | 250 | 4.8143 |
| 3.9775 | 4.3882 | 260 | 4.8039 |
| 3.9678 | 4.5570 | 270 | 4.7999 |
| 3.9349 | 4.7257 | 280 | 4.7967 |
| 3.9854 | 4.8945 | 290 | 4.7958 |
Framework versions
- Transformers 4.41.2
- Pytorch 2.3.0+cu121
- Datasets 2.20.0
- Tokenizers 0.19.1