gavinqiangli commited on
Commit
7207931
1 Parent(s): 54af0fd

End of training

Browse files
README.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: gpt2
4
+ tags:
5
+ - generated_from_trainer
6
+ model-index:
7
+ - name: codeparrot-ds-v2
8
+ results: []
9
+ ---
10
+
11
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
12
+ should probably proofread and complete it, then remove this comment. -->
13
+
14
+ # codeparrot-ds-v2
15
+
16
+ This model is a fine-tuned version of [gpt2](https://huggingface.co/gpt2) on an unknown dataset.
17
+ It achieves the following results on the evaluation set:
18
+ - Loss: 1.0617
19
+
20
+ ## Model description
21
+
22
+ More information needed
23
+
24
+ ## Intended uses & limitations
25
+
26
+ More information needed
27
+
28
+ ## Training and evaluation data
29
+
30
+ More information needed
31
+
32
+ ## Training procedure
33
+
34
+ ### Training hyperparameters
35
+
36
+ The following hyperparameters were used during training:
37
+ - learning_rate: 0.0005
38
+ - train_batch_size: 32
39
+ - eval_batch_size: 32
40
+ - seed: 42
41
+ - gradient_accumulation_steps: 8
42
+ - total_train_batch_size: 256
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: cosine
45
+ - lr_scheduler_warmup_steps: 1000
46
+ - num_epochs: 1
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss |
52
+ |:-------------:|:------:|:-----:|:---------------:|
53
+ | 2.5649 | 0.0766 | 5000 | 1.7424 |
54
+ | 1.6811 | 0.1533 | 10000 | 1.5239 |
55
+ | 1.5331 | 0.2299 | 15000 | 1.4213 |
56
+ | 1.4544 | 0.3065 | 20000 | 1.3544 |
57
+ | 1.3946 | 0.3832 | 25000 | 1.3049 |
58
+ | 1.3434 | 0.4598 | 30000 | 1.2571 |
59
+ | 1.2978 | 0.5365 | 35000 | 1.2146 |
60
+ | 1.2515 | 0.6131 | 40000 | 1.1707 |
61
+ | 1.2106 | 0.6897 | 45000 | 1.1335 |
62
+ | 1.1728 | 0.7664 | 50000 | 1.1002 |
63
+ | 1.1457 | 0.8430 | 55000 | 1.0769 |
64
+ | 1.1243 | 0.9196 | 60000 | 1.0646 |
65
+ | 1.1169 | 0.9963 | 65000 | 1.0617 |
66
+
67
+
68
+ ### Framework versions
69
+
70
+ - Transformers 4.40.2
71
+ - Pytorch 2.2.1+cu121
72
+ - Datasets 2.19.1
73
+ - Tokenizers 0.19.1
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.40.2"
6
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e83758a671790af9dd17c54aed8ec260f432330ffd82ffff04839beb44ecc08f
3
  size 496984704
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4286fb34014544d85f4b99e4ae6f67d4247396bb63e993173dadf64e7514d2cf
3
  size 496984704
runs/May21_08-03-11_35b96c5f4340/events.out.tfevents.1716278592.35b96c5f4340.646.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:17e7ef06ceb7e8cc4cb7f171012819fc909023911b2c3853803b38307e48e99f
3
- size 11257
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3c2e856479d40748838ca53fdcaf0e3ecfbd1ee3b13ac99ac5dc2dfc98fc097
3
+ size 11617