cicboy commited on
Commit
5c6ef65
·
verified ·
1 Parent(s): 698afbb

End of training

Browse files
Files changed (2) hide show
  1. README.md +74 -0
  2. generation_config.json +6 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: gpt2
5
+ tags:
6
+ - generated_from_trainer
7
+ model-index:
8
+ - name: codeparrot-ds
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # codeparrot-ds
16
+
17
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.0622
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0005
39
+ - train_batch_size: 32
40
+ - eval_batch_size: 32
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 8
43
+ - total_train_batch_size: 256
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_steps: 1000
47
+ - num_epochs: 1
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:------:|:-----:|:---------------:|
54
+ | 2.5464 | 0.0766 | 5000 | 1.7422 |
55
+ | 1.6693 | 0.1533 | 10000 | 1.5249 |
56
+ | 1.5226 | 0.2299 | 15000 | 1.4230 |
57
+ | 1.4443 | 0.3065 | 20000 | 1.3569 |
58
+ | 1.3849 | 0.3832 | 25000 | 1.3056 |
59
+ | 1.334 | 0.4598 | 30000 | 1.2584 |
60
+ | 1.2885 | 0.5365 | 35000 | 1.2159 |
61
+ | 1.2425 | 0.6131 | 40000 | 1.1714 |
62
+ | 1.2019 | 0.6897 | 45000 | 1.1335 |
63
+ | 1.1642 | 0.7664 | 50000 | 1.1014 |
64
+ | 1.1373 | 0.8430 | 55000 | 1.0771 |
65
+ | 1.1162 | 0.9196 | 60000 | 1.0651 |
66
+ | 1.1087 | 0.9963 | 65000 | 1.0622 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.55.2
72
+ - Pytorch 2.8.0+cu126
73
+ - Datasets 4.0.0
74
+ - Tokenizers 0.21.4
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 0,
5
+ "transformers_version": "4.55.2"
6
+ }