initial commit
Browse files- README.md +0 -3
- config.json +39 -0
- merges.txt +0 -0
- optimizer.pt +3 -0
- pytorch_model.bin +3 -0
- rng_state_0.pth +3 -0
- rng_state_1.pth +3 -0
- rng_state_2.pth +3 -0
- rng_state_3.pth +3 -0
- rng_state_4.pth +3 -0
- rng_state_5.pth +3 -0
- rng_state_6.pth +3 -0
- rng_state_7.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +1 -0
- tokenizer.json +0 -0
- tokenizer_config.json +1 -0
- trainer_state.json +274 -0
- training_args.bin +3 -0
- vocab.json +0 -0
README.md
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
---
|
2 |
-
license: mit
|
3 |
-
---
|
|
|
|
|
|
|
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gpt2",
|
3 |
+
"activation_function": "gelu_new",
|
4 |
+
"architectures": [
|
5 |
+
"GPT2LMHeadModel"
|
6 |
+
],
|
7 |
+
"attn_pdrop": 0.1,
|
8 |
+
"bos_token_id": 50256,
|
9 |
+
"embd_pdrop": 0.1,
|
10 |
+
"eos_token_id": 50256,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"layer_norm_epsilon": 1e-05,
|
13 |
+
"model_type": "gpt2",
|
14 |
+
"n_ctx": 1024,
|
15 |
+
"n_embd": 768,
|
16 |
+
"n_head": 12,
|
17 |
+
"n_inner": null,
|
18 |
+
"n_layer": 12,
|
19 |
+
"n_positions": 1024,
|
20 |
+
"reorder_and_upcast_attn": false,
|
21 |
+
"resid_pdrop": 0.1,
|
22 |
+
"scale_attn_by_inverse_layer_idx": false,
|
23 |
+
"scale_attn_weights": true,
|
24 |
+
"summary_activation": null,
|
25 |
+
"summary_first_dropout": 0.1,
|
26 |
+
"summary_proj_to_labels": true,
|
27 |
+
"summary_type": "cls_index",
|
28 |
+
"summary_use_proj": true,
|
29 |
+
"task_specific_params": {
|
30 |
+
"text-generation": {
|
31 |
+
"do_sample": true,
|
32 |
+
"max_length": 50
|
33 |
+
}
|
34 |
+
},
|
35 |
+
"torch_dtype": "float32",
|
36 |
+
"transformers_version": "4.12.0.dev0",
|
37 |
+
"use_cache": true,
|
38 |
+
"vocab_size": 50257
|
39 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:90bc30f4d880dce65c163494bec6385db92f94ca1d99676e07cb2f2e6dfd1ecf
|
3 |
+
size 995604916
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84b78f35dd336fc095f2833e5bdd515f5e2c5b66695f36a8404413fa3ff334f6
|
3 |
+
size 664786896
|
rng_state_0.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d7a3271b36f5164924ebadd0d757429d7c4fde32b6ff0b9bb210b1fc3eb22d18
|
3 |
+
size 13620
|
rng_state_1.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa2b472ae03768dea11ca42cd721a03052687ec394dbbf6a1b489fc196111668
|
3 |
+
size 13619
|
rng_state_2.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:faa42da6f2c261a7ce581218769c438be1654172ddb7beb552a53b2280348ccf
|
3 |
+
size 13619
|
rng_state_3.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:922fb9287419d0bb3acbe016e07044af46867ca6263101e8f3c809f04bef9489
|
3 |
+
size 13619
|
rng_state_4.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e1d871ed43f8a3b2528ab645ccdece69e734276f02cf4995ee28e8ac700f334b
|
3 |
+
size 13619
|
rng_state_5.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3641a416774fd46343a4fbd82cc2c5bdb59c1590147c519e75e7a1c37c78e1f3
|
3 |
+
size 13619
|
rng_state_6.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d22f31946da1748dcaa07c91fd2530a650422f81661c8526f55141d7743e4c9
|
3 |
+
size 13619
|
rng_state_7.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:91a70a1b1a028d38dbe1c8b511afc89bb7843932a3d99239d2cb9fd94374c227
|
3 |
+
size 13619
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f1366b3ebbb7dc7a8e7598c5d01e9a68da304fb0bf90f6d359a311a97039a9e6
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "unk_token": "<|endoftext|>"}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"unk_token": "<|endoftext|>", "bos_token": "<|endoftext|>", "eos_token": "<|endoftext|>", "add_prefix_space": false, "model_max_length": 1024, "special_tokens_map_file": null, "name_or_path": "models/gpt2_malagasy", "tokenizer_class": "GPT2Tokenizer"}
|
trainer_state.json
ADDED
@@ -0,0 +1,274 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 116.27799227799228,
|
5 |
+
"global_step": 15000,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 3.87,
|
12 |
+
"learning_rate": 1e-05,
|
13 |
+
"learning_rate_embeddings": 1e-05,
|
14 |
+
"loss": 8.5314,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 7.75,
|
19 |
+
"learning_rate": 2e-05,
|
20 |
+
"learning_rate_embeddings": 2e-05,
|
21 |
+
"loss": 5.6865,
|
22 |
+
"step": 1000
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"epoch": 11.63,
|
26 |
+
"learning_rate": 3e-05,
|
27 |
+
"learning_rate_embeddings": 3e-05,
|
28 |
+
"loss": 4.756,
|
29 |
+
"step": 1500
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 15.5,
|
33 |
+
"learning_rate": 4e-05,
|
34 |
+
"learning_rate_embeddings": 4e-05,
|
35 |
+
"loss": 4.3111,
|
36 |
+
"step": 2000
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"epoch": 19.38,
|
40 |
+
"learning_rate": 5e-05,
|
41 |
+
"learning_rate_embeddings": 5e-05,
|
42 |
+
"loss": 4.021,
|
43 |
+
"step": 2500
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"epoch": 19.38,
|
47 |
+
"eval_loss": 3.8212602138519287,
|
48 |
+
"eval_runtime": 23.2233,
|
49 |
+
"eval_samples_per_second": 315.33,
|
50 |
+
"eval_steps_per_second": 2.497,
|
51 |
+
"step": 2500
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 23.25,
|
55 |
+
"learning_rate": 6e-05,
|
56 |
+
"learning_rate_embeddings": 6e-05,
|
57 |
+
"loss": 3.829,
|
58 |
+
"step": 3000
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 27.13,
|
62 |
+
"learning_rate": 7.000000000000001e-05,
|
63 |
+
"learning_rate_embeddings": 7.000000000000001e-05,
|
64 |
+
"loss": 3.6784,
|
65 |
+
"step": 3500
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 31.01,
|
69 |
+
"learning_rate": 8e-05,
|
70 |
+
"learning_rate_embeddings": 8e-05,
|
71 |
+
"loss": 3.5455,
|
72 |
+
"step": 4000
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 34.88,
|
76 |
+
"learning_rate": 8.999999999999999e-05,
|
77 |
+
"learning_rate_embeddings": 8.999999999999999e-05,
|
78 |
+
"loss": 3.4304,
|
79 |
+
"step": 4500
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 38.76,
|
83 |
+
"learning_rate": 0.0001,
|
84 |
+
"learning_rate_embeddings": 0.0001,
|
85 |
+
"loss": 3.3348,
|
86 |
+
"step": 5000
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 38.76,
|
90 |
+
"eval_loss": 3.238213300704956,
|
91 |
+
"eval_runtime": 9.9786,
|
92 |
+
"eval_samples_per_second": 733.872,
|
93 |
+
"eval_steps_per_second": 5.812,
|
94 |
+
"step": 5000
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 42.63,
|
98 |
+
"learning_rate": 0.00011,
|
99 |
+
"learning_rate_embeddings": 0.00011,
|
100 |
+
"loss": 3.2411,
|
101 |
+
"step": 5500
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 46.51,
|
105 |
+
"learning_rate": 0.00012,
|
106 |
+
"learning_rate_embeddings": 0.00012,
|
107 |
+
"loss": 3.1542,
|
108 |
+
"step": 6000
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"epoch": 50.39,
|
112 |
+
"learning_rate": 0.00013000000000000002,
|
113 |
+
"learning_rate_embeddings": 0.00013000000000000002,
|
114 |
+
"loss": 3.0781,
|
115 |
+
"step": 6500
|
116 |
+
},
|
117 |
+
{
|
118 |
+
"epoch": 54.26,
|
119 |
+
"learning_rate": 0.00014000000000000001,
|
120 |
+
"learning_rate_embeddings": 0.00014000000000000001,
|
121 |
+
"loss": 3.0012,
|
122 |
+
"step": 7000
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 58.14,
|
126 |
+
"learning_rate": 0.00015,
|
127 |
+
"learning_rate_embeddings": 0.00015,
|
128 |
+
"loss": 2.9349,
|
129 |
+
"step": 7500
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 58.14,
|
133 |
+
"eval_loss": 2.92873477935791,
|
134 |
+
"eval_runtime": 9.9086,
|
135 |
+
"eval_samples_per_second": 739.053,
|
136 |
+
"eval_steps_per_second": 5.853,
|
137 |
+
"step": 7500
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 62.02,
|
141 |
+
"learning_rate": 0.00016,
|
142 |
+
"learning_rate_embeddings": 0.00016,
|
143 |
+
"loss": 2.8707,
|
144 |
+
"step": 8000
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 65.89,
|
148 |
+
"learning_rate": 0.00017,
|
149 |
+
"learning_rate_embeddings": 0.00017,
|
150 |
+
"loss": 2.8075,
|
151 |
+
"step": 8500
|
152 |
+
},
|
153 |
+
{
|
154 |
+
"epoch": 69.76,
|
155 |
+
"learning_rate": 0.00017999999999999998,
|
156 |
+
"learning_rate_embeddings": 0.00017999999999999998,
|
157 |
+
"loss": 2.7504,
|
158 |
+
"step": 9000
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 73.64,
|
162 |
+
"learning_rate": 0.00019,
|
163 |
+
"learning_rate_embeddings": 0.00019,
|
164 |
+
"loss": 2.695,
|
165 |
+
"step": 9500
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 77.52,
|
169 |
+
"learning_rate": 0.0002,
|
170 |
+
"learning_rate_embeddings": 0.0002,
|
171 |
+
"loss": 2.6372,
|
172 |
+
"step": 10000
|
173 |
+
},
|
174 |
+
{
|
175 |
+
"epoch": 77.52,
|
176 |
+
"eval_loss": 2.7580177783966064,
|
177 |
+
"eval_runtime": 9.9239,
|
178 |
+
"eval_samples_per_second": 737.915,
|
179 |
+
"eval_steps_per_second": 5.844,
|
180 |
+
"step": 10000
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"epoch": 81.39,
|
184 |
+
"learning_rate": 0.00021,
|
185 |
+
"learning_rate_embeddings": 0.00021,
|
186 |
+
"loss": 2.5911,
|
187 |
+
"step": 10500
|
188 |
+
},
|
189 |
+
{
|
190 |
+
"epoch": 85.27,
|
191 |
+
"learning_rate": 0.00022,
|
192 |
+
"learning_rate_embeddings": 0.00022,
|
193 |
+
"loss": 2.5392,
|
194 |
+
"step": 11000
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 89.15,
|
198 |
+
"learning_rate": 0.00023,
|
199 |
+
"learning_rate_embeddings": 0.00023,
|
200 |
+
"loss": 2.4921,
|
201 |
+
"step": 11500
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 93.02,
|
205 |
+
"learning_rate": 0.00024,
|
206 |
+
"learning_rate_embeddings": 0.00024,
|
207 |
+
"loss": 2.4477,
|
208 |
+
"step": 12000
|
209 |
+
},
|
210 |
+
{
|
211 |
+
"epoch": 96.9,
|
212 |
+
"learning_rate": 0.00025,
|
213 |
+
"learning_rate_embeddings": 0.00025,
|
214 |
+
"loss": 2.3984,
|
215 |
+
"step": 12500
|
216 |
+
},
|
217 |
+
{
|
218 |
+
"epoch": 96.9,
|
219 |
+
"eval_loss": 2.669841766357422,
|
220 |
+
"eval_runtime": 9.9424,
|
221 |
+
"eval_samples_per_second": 736.544,
|
222 |
+
"eval_steps_per_second": 5.834,
|
223 |
+
"step": 12500
|
224 |
+
},
|
225 |
+
{
|
226 |
+
"epoch": 100.77,
|
227 |
+
"learning_rate": 0.00026000000000000003,
|
228 |
+
"learning_rate_embeddings": 0.00026000000000000003,
|
229 |
+
"loss": 2.3548,
|
230 |
+
"step": 13000
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 104.65,
|
234 |
+
"learning_rate": 0.00027,
|
235 |
+
"learning_rate_embeddings": 0.00027,
|
236 |
+
"loss": 2.3141,
|
237 |
+
"step": 13500
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"epoch": 108.53,
|
241 |
+
"learning_rate": 0.00028000000000000003,
|
242 |
+
"learning_rate_embeddings": 0.00028000000000000003,
|
243 |
+
"loss": 2.2728,
|
244 |
+
"step": 14000
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"epoch": 112.4,
|
248 |
+
"learning_rate": 0.00029,
|
249 |
+
"learning_rate_embeddings": 0.00029,
|
250 |
+
"loss": 2.233,
|
251 |
+
"step": 14500
|
252 |
+
},
|
253 |
+
{
|
254 |
+
"epoch": 116.28,
|
255 |
+
"learning_rate": 0.0003,
|
256 |
+
"learning_rate_embeddings": 0.0003,
|
257 |
+
"loss": 2.1912,
|
258 |
+
"step": 15000
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 116.28,
|
262 |
+
"eval_loss": 2.6404244899749756,
|
263 |
+
"eval_runtime": 9.8742,
|
264 |
+
"eval_samples_per_second": 741.631,
|
265 |
+
"eval_steps_per_second": 5.874,
|
266 |
+
"step": 15000
|
267 |
+
}
|
268 |
+
],
|
269 |
+
"max_steps": 250000,
|
270 |
+
"num_train_epochs": 1938,
|
271 |
+
"total_flos": 2.51810266742784e+17,
|
272 |
+
"trial_name": null,
|
273 |
+
"trial_params": null
|
274 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f10a508872b406ac4e76fe14cff7f6ac1aa0e07a399c845fd4119a4ae5677044
|
3 |
+
size 2927
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|