Uploaded checkpoint-500
Browse files- config.json +30 -0
- generation_config.json +4 -0
- model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +379 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/phi-1_5",
|
3 |
+
"architectures": [
|
4 |
+
"PhiForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": null,
|
8 |
+
"embd_pdrop": 0.0,
|
9 |
+
"eos_token_id": null,
|
10 |
+
"hidden_act": "gelu_new",
|
11 |
+
"hidden_size": 2048,
|
12 |
+
"initializer_range": 0.02,
|
13 |
+
"intermediate_size": 8192,
|
14 |
+
"layer_norm_eps": 1e-05,
|
15 |
+
"max_position_embeddings": 2048,
|
16 |
+
"model_type": "phi",
|
17 |
+
"num_attention_heads": 32,
|
18 |
+
"num_hidden_layers": 24,
|
19 |
+
"num_key_value_heads": 32,
|
20 |
+
"partial_rotary_factor": 0.5,
|
21 |
+
"qk_layernorm": false,
|
22 |
+
"resid_pdrop": 0.0,
|
23 |
+
"rope_scaling": null,
|
24 |
+
"rope_theta": 10000.0,
|
25 |
+
"tie_word_embeddings": false,
|
26 |
+
"torch_dtype": "bfloat16",
|
27 |
+
"transformers_version": "4.38.2",
|
28 |
+
"use_cache": true,
|
29 |
+
"vocab_size": 51200
|
30 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"transformers_version": "4.38.2"
|
4 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ce23886c655ee1c47a0aa80c029c82dfc420d2de4c463cf7749e3260e157c741
|
3 |
+
size 2836579040
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e5599d51e2bd2e74a84a4f9d836728c794d17a83e97511705b560c34e2990bd4
|
3 |
+
size 5673376169
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4331db6fde055daaa387d6b31fd8eec31f21908a09d4d37a76fd41feb521f465
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:08700a617eca3873937a04b3a836821cf0c2c003eb33be7c9039ba1cfd407652
|
3 |
+
size 1064
|
trainer_state.json
ADDED
@@ -0,0 +1,379 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.025,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 500,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.0,
|
13 |
+
"grad_norm": 83.0,
|
14 |
+
"learning_rate": 2e-08,
|
15 |
+
"loss": 7.8413,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.0,
|
20 |
+
"grad_norm": 82.0,
|
21 |
+
"learning_rate": 4e-08,
|
22 |
+
"loss": 7.8305,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.0,
|
27 |
+
"grad_norm": 84.0,
|
28 |
+
"learning_rate": 6e-08,
|
29 |
+
"loss": 7.8515,
|
30 |
+
"step": 30
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.0,
|
34 |
+
"grad_norm": 83.5,
|
35 |
+
"learning_rate": 8e-08,
|
36 |
+
"loss": 7.8284,
|
37 |
+
"step": 40
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.0,
|
41 |
+
"grad_norm": 82.0,
|
42 |
+
"learning_rate": 1e-07,
|
43 |
+
"loss": 7.8162,
|
44 |
+
"step": 50
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.0,
|
48 |
+
"grad_norm": 83.5,
|
49 |
+
"learning_rate": 1.2e-07,
|
50 |
+
"loss": 7.8523,
|
51 |
+
"step": 60
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.0,
|
55 |
+
"grad_norm": 81.0,
|
56 |
+
"learning_rate": 1.4e-07,
|
57 |
+
"loss": 7.8326,
|
58 |
+
"step": 70
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.0,
|
62 |
+
"grad_norm": 83.0,
|
63 |
+
"learning_rate": 1.6e-07,
|
64 |
+
"loss": 7.8242,
|
65 |
+
"step": 80
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.0,
|
69 |
+
"grad_norm": 81.5,
|
70 |
+
"learning_rate": 1.8e-07,
|
71 |
+
"loss": 7.8319,
|
72 |
+
"step": 90
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.01,
|
76 |
+
"grad_norm": 81.5,
|
77 |
+
"learning_rate": 2e-07,
|
78 |
+
"loss": 7.8175,
|
79 |
+
"step": 100
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.01,
|
83 |
+
"grad_norm": 83.0,
|
84 |
+
"learning_rate": 2.1999999999999998e-07,
|
85 |
+
"loss": 7.8136,
|
86 |
+
"step": 110
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.01,
|
90 |
+
"grad_norm": 81.5,
|
91 |
+
"learning_rate": 2.4e-07,
|
92 |
+
"loss": 7.846,
|
93 |
+
"step": 120
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.01,
|
97 |
+
"grad_norm": 82.5,
|
98 |
+
"learning_rate": 2.6e-07,
|
99 |
+
"loss": 7.8039,
|
100 |
+
"step": 130
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.01,
|
104 |
+
"grad_norm": 82.5,
|
105 |
+
"learning_rate": 2.8e-07,
|
106 |
+
"loss": 7.8113,
|
107 |
+
"step": 140
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.01,
|
111 |
+
"grad_norm": 82.5,
|
112 |
+
"learning_rate": 3e-07,
|
113 |
+
"loss": 7.7837,
|
114 |
+
"step": 150
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.01,
|
118 |
+
"grad_norm": 80.5,
|
119 |
+
"learning_rate": 3.2e-07,
|
120 |
+
"loss": 7.7796,
|
121 |
+
"step": 160
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.01,
|
125 |
+
"grad_norm": 82.0,
|
126 |
+
"learning_rate": 3.4000000000000003e-07,
|
127 |
+
"loss": 7.8044,
|
128 |
+
"step": 170
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.01,
|
132 |
+
"grad_norm": 81.5,
|
133 |
+
"learning_rate": 3.6e-07,
|
134 |
+
"loss": 7.7643,
|
135 |
+
"step": 180
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.01,
|
139 |
+
"grad_norm": 82.0,
|
140 |
+
"learning_rate": 3.7999999999999996e-07,
|
141 |
+
"loss": 7.7304,
|
142 |
+
"step": 190
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.01,
|
146 |
+
"grad_norm": 82.0,
|
147 |
+
"learning_rate": 4e-07,
|
148 |
+
"loss": 7.7071,
|
149 |
+
"step": 200
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.01,
|
153 |
+
"grad_norm": 80.5,
|
154 |
+
"learning_rate": 4.1999999999999995e-07,
|
155 |
+
"loss": 7.7164,
|
156 |
+
"step": 210
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.01,
|
160 |
+
"grad_norm": 82.5,
|
161 |
+
"learning_rate": 4.3999999999999997e-07,
|
162 |
+
"loss": 7.7243,
|
163 |
+
"step": 220
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.01,
|
167 |
+
"grad_norm": 80.5,
|
168 |
+
"learning_rate": 4.6e-07,
|
169 |
+
"loss": 7.6916,
|
170 |
+
"step": 230
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.01,
|
174 |
+
"grad_norm": 81.0,
|
175 |
+
"learning_rate": 4.8e-07,
|
176 |
+
"loss": 7.6749,
|
177 |
+
"step": 240
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.01,
|
181 |
+
"grad_norm": 80.5,
|
182 |
+
"learning_rate": 5e-07,
|
183 |
+
"loss": 7.6817,
|
184 |
+
"step": 250
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.01,
|
188 |
+
"grad_norm": 81.0,
|
189 |
+
"learning_rate": 5.2e-07,
|
190 |
+
"loss": 7.6871,
|
191 |
+
"step": 260
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.01,
|
195 |
+
"grad_norm": 80.5,
|
196 |
+
"learning_rate": 5.4e-07,
|
197 |
+
"loss": 7.6558,
|
198 |
+
"step": 270
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.01,
|
202 |
+
"grad_norm": 80.5,
|
203 |
+
"learning_rate": 5.6e-07,
|
204 |
+
"loss": 7.5715,
|
205 |
+
"step": 280
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.01,
|
209 |
+
"grad_norm": 79.0,
|
210 |
+
"learning_rate": 5.8e-07,
|
211 |
+
"loss": 7.5422,
|
212 |
+
"step": 290
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.01,
|
216 |
+
"grad_norm": 80.0,
|
217 |
+
"learning_rate": 6e-07,
|
218 |
+
"loss": 7.4936,
|
219 |
+
"step": 300
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.02,
|
223 |
+
"grad_norm": 78.5,
|
224 |
+
"learning_rate": 6.2e-07,
|
225 |
+
"loss": 7.4695,
|
226 |
+
"step": 310
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.02,
|
230 |
+
"grad_norm": 79.0,
|
231 |
+
"learning_rate": 6.4e-07,
|
232 |
+
"loss": 7.4154,
|
233 |
+
"step": 320
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 0.02,
|
237 |
+
"grad_norm": 78.0,
|
238 |
+
"learning_rate": 6.6e-07,
|
239 |
+
"loss": 7.3668,
|
240 |
+
"step": 330
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 0.02,
|
244 |
+
"grad_norm": 79.0,
|
245 |
+
"learning_rate": 6.800000000000001e-07,
|
246 |
+
"loss": 7.3532,
|
247 |
+
"step": 340
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 0.02,
|
251 |
+
"grad_norm": 77.5,
|
252 |
+
"learning_rate": 7e-07,
|
253 |
+
"loss": 7.2727,
|
254 |
+
"step": 350
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 0.02,
|
258 |
+
"grad_norm": 77.5,
|
259 |
+
"learning_rate": 7.2e-07,
|
260 |
+
"loss": 7.2473,
|
261 |
+
"step": 360
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 0.02,
|
265 |
+
"grad_norm": 78.0,
|
266 |
+
"learning_rate": 7.4e-07,
|
267 |
+
"loss": 7.236,
|
268 |
+
"step": 370
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 0.02,
|
272 |
+
"grad_norm": 77.5,
|
273 |
+
"learning_rate": 7.599999999999999e-07,
|
274 |
+
"loss": 7.1711,
|
275 |
+
"step": 380
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 0.02,
|
279 |
+
"grad_norm": 77.5,
|
280 |
+
"learning_rate": 7.799999999999999e-07,
|
281 |
+
"loss": 7.1217,
|
282 |
+
"step": 390
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 0.02,
|
286 |
+
"grad_norm": 77.5,
|
287 |
+
"learning_rate": 8e-07,
|
288 |
+
"loss": 7.1038,
|
289 |
+
"step": 400
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 0.02,
|
293 |
+
"grad_norm": 78.0,
|
294 |
+
"learning_rate": 8.199999999999999e-07,
|
295 |
+
"loss": 7.0849,
|
296 |
+
"step": 410
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 0.02,
|
300 |
+
"grad_norm": 78.0,
|
301 |
+
"learning_rate": 8.399999999999999e-07,
|
302 |
+
"loss": 7.0331,
|
303 |
+
"step": 420
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 0.02,
|
307 |
+
"grad_norm": 77.0,
|
308 |
+
"learning_rate": 8.599999999999999e-07,
|
309 |
+
"loss": 6.9839,
|
310 |
+
"step": 430
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 0.02,
|
314 |
+
"grad_norm": 77.0,
|
315 |
+
"learning_rate": 8.799999999999999e-07,
|
316 |
+
"loss": 6.962,
|
317 |
+
"step": 440
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 0.02,
|
321 |
+
"grad_norm": 77.0,
|
322 |
+
"learning_rate": 9e-07,
|
323 |
+
"loss": 6.9108,
|
324 |
+
"step": 450
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 0.02,
|
328 |
+
"grad_norm": 77.5,
|
329 |
+
"learning_rate": 9.2e-07,
|
330 |
+
"loss": 6.8641,
|
331 |
+
"step": 460
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 0.02,
|
335 |
+
"grad_norm": 77.5,
|
336 |
+
"learning_rate": 9.399999999999999e-07,
|
337 |
+
"loss": 6.7994,
|
338 |
+
"step": 470
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 0.02,
|
342 |
+
"grad_norm": 77.0,
|
343 |
+
"learning_rate": 9.6e-07,
|
344 |
+
"loss": 6.7141,
|
345 |
+
"step": 480
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 0.02,
|
349 |
+
"grad_norm": 77.0,
|
350 |
+
"learning_rate": 9.8e-07,
|
351 |
+
"loss": 6.6188,
|
352 |
+
"step": 490
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 0.03,
|
356 |
+
"grad_norm": 77.5,
|
357 |
+
"learning_rate": 1e-06,
|
358 |
+
"loss": 6.4929,
|
359 |
+
"step": 500
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 0.03,
|
363 |
+
"eval_loss": 6.463568210601807,
|
364 |
+
"eval_runtime": 65.3176,
|
365 |
+
"eval_samples_per_second": 15.31,
|
366 |
+
"eval_steps_per_second": 15.31,
|
367 |
+
"step": 500
|
368 |
+
}
|
369 |
+
],
|
370 |
+
"logging_steps": 10,
|
371 |
+
"max_steps": 2000,
|
372 |
+
"num_input_tokens_seen": 0,
|
373 |
+
"num_train_epochs": 1,
|
374 |
+
"save_steps": 500,
|
375 |
+
"total_flos": 8069610209280000.0,
|
376 |
+
"train_batch_size": 1,
|
377 |
+
"trial_name": null,
|
378 |
+
"trial_params": null
|
379 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:19944903e3ccaf3172c307e0ceb8ba3a6c95b865720ba0cb88595086e1352e7b
|
3 |
+
size 4856
|