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: 5.0165
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.4656 | 0.2089 | 10 | 7.9382 |
| 7.105 | 0.4178 | 20 | 6.9287 |
| 6.707 | 0.6266 | 30 | 6.6736 |
| 6.3745 | 0.8355 | 40 | 6.3978 |
| 6.0762 | 1.0444 | 50 | 6.1636 |
| 5.8101 | 1.2533 | 60 | 5.9526 |
| 5.5962 | 1.4621 | 70 | 5.7952 |
| 5.4246 | 1.6710 | 80 | 5.6697 |
| 5.2922 | 1.8799 | 90 | 5.5638 |
| 5.1664 | 2.0888 | 100 | 5.4820 |
| 5.0091 | 2.2977 | 110 | 5.4113 |
| 4.9284 | 2.5065 | 120 | 5.3363 |
| 4.856 | 2.7154 | 130 | 5.2773 |
| 4.782 | 2.9243 | 140 | 5.2213 |
| 4.673 | 3.1332 | 150 | 5.1813 |
| 4.5844 | 3.3420 | 160 | 5.1372 |
| 4.523 | 3.5509 | 170 | 5.1005 |
| 4.5229 | 3.7598 | 180 | 5.0740 |
| 4.4606 | 3.9687 | 190 | 5.0490 |
| 4.4087 | 4.1775 | 200 | 5.0337 |
| 4.3946 | 4.3864 | 210 | 5.0238 |
| 4.4004 | 4.5953 | 220 | 5.0200 |
| 4.3579 | 4.8042 | 230 | 5.0165 |
Framework versions
- Transformers 4.41.2
- Pytorch 2.3.0+cu121
- Datasets 2.20.0
- Tokenizers 0.19.1