End of training
Browse files
README.md
CHANGED
|
@@ -15,6 +15,8 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 15 |
# gpt2-finetuned-python-purpose
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on an unknown dataset.
|
|
|
|
|
|
|
| 18 |
|
| 19 |
## Model description
|
| 20 |
|
|
@@ -34,12 +36,23 @@ More information needed
|
|
| 34 |
|
| 35 |
The following hyperparameters were used during training:
|
| 36 |
- learning_rate: 0.0003
|
| 37 |
-
- train_batch_size:
|
| 38 |
-
- eval_batch_size:
|
| 39 |
- seed: 42
|
| 40 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 41 |
- lr_scheduler_type: linear
|
| 42 |
-
- num_epochs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
|
| 44 |
### Framework versions
|
| 45 |
|
|
|
|
| 15 |
# gpt2-finetuned-python-purpose
|
| 16 |
|
| 17 |
This model is a fine-tuned version of [openai-community/gpt2](https://huggingface.co/openai-community/gpt2) on an unknown dataset.
|
| 18 |
+
It achieves the following results on the evaluation set:
|
| 19 |
+
- Loss: 0.4763
|
| 20 |
|
| 21 |
## Model description
|
| 22 |
|
|
|
|
| 36 |
|
| 37 |
The following hyperparameters were used during training:
|
| 38 |
- learning_rate: 0.0003
|
| 39 |
+
- train_batch_size: 4
|
| 40 |
+
- eval_batch_size: 4
|
| 41 |
- seed: 42
|
| 42 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
| 43 |
- lr_scheduler_type: linear
|
| 44 |
+
- num_epochs: 5
|
| 45 |
+
|
| 46 |
+
### Training results
|
| 47 |
+
|
| 48 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
| 49 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
| 50 |
+
| 1.0083 | 1.0 | 8233 | 0.9360 |
|
| 51 |
+
| 0.6853 | 2.0 | 16466 | 0.7537 |
|
| 52 |
+
| 0.4557 | 3.0 | 24699 | 0.6140 |
|
| 53 |
+
| 0.271 | 4.0 | 32932 | 0.5133 |
|
| 54 |
+
| 0.1585 | 5.0 | 41165 | 0.4763 |
|
| 55 |
+
|
| 56 |
|
| 57 |
### Framework versions
|
| 58 |
|