Upload 14 files
Browse files- added_tokens.json +3 -0
- config.json +34 -0
- generation_config.json +6 -0
- merges.txt +0 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scaler.pt +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +23 -0
- tokenizer.json +0 -0
- tokenizer_config.json +33 -0
- trainer_state.json +316 -0
- training_args.bin +3 -0
- vocab.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 50257
|
3 |
+
}
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "models/rugpt3small_based_on_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 |
+
"gradient_checkpointing": false,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"layer_norm_epsilon": 1e-05,
|
14 |
+
"model_type": "gpt2",
|
15 |
+
"n_ctx": 2048,
|
16 |
+
"n_embd": 768,
|
17 |
+
"n_head": 12,
|
18 |
+
"n_inner": null,
|
19 |
+
"n_layer": 12,
|
20 |
+
"n_positions": 2048,
|
21 |
+
"reorder_and_upcast_attn": false,
|
22 |
+
"resid_pdrop": 0.1,
|
23 |
+
"scale_attn_by_inverse_layer_idx": false,
|
24 |
+
"scale_attn_weights": true,
|
25 |
+
"summary_activation": null,
|
26 |
+
"summary_first_dropout": 0.1,
|
27 |
+
"summary_proj_to_labels": true,
|
28 |
+
"summary_type": "cls_index",
|
29 |
+
"summary_use_proj": true,
|
30 |
+
"torch_dtype": "float32",
|
31 |
+
"transformers_version": "4.27.0.dev0",
|
32 |
+
"use_cache": true,
|
33 |
+
"vocab_size": 50264
|
34 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 50256,
|
4 |
+
"eos_token_id": 50256,
|
5 |
+
"transformers_version": "4.27.0.dev0"
|
6 |
+
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7736c7c111053943451259b2fb59fb2d9c3f9b6afb5ab7d061c62bf2f997b1d8
|
3 |
+
size 551312489
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5746bff09d89ef7060a8dccbca1f9cabecb05a1509267c111a258d958b02f1e8
|
3 |
+
size 14503
|
scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6cf416fce5694cdfc36b67b5d425c7313e1abd9c091a4ed5257cb6a7773ef8d3
|
3 |
+
size 559
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2809f5ad657bace59f5f2602f7c3b40c615207b714a4efc630b399407583be95
|
3 |
+
size 623
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|endoftext|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": true,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|endoftext|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": true,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"unk_token": {
|
17 |
+
"content": "<|endoftext|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": true,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": false,
|
3 |
+
"add_prefix_space": false,
|
4 |
+
"bos_token": {
|
5 |
+
"__type": "AddedToken",
|
6 |
+
"content": "<|endoftext|>",
|
7 |
+
"lstrip": false,
|
8 |
+
"normalized": true,
|
9 |
+
"rstrip": false,
|
10 |
+
"single_word": false
|
11 |
+
},
|
12 |
+
"eos_token": {
|
13 |
+
"__type": "AddedToken",
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": true,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
},
|
20 |
+
"errors": "replace",
|
21 |
+
"model_max_length": 1000000000000000019884624838656,
|
22 |
+
"pad_token": null,
|
23 |
+
"special_tokens_map_file": null,
|
24 |
+
"tokenizer_class": "GPT2Tokenizer",
|
25 |
+
"unk_token":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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 4.6807713911252575,
|
5 |
+
"global_step": 25000,
|
6 |
+
"is_hyper_param_search": false,
|
7 |
+
"is_local_process_zero": true,
|
8 |
+
"is_world_process_zero": true,
|
9 |
+
"log_history": [
|
10 |
+
{
|
11 |
+
"epoch": 0.09,
|
12 |
+
"learning_rate": 4.995319228608875e-05,
|
13 |
+
"loss": 3.2415,
|
14 |
+
"step": 500
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.19,
|
18 |
+
"learning_rate": 4.9906384572177495e-05,
|
19 |
+
"loss": 3.1877,
|
20 |
+
"step": 1000
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.28,
|
24 |
+
"learning_rate": 4.9859576858266244e-05,
|
25 |
+
"loss": 3.16,
|
26 |
+
"step": 1500
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.37,
|
30 |
+
"learning_rate": 4.9812769144354994e-05,
|
31 |
+
"loss": 3.106,
|
32 |
+
"step": 2000
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.47,
|
36 |
+
"learning_rate": 4.9766055045871565e-05,
|
37 |
+
"loss": 3.1023,
|
38 |
+
"step": 2500
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.56,
|
42 |
+
"learning_rate": 4.971924733196031e-05,
|
43 |
+
"loss": 3.0976,
|
44 |
+
"step": 3000
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.66,
|
48 |
+
"learning_rate": 4.967243961804906e-05,
|
49 |
+
"loss": 3.0841,
|
50 |
+
"step": 3500
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 0.75,
|
54 |
+
"learning_rate": 4.96256319041378e-05,
|
55 |
+
"loss": 3.0686,
|
56 |
+
"step": 4000
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"epoch": 0.84,
|
60 |
+
"learning_rate": 4.957882419022655e-05,
|
61 |
+
"loss": 3.0504,
|
62 |
+
"step": 4500
|
63 |
+
},
|
64 |
+
{
|
65 |
+
"epoch": 0.94,
|
66 |
+
"learning_rate": 4.953211009174312e-05,
|
67 |
+
"loss": 3.0647,
|
68 |
+
"step": 5000
|
69 |
+
},
|
70 |
+
{
|
71 |
+
"epoch": 1.03,
|
72 |
+
"learning_rate": 4.948530237783187e-05,
|
73 |
+
"loss": 2.9605,
|
74 |
+
"step": 5500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.12,
|
78 |
+
"learning_rate": 4.9438494663920614e-05,
|
79 |
+
"loss": 2.83,
|
80 |
+
"step": 6000
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.22,
|
84 |
+
"learning_rate": 4.9391686950009364e-05,
|
85 |
+
"loss": 2.8551,
|
86 |
+
"step": 6500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.31,
|
90 |
+
"learning_rate": 4.9344972851525935e-05,
|
91 |
+
"loss": 2.8582,
|
92 |
+
"step": 7000
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 1.4,
|
96 |
+
"learning_rate": 4.9298165137614684e-05,
|
97 |
+
"loss": 2.8605,
|
98 |
+
"step": 7500
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 1.5,
|
102 |
+
"learning_rate": 4.9251357423703434e-05,
|
103 |
+
"loss": 2.8591,
|
104 |
+
"step": 8000
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"epoch": 1.59,
|
108 |
+
"learning_rate": 4.920454970979218e-05,
|
109 |
+
"loss": 2.8611,
|
110 |
+
"step": 8500
|
111 |
+
},
|
112 |
+
{
|
113 |
+
"epoch": 1.69,
|
114 |
+
"learning_rate": 4.9157741995880926e-05,
|
115 |
+
"loss": 2.8545,
|
116 |
+
"step": 9000
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 1.78,
|
120 |
+
"learning_rate": 4.9110934281969676e-05,
|
121 |
+
"loss": 2.8659,
|
122 |
+
"step": 9500
|
123 |
+
},
|
124 |
+
{
|
125 |
+
"epoch": 1.87,
|
126 |
+
"learning_rate": 4.906412656805842e-05,
|
127 |
+
"loss": 2.8525,
|
128 |
+
"step": 10000
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 1.97,
|
132 |
+
"learning_rate": 4.901741246957498e-05,
|
133 |
+
"loss": 2.868,
|
134 |
+
"step": 10500
|
135 |
+
},
|
136 |
+
{
|
137 |
+
"epoch": 2.06,
|
138 |
+
"learning_rate": 4.897060475566373e-05,
|
139 |
+
"loss": 2.7281,
|
140 |
+
"step": 11000
|
141 |
+
},
|
142 |
+
{
|
143 |
+
"epoch": 2.15,
|
144 |
+
"learning_rate": 4.892379704175248e-05,
|
145 |
+
"loss": 2.6595,
|
146 |
+
"step": 11500
|
147 |
+
},
|
148 |
+
{
|
149 |
+
"epoch": 2.25,
|
150 |
+
"learning_rate": 4.887698932784123e-05,
|
151 |
+
"loss": 2.6782,
|
152 |
+
"step": 12000
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 2.34,
|
156 |
+
"learning_rate": 4.8830181613929975e-05,
|
157 |
+
"loss": 2.6556,
|
158 |
+
"step": 12500
|
159 |
+
},
|
160 |
+
{
|
161 |
+
"epoch": 2.43,
|
162 |
+
"learning_rate": 4.8783373900018725e-05,
|
163 |
+
"loss": 2.6926,
|
164 |
+
"step": 13000
|
165 |
+
},
|
166 |
+
{
|
167 |
+
"epoch": 2.53,
|
168 |
+
"learning_rate": 4.8736566186107474e-05,
|
169 |
+
"loss": 2.6984,
|
170 |
+
"step": 13500
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 2.62,
|
174 |
+
"learning_rate": 4.8689758472196224e-05,
|
175 |
+
"loss": 2.6981,
|
176 |
+
"step": 14000
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 2.71,
|
180 |
+
"learning_rate": 4.8643044373712795e-05,
|
181 |
+
"loss": 2.702,
|
182 |
+
"step": 14500
|
183 |
+
},
|
184 |
+
{
|
185 |
+
"epoch": 2.81,
|
186 |
+
"learning_rate": 4.859623665980154e-05,
|
187 |
+
"loss": 2.689,
|
188 |
+
"step": 15000
|
189 |
+
},
|
190 |
+
{
|
191 |
+
"epoch": 2.9,
|
192 |
+
"learning_rate": 4.854942894589029e-05,
|
193 |
+
"loss": 2.6981,
|
194 |
+
"step": 15500
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 3.0,
|
198 |
+
"learning_rate": 4.850262123197904e-05,
|
199 |
+
"loss": 2.7248,
|
200 |
+
"step": 16000
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 3.09,
|
204 |
+
"learning_rate": 4.845581351806778e-05,
|
205 |
+
"loss": 2.5182,
|
206 |
+
"step": 16500
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 3.18,
|
210 |
+
"learning_rate": 4.840900580415653e-05,
|
211 |
+
"loss": 2.5234,
|
212 |
+
"step": 17000
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 3.28,
|
216 |
+
"learning_rate": 4.8362291705673094e-05,
|
217 |
+
"loss": 2.5263,
|
218 |
+
"step": 17500
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 3.37,
|
222 |
+
"learning_rate": 4.8315483991761844e-05,
|
223 |
+
"loss": 2.5354,
|
224 |
+
"step": 18000
|
225 |
+
},
|
226 |
+
{
|
227 |
+
"epoch": 3.46,
|
228 |
+
"learning_rate": 4.826867627785059e-05,
|
229 |
+
"loss": 2.5474,
|
230 |
+
"step": 18500
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 3.56,
|
234 |
+
"learning_rate": 4.8221868563939336e-05,
|
235 |
+
"loss": 2.5553,
|
236 |
+
"step": 19000
|
237 |
+
},
|
238 |
+
{
|
239 |
+
"epoch": 3.65,
|
240 |
+
"learning_rate": 4.8175060850028086e-05,
|
241 |
+
"loss": 2.5713,
|
242 |
+
"step": 19500
|
243 |
+
},
|
244 |
+
{
|
245 |
+
"epoch": 3.74,
|
246 |
+
"learning_rate": 4.812834675154466e-05,
|
247 |
+
"loss": 2.5589,
|
248 |
+
"step": 20000
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 3.84,
|
252 |
+
"learning_rate": 4.8081539037633407e-05,
|
253 |
+
"loss": 2.5645,
|
254 |
+
"step": 20500
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 3.93,
|
258 |
+
"learning_rate": 4.8034731323722156e-05,
|
259 |
+
"loss": 2.5756,
|
260 |
+
"step": 21000
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"epoch": 4.03,
|
264 |
+
"learning_rate": 4.79879236098109e-05,
|
265 |
+
"loss": 2.5252,
|
266 |
+
"step": 21500
|
267 |
+
},
|
268 |
+
{
|
269 |
+
"epoch": 4.12,
|
270 |
+
"learning_rate": 4.794120951132747e-05,
|
271 |
+
"loss": 2.3718,
|
272 |
+
"step": 22000
|
273 |
+
},
|
274 |
+
{
|
275 |
+
"epoch": 4.21,
|
276 |
+
"learning_rate": 4.789440179741621e-05,
|
277 |
+
"loss": 2.3778,
|
278 |
+
"step": 22500
|
279 |
+
},
|
280 |
+
{
|
281 |
+
"epoch": 4.31,
|
282 |
+
"learning_rate": 4.784759408350496e-05,
|
283 |
+
"loss": 2.3979,
|
284 |
+
"step": 23000
|
285 |
+
},
|
286 |
+
{
|
287 |
+
"epoch": 4.4,
|
288 |
+
"learning_rate": 4.7800786369593706e-05,
|
289 |
+
"loss": 2.4116,
|
290 |
+
"step": 23500
|
291 |
+
},
|
292 |
+
{
|
293 |
+
"epoch": 4.49,
|
294 |
+
"learning_rate": 4.7753978655682455e-05,
|
295 |
+
"loss": 2.4175,
|
296 |
+
"step": 24000
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 4.59,
|
300 |
+
"learning_rate": 4.7707264557199026e-05,
|
301 |
+
"loss": 2.441,
|
302 |
+
"step": 24500
|
303 |
+
},
|
304 |
+
{
|
305 |
+
"epoch": 4.68,
|
306 |
+
"learning_rate": 4.7660456843287776e-05,
|
307 |
+
"loss": 2.4519,
|
308 |
+
"step": 25000
|
309 |
+
}
|
310 |
+
],
|
311 |
+
"max_steps": 534100,
|
312 |
+
"num_train_epochs": 100,
|
313 |
+
"total_flos": 1.30646016e+16,
|
314 |
+
"trial_name": null,
|
315 |
+
"trial_params": null
|
316 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83f052d616f08d74bbaf0315780bb123a6087032e382e42ee1e35a8a0189d7f9
|
3 |
+
size 3503
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|