mdroth commited on
Commit
f93bb62
·
verified ·
1 Parent(s): e24c5be

End of training

Browse files
Files changed (2) hide show
  1. README.md +80 -0
  2. generation_config.json +6 -0
README.md ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-model
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-model
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: 0.9508
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 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: 5000
47
+ - num_epochs: 3
48
+ - mixed_precision_training: Native AMP
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss |
53
+ |:-------------:|:------:|:------:|:---------------:|
54
+ | 2.4147 | 0.1533 | 10000 | 1.5844 |
55
+ | 1.5331 | 0.3065 | 20000 | 1.4038 |
56
+ | 1.421 | 0.4598 | 30000 | 1.3327 |
57
+ | 1.3676 | 0.6131 | 40000 | 1.2921 |
58
+ | 1.3318 | 0.7664 | 50000 | 1.2646 |
59
+ | 1.3047 | 0.9196 | 60000 | 1.2363 |
60
+ | 1.2733 | 1.0729 | 70000 | 1.2123 |
61
+ | 1.2476 | 1.2262 | 80000 | 1.1855 |
62
+ | 1.2243 | 1.3795 | 90000 | 1.1622 |
63
+ | 1.1982 | 1.5327 | 100000 | 1.1366 |
64
+ | 1.1711 | 1.6860 | 110000 | 1.1095 |
65
+ | 1.1426 | 1.8393 | 120000 | 1.0828 |
66
+ | 1.115 | 1.9926 | 130000 | 1.0541 |
67
+ | 1.0758 | 2.1458 | 140000 | 1.0275 |
68
+ | 1.0497 | 2.2991 | 150000 | 1.0044 |
69
+ | 1.0264 | 2.4524 | 160000 | 0.9821 |
70
+ | 1.0054 | 2.6056 | 170000 | 0.9649 |
71
+ | 0.9895 | 2.7589 | 180000 | 0.9547 |
72
+ | 0.9827 | 2.9122 | 190000 | 0.9508 |
73
+
74
+
75
+ ### Framework versions
76
+
77
+ - Transformers 4.48.3
78
+ - Pytorch 2.3.1+cu121
79
+ - Datasets 3.2.0
80
+ - Tokenizers 0.21.0
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.48.3"
6
+ }