yangdechuan
commited on
Commit
•
7eb262a
1
Parent(s):
2813062
End of training
Browse files- README.md +124 -0
- generation_config.json +6 -0
- pytorch_model.bin +1 -1
README.md
ADDED
@@ -0,0 +1,124 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: mit
|
3 |
+
base_model: gpt2
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
model-index:
|
7 |
+
- name: codeparrot-ds
|
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
|
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.0621
|
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 |
+
|
48 |
+
### Training results
|
49 |
+
|
50 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
51 |
+
|:-------------:|:-----:|:-----:|:---------------:|
|
52 |
+
| 3.2102 | 0.02 | 1000 | 2.7478 |
|
53 |
+
| 2.359 | 0.03 | 2000 | 2.2031 |
|
54 |
+
| 2.0974 | 0.05 | 3000 | 1.9751 |
|
55 |
+
| 1.9383 | 0.06 | 4000 | 1.8321 |
|
56 |
+
| 1.8346 | 0.08 | 5000 | 1.7406 |
|
57 |
+
| 1.7547 | 0.09 | 6000 | 1.6731 |
|
58 |
+
| 1.6994 | 0.11 | 7000 | 1.6212 |
|
59 |
+
| 1.6632 | 0.12 | 8000 | 1.5842 |
|
60 |
+
| 1.6237 | 0.14 | 9000 | 1.5506 |
|
61 |
+
| 1.5986 | 0.15 | 10000 | 1.5247 |
|
62 |
+
| 1.5749 | 0.17 | 11000 | 1.4994 |
|
63 |
+
| 1.5466 | 0.18 | 12000 | 1.4783 |
|
64 |
+
| 1.5254 | 0.2 | 13000 | 1.4579 |
|
65 |
+
| 1.5085 | 0.21 | 14000 | 1.4420 |
|
66 |
+
| 1.4884 | 0.23 | 15000 | 1.4235 |
|
67 |
+
| 1.4842 | 0.25 | 16000 | 1.4088 |
|
68 |
+
| 1.4618 | 0.26 | 17000 | 1.3957 |
|
69 |
+
| 1.4479 | 0.28 | 18000 | 1.3825 |
|
70 |
+
| 1.4376 | 0.29 | 19000 | 1.3716 |
|
71 |
+
| 1.4225 | 0.31 | 20000 | 1.3583 |
|
72 |
+
| 1.4151 | 0.32 | 21000 | 1.3476 |
|
73 |
+
| 1.4021 | 0.34 | 22000 | 1.3359 |
|
74 |
+
| 1.3956 | 0.35 | 23000 | 1.3245 |
|
75 |
+
| 1.3839 | 0.37 | 24000 | 1.3159 |
|
76 |
+
| 1.3741 | 0.38 | 25000 | 1.3060 |
|
77 |
+
| 1.3635 | 0.4 | 26000 | 1.2950 |
|
78 |
+
| 1.3491 | 0.41 | 27000 | 1.2844 |
|
79 |
+
| 1.3462 | 0.43 | 28000 | 1.2760 |
|
80 |
+
| 1.3317 | 0.44 | 29000 | 1.2676 |
|
81 |
+
| 1.3249 | 0.46 | 30000 | 1.2584 |
|
82 |
+
| 1.3164 | 0.48 | 31000 | 1.2486 |
|
83 |
+
| 1.3055 | 0.49 | 32000 | 1.2406 |
|
84 |
+
| 1.3006 | 0.51 | 33000 | 1.2327 |
|
85 |
+
| 1.2906 | 0.52 | 34000 | 1.2225 |
|
86 |
+
| 1.2821 | 0.54 | 35000 | 1.2135 |
|
87 |
+
| 1.2677 | 0.55 | 36000 | 1.2068 |
|
88 |
+
| 1.2562 | 0.57 | 37000 | 1.1981 |
|
89 |
+
| 1.2541 | 0.58 | 38000 | 1.1896 |
|
90 |
+
| 1.2377 | 0.6 | 39000 | 1.1814 |
|
91 |
+
| 1.2346 | 0.61 | 40000 | 1.1726 |
|
92 |
+
| 1.2251 | 0.63 | 41000 | 1.1647 |
|
93 |
+
| 1.2175 | 0.64 | 42000 | 1.1575 |
|
94 |
+
| 1.2112 | 0.66 | 43000 | 1.1486 |
|
95 |
+
| 1.2021 | 0.67 | 44000 | 1.1410 |
|
96 |
+
| 1.1888 | 0.69 | 45000 | 1.1339 |
|
97 |
+
| 1.1939 | 0.71 | 46000 | 1.1259 |
|
98 |
+
| 1.18 | 0.72 | 47000 | 1.1198 |
|
99 |
+
| 1.1698 | 0.74 | 48000 | 1.1130 |
|
100 |
+
| 1.1634 | 0.75 | 49000 | 1.1063 |
|
101 |
+
| 1.1593 | 0.77 | 50000 | 1.1006 |
|
102 |
+
| 1.1545 | 0.78 | 51000 | 1.0946 |
|
103 |
+
| 1.1478 | 0.8 | 52000 | 1.0896 |
|
104 |
+
| 1.1443 | 0.81 | 53000 | 1.0855 |
|
105 |
+
| 1.1365 | 0.83 | 54000 | 1.0808 |
|
106 |
+
| 1.1332 | 0.84 | 55000 | 1.0773 |
|
107 |
+
| 1.1336 | 0.86 | 56000 | 1.0736 |
|
108 |
+
| 1.1276 | 0.87 | 57000 | 1.0711 |
|
109 |
+
| 1.1241 | 0.89 | 58000 | 1.0686 |
|
110 |
+
| 1.123 | 0.9 | 59000 | 1.0665 |
|
111 |
+
| 1.1187 | 0.92 | 60000 | 1.0647 |
|
112 |
+
| 1.1123 | 0.93 | 61000 | 1.0636 |
|
113 |
+
| 1.1159 | 0.95 | 62000 | 1.0628 |
|
114 |
+
| 1.1133 | 0.97 | 63000 | 1.0623 |
|
115 |
+
| 1.1181 | 0.98 | 64000 | 1.0621 |
|
116 |
+
| 1.1125 | 1.0 | 65000 | 1.0621 |
|
117 |
+
|
118 |
+
|
119 |
+
### Framework versions
|
120 |
+
|
121 |
+
- Transformers 4.33.0.dev0
|
122 |
+
- Pytorch 2.0.0+cu117
|
123 |
+
- Datasets 2.14.4
|
124 |
+
- Tokenizers 0.13.3
|
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.33.0.dev0"
|
6 |
+
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 497017693
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:11dda68514c3406ccf18058e93b4095149afbe489c344b0cf88dbf3fda0f9692
|
3 |
size 497017693
|