WangXFng commited on
Commit
f90d155
·
verified ·
1 Parent(s): 3f8b935

Model save

Browse files
README.md CHANGED
@@ -33,12 +33,12 @@ More information needed
33
  ### Training hyperparameters
34
 
35
  The following hyperparameters were used during training:
36
- - learning_rate: 5e-05
37
  - train_batch_size: 16
38
  - eval_batch_size: 8
39
  - seed: 42
40
- - gradient_accumulation_steps: 2
41
- - total_train_batch_size: 32
42
  - optimizer: Use adamw_hf with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
  - lr_scheduler_type: linear
44
  - num_epochs: 4
 
33
  ### Training hyperparameters
34
 
35
  The following hyperparameters were used during training:
36
+ - learning_rate: 0.0001
37
  - train_batch_size: 16
38
  - eval_batch_size: 8
39
  - seed: 42
40
+ - gradient_accumulation_steps: 16
41
+ - total_train_batch_size: 256
42
  - optimizer: Use adamw_hf with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
43
  - lr_scheduler_type: linear
44
  - num_epochs: 4
adapter_config.json CHANGED
@@ -23,12 +23,12 @@
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
- "q_proj",
27
  "down_proj",
28
- "gate_proj",
29
- "up_proj",
30
  "o_proj",
31
  "v_proj",
 
 
32
  "k_proj"
33
  ],
34
  "task_type": "CAUSAL_LM",
 
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
 
26
  "down_proj",
27
+ "q_proj",
 
28
  "o_proj",
29
  "v_proj",
30
+ "up_proj",
31
+ "gate_proj",
32
  "k_proj"
33
  ],
34
  "task_type": "CAUSAL_LM",
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:16cd9a8e5f46f50293e70457511a4af4b76946ea70231fbd4014257df5bae496
3
  size 1684597880
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f75e051f545f7b4b5d813a9d83adce99064d6e449e1f56f879bb0c6f1513994
3
  size 1684597880
trainer_state.json CHANGED
@@ -3,478 +3,79 @@
3
  "best_model_checkpoint": null,
4
  "epoch": 4.0,
5
  "eval_steps": 500,
6
- "global_step": 16480,
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.06067961165048544,
13
- "grad_norm": 1.273590087890625,
14
- "learning_rate": 4.9241504854368934e-05,
15
- "loss": 2.4247,
16
- "step": 250
17
- },
18
- {
19
- "epoch": 0.12135922330097088,
20
- "grad_norm": 1.7102854251861572,
21
- "learning_rate": 4.8483009708737866e-05,
22
- "loss": 1.5428,
23
- "step": 500
24
- },
25
- {
26
- "epoch": 0.1820388349514563,
27
- "grad_norm": 1.6643282175064087,
28
- "learning_rate": 4.77245145631068e-05,
29
- "loss": 1.3308,
30
- "step": 750
31
- },
32
- {
33
- "epoch": 0.24271844660194175,
34
- "grad_norm": 2.5313572883605957,
35
- "learning_rate": 4.696601941747573e-05,
36
- "loss": 1.1866,
37
- "step": 1000
38
- },
39
- {
40
- "epoch": 0.30339805825242716,
41
- "grad_norm": 2.8626794815063477,
42
- "learning_rate": 4.620752427184466e-05,
43
- "loss": 1.0742,
44
- "step": 1250
45
- },
46
- {
47
- "epoch": 0.3640776699029126,
48
- "grad_norm": 6.631696701049805,
49
- "learning_rate": 4.544902912621359e-05,
50
- "loss": 0.9929,
51
- "step": 1500
52
- },
53
- {
54
- "epoch": 0.42475728155339804,
55
- "grad_norm": 3.0348339080810547,
56
- "learning_rate": 4.469053398058253e-05,
57
- "loss": 0.916,
58
- "step": 1750
59
- },
60
  {
61
  "epoch": 0.4854368932038835,
62
- "grad_norm": 2.9426558017730713,
63
- "learning_rate": 4.393203883495146e-05,
64
- "loss": 0.8828,
65
- "step": 2000
66
- },
67
- {
68
- "epoch": 0.5461165048543689,
69
- "grad_norm": 2.728257417678833,
70
- "learning_rate": 4.3173543689320386e-05,
71
- "loss": 0.8532,
72
- "step": 2250
73
- },
74
- {
75
- "epoch": 0.6067961165048543,
76
- "grad_norm": 3.021036386489868,
77
- "learning_rate": 4.2415048543689325e-05,
78
- "loss": 0.8377,
79
- "step": 2500
80
- },
81
- {
82
- "epoch": 0.6674757281553398,
83
- "grad_norm": 2.473598003387451,
84
- "learning_rate": 4.1656553398058256e-05,
85
- "loss": 0.8116,
86
- "step": 2750
87
- },
88
- {
89
- "epoch": 0.7281553398058253,
90
- "grad_norm": 2.487483024597168,
91
- "learning_rate": 4.089805825242719e-05,
92
- "loss": 0.7921,
93
- "step": 3000
94
- },
95
- {
96
- "epoch": 0.7888349514563107,
97
- "grad_norm": 2.476027488708496,
98
- "learning_rate": 4.013956310679612e-05,
99
- "loss": 0.7764,
100
- "step": 3250
101
- },
102
- {
103
- "epoch": 0.8495145631067961,
104
- "grad_norm": 2.163785696029663,
105
- "learning_rate": 3.938106796116505e-05,
106
- "loss": 0.7689,
107
- "step": 3500
108
- },
109
- {
110
- "epoch": 0.9101941747572816,
111
- "grad_norm": 2.3139920234680176,
112
- "learning_rate": 3.862257281553398e-05,
113
- "loss": 0.7681,
114
- "step": 3750
115
  },
116
  {
117
  "epoch": 0.970873786407767,
118
- "grad_norm": 2.3527328968048096,
119
- "learning_rate": 3.7864077669902914e-05,
120
- "loss": 0.7573,
121
- "step": 4000
122
- },
123
- {
124
- "epoch": 1.0315533980582525,
125
- "grad_norm": 2.44330096244812,
126
- "learning_rate": 3.7105582524271846e-05,
127
- "loss": 0.7521,
128
- "step": 4250
129
- },
130
- {
131
- "epoch": 1.0922330097087378,
132
- "grad_norm": 2.1583352088928223,
133
- "learning_rate": 3.634708737864078e-05,
134
- "loss": 0.7423,
135
- "step": 4500
136
- },
137
- {
138
- "epoch": 1.1529126213592233,
139
- "grad_norm": 2.255215644836426,
140
- "learning_rate": 3.558859223300971e-05,
141
- "loss": 0.7321,
142
- "step": 4750
143
- },
144
- {
145
- "epoch": 1.2135922330097086,
146
- "grad_norm": 2.872974395751953,
147
- "learning_rate": 3.483009708737864e-05,
148
- "loss": 0.7289,
149
- "step": 5000
150
- },
151
- {
152
- "epoch": 1.2742718446601942,
153
- "grad_norm": 2.6156952381134033,
154
- "learning_rate": 3.407160194174757e-05,
155
- "loss": 0.7313,
156
- "step": 5250
157
- },
158
- {
159
- "epoch": 1.3349514563106797,
160
- "grad_norm": 2.401933193206787,
161
- "learning_rate": 3.3313106796116504e-05,
162
- "loss": 0.7337,
163
- "step": 5500
164
- },
165
- {
166
- "epoch": 1.395631067961165,
167
- "grad_norm": 2.6419358253479004,
168
- "learning_rate": 3.255461165048544e-05,
169
- "loss": 0.728,
170
- "step": 5750
171
  },
172
  {
173
  "epoch": 1.4563106796116505,
174
- "grad_norm": 3.051607608795166,
175
- "learning_rate": 3.1796116504854373e-05,
176
- "loss": 0.7162,
177
- "step": 6000
178
- },
179
- {
180
- "epoch": 1.516990291262136,
181
- "grad_norm": 2.9298923015594482,
182
- "learning_rate": 3.10376213592233e-05,
183
- "loss": 0.7044,
184
- "step": 6250
185
- },
186
- {
187
- "epoch": 1.5776699029126213,
188
- "grad_norm": 2.739171028137207,
189
- "learning_rate": 3.0279126213592237e-05,
190
- "loss": 0.698,
191
- "step": 6500
192
- },
193
- {
194
- "epoch": 1.6383495145631068,
195
- "grad_norm": 3.524129629135132,
196
- "learning_rate": 2.9520631067961168e-05,
197
- "loss": 0.7058,
198
- "step": 6750
199
- },
200
- {
201
- "epoch": 1.6990291262135924,
202
- "grad_norm": 3.441566228866577,
203
- "learning_rate": 2.8762135922330096e-05,
204
- "loss": 0.6878,
205
- "step": 7000
206
- },
207
- {
208
- "epoch": 1.7597087378640777,
209
- "grad_norm": 3.8912746906280518,
210
- "learning_rate": 2.800364077669903e-05,
211
- "loss": 0.6875,
212
- "step": 7250
213
- },
214
- {
215
- "epoch": 1.820388349514563,
216
- "grad_norm": 3.1602139472961426,
217
- "learning_rate": 2.7245145631067963e-05,
218
- "loss": 0.6851,
219
- "step": 7500
220
- },
221
- {
222
- "epoch": 1.8810679611650487,
223
- "grad_norm": 3.7168660163879395,
224
- "learning_rate": 2.648665048543689e-05,
225
- "loss": 0.6841,
226
- "step": 7750
227
  },
228
  {
229
  "epoch": 1.941747572815534,
230
- "grad_norm": 3.787256956100464,
231
- "learning_rate": 2.5728155339805826e-05,
232
- "loss": 0.6741,
233
- "step": 8000
234
- },
235
- {
236
- "epoch": 2.0024271844660193,
237
- "grad_norm": 3.769205331802368,
238
- "learning_rate": 2.4969660194174758e-05,
239
- "loss": 0.6617,
240
- "step": 8250
241
- },
242
- {
243
- "epoch": 2.063106796116505,
244
- "grad_norm": 5.271848201751709,
245
- "learning_rate": 2.4211165048543692e-05,
246
- "loss": 0.6576,
247
- "step": 8500
248
- },
249
- {
250
- "epoch": 2.1237864077669903,
251
- "grad_norm": 4.380245208740234,
252
- "learning_rate": 2.345266990291262e-05,
253
- "loss": 0.6534,
254
- "step": 8750
255
- },
256
- {
257
- "epoch": 2.1844660194174756,
258
- "grad_norm": 4.646461009979248,
259
- "learning_rate": 2.2694174757281556e-05,
260
- "loss": 0.6467,
261
- "step": 9000
262
- },
263
- {
264
- "epoch": 2.2451456310679614,
265
- "grad_norm": 4.234325885772705,
266
- "learning_rate": 2.1935679611650487e-05,
267
- "loss": 0.6494,
268
- "step": 9250
269
- },
270
- {
271
- "epoch": 2.3058252427184467,
272
- "grad_norm": 4.548443794250488,
273
- "learning_rate": 2.117718446601942e-05,
274
- "loss": 0.6407,
275
- "step": 9500
276
- },
277
- {
278
- "epoch": 2.366504854368932,
279
- "grad_norm": 4.539821624755859,
280
- "learning_rate": 2.041868932038835e-05,
281
- "loss": 0.6275,
282
- "step": 9750
283
  },
284
  {
285
  "epoch": 2.4271844660194173,
286
- "grad_norm": 5.217247009277344,
287
- "learning_rate": 1.9660194174757282e-05,
288
- "loss": 0.6258,
289
- "step": 10000
290
- },
291
- {
292
- "epoch": 2.487864077669903,
293
- "grad_norm": 5.887857913970947,
294
- "learning_rate": 1.8901699029126217e-05,
295
- "loss": 0.6184,
296
- "step": 10250
297
- },
298
- {
299
- "epoch": 2.5485436893203883,
300
- "grad_norm": 4.96919584274292,
301
- "learning_rate": 1.814320388349515e-05,
302
- "loss": 0.622,
303
- "step": 10500
304
- },
305
- {
306
- "epoch": 2.6092233009708736,
307
- "grad_norm": 5.683660984039307,
308
- "learning_rate": 1.7384708737864077e-05,
309
- "loss": 0.6203,
310
- "step": 10750
311
- },
312
- {
313
- "epoch": 2.6699029126213594,
314
- "grad_norm": 7.270623683929443,
315
- "learning_rate": 1.662621359223301e-05,
316
- "loss": 0.6193,
317
- "step": 11000
318
- },
319
- {
320
- "epoch": 2.7305825242718447,
321
- "grad_norm": 6.315695762634277,
322
- "learning_rate": 1.5867718446601943e-05,
323
- "loss": 0.6109,
324
- "step": 11250
325
- },
326
- {
327
- "epoch": 2.79126213592233,
328
- "grad_norm": 5.317906856536865,
329
- "learning_rate": 1.5109223300970873e-05,
330
- "loss": 0.606,
331
- "step": 11500
332
- },
333
- {
334
- "epoch": 2.8519417475728153,
335
- "grad_norm": 5.550199508666992,
336
- "learning_rate": 1.4350728155339808e-05,
337
- "loss": 0.6033,
338
- "step": 11750
339
  },
340
  {
341
  "epoch": 2.912621359223301,
342
- "grad_norm": 5.8281941413879395,
343
- "learning_rate": 1.3592233009708738e-05,
344
- "loss": 0.5946,
345
- "step": 12000
346
- },
347
- {
348
- "epoch": 2.9733009708737863,
349
- "grad_norm": 5.76870059967041,
350
- "learning_rate": 1.2833737864077671e-05,
351
- "loss": 0.59,
352
- "step": 12250
353
- },
354
- {
355
- "epoch": 3.033980582524272,
356
- "grad_norm": 7.43914270401001,
357
- "learning_rate": 1.2075242718446603e-05,
358
- "loss": 0.5843,
359
- "step": 12500
360
- },
361
- {
362
- "epoch": 3.0946601941747574,
363
- "grad_norm": 5.4104390144348145,
364
- "learning_rate": 1.1316747572815536e-05,
365
- "loss": 0.5726,
366
- "step": 12750
367
- },
368
- {
369
- "epoch": 3.1553398058252426,
370
- "grad_norm": 7.808868885040283,
371
- "learning_rate": 1.0558252427184466e-05,
372
- "loss": 0.5755,
373
- "step": 13000
374
- },
375
- {
376
- "epoch": 3.216019417475728,
377
- "grad_norm": 5.40352201461792,
378
- "learning_rate": 9.799757281553399e-06,
379
- "loss": 0.5661,
380
- "step": 13250
381
- },
382
- {
383
- "epoch": 3.2766990291262137,
384
- "grad_norm": 6.617573261260986,
385
- "learning_rate": 9.04126213592233e-06,
386
- "loss": 0.5662,
387
- "step": 13500
388
- },
389
- {
390
- "epoch": 3.337378640776699,
391
- "grad_norm": 6.450667858123779,
392
- "learning_rate": 8.282766990291264e-06,
393
- "loss": 0.5668,
394
- "step": 13750
395
  },
396
  {
397
  "epoch": 3.3980582524271843,
398
- "grad_norm": 7.024094104766846,
399
- "learning_rate": 7.524271844660194e-06,
400
- "loss": 0.5654,
401
- "step": 14000
402
- },
403
- {
404
- "epoch": 3.45873786407767,
405
- "grad_norm": 6.141932487487793,
406
- "learning_rate": 6.765776699029126e-06,
407
- "loss": 0.564,
408
- "step": 14250
409
- },
410
- {
411
- "epoch": 3.5194174757281553,
412
- "grad_norm": 6.2105817794799805,
413
- "learning_rate": 6.0072815533980584e-06,
414
- "loss": 0.5592,
415
- "step": 14500
416
- },
417
- {
418
- "epoch": 3.5800970873786406,
419
- "grad_norm": 5.812750816345215,
420
- "learning_rate": 5.24878640776699e-06,
421
- "loss": 0.5577,
422
- "step": 14750
423
- },
424
- {
425
- "epoch": 3.6407766990291264,
426
- "grad_norm": 6.361168384552002,
427
- "learning_rate": 4.490291262135922e-06,
428
- "loss": 0.556,
429
- "step": 15000
430
- },
431
- {
432
- "epoch": 3.7014563106796117,
433
- "grad_norm": 5.725775241851807,
434
- "learning_rate": 3.7317961165048544e-06,
435
- "loss": 0.5499,
436
- "step": 15250
437
- },
438
- {
439
- "epoch": 3.762135922330097,
440
- "grad_norm": 5.730428695678711,
441
- "learning_rate": 2.973300970873787e-06,
442
- "loss": 0.5507,
443
- "step": 15500
444
- },
445
- {
446
- "epoch": 3.8228155339805827,
447
- "grad_norm": 6.114981651306152,
448
- "learning_rate": 2.2148058252427188e-06,
449
- "loss": 0.5561,
450
- "step": 15750
451
  },
452
  {
453
  "epoch": 3.883495145631068,
454
- "grad_norm": 5.782876491546631,
455
- "learning_rate": 1.4563106796116506e-06,
456
- "loss": 0.5454,
457
- "step": 16000
458
- },
459
- {
460
- "epoch": 3.9441747572815533,
461
- "grad_norm": 5.954553127288818,
462
- "learning_rate": 6.978155339805825e-07,
463
- "loss": 0.5511,
464
- "step": 16250
465
  },
466
  {
467
  "epoch": 4.0,
468
- "step": 16480,
469
  "total_flos": 1.4507840127190487e+18,
470
- "train_loss": 0.7319364158852586,
471
- "train_runtime": 27052.3827,
472
- "train_samples_per_second": 19.494,
473
- "train_steps_per_second": 0.609
474
  }
475
  ],
476
  "logging_steps": 250,
477
- "max_steps": 16480,
478
  "num_input_tokens_seen": 0,
479
  "num_train_epochs": 4,
480
  "save_steps": 500,
 
3
  "best_model_checkpoint": null,
4
  "epoch": 4.0,
5
  "eval_steps": 500,
6
+ "global_step": 2060,
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.4854368932038835,
13
+ "grad_norm": 9.382500648498535,
14
+ "learning_rate": 8.786407766990292e-05,
15
+ "loss": 14.3109,
16
+ "step": 250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  },
18
  {
19
  "epoch": 0.970873786407767,
20
+ "grad_norm": 8.183174133300781,
21
+ "learning_rate": 7.572815533980583e-05,
22
+ "loss": 7.1849,
23
+ "step": 500
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  },
25
  {
26
  "epoch": 1.4563106796116505,
27
+ "grad_norm": 6.754209995269775,
28
+ "learning_rate": 6.359223300970875e-05,
29
+ "loss": 6.0557,
30
+ "step": 750
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  },
32
  {
33
  "epoch": 1.941747572815534,
34
+ "grad_norm": 7.222278118133545,
35
+ "learning_rate": 5.145631067961165e-05,
36
+ "loss": 5.7214,
37
+ "step": 1000
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  },
39
  {
40
  "epoch": 2.4271844660194173,
41
+ "grad_norm": 7.9512224197387695,
42
+ "learning_rate": 3.9320388349514564e-05,
43
+ "loss": 5.4678,
44
+ "step": 1250
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  },
46
  {
47
  "epoch": 2.912621359223301,
48
+ "grad_norm": 10.402533531188965,
49
+ "learning_rate": 2.7184466019417475e-05,
50
+ "loss": 5.2727,
51
+ "step": 1500
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
  },
53
  {
54
  "epoch": 3.3980582524271843,
55
+ "grad_norm": 10.867375373840332,
56
+ "learning_rate": 1.5048543689320387e-05,
57
+ "loss": 5.0298,
58
+ "step": 1750
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  },
60
  {
61
  "epoch": 3.883495145631068,
62
+ "grad_norm": 10.53590202331543,
63
+ "learning_rate": 2.912621359223301e-06,
64
+ "loss": 4.9242,
65
+ "step": 2000
 
 
 
 
 
 
 
66
  },
67
  {
68
  "epoch": 4.0,
69
+ "step": 2060,
70
  "total_flos": 1.4507840127190487e+18,
71
+ "train_loss": 6.692458765715071,
72
+ "train_runtime": 26455.3227,
73
+ "train_samples_per_second": 19.934,
74
+ "train_steps_per_second": 0.078
75
  }
76
  ],
77
  "logging_steps": 250,
78
+ "max_steps": 2060,
79
  "num_input_tokens_seen": 0,
80
  "num_train_epochs": 4,
81
  "save_steps": 500,
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b2e7716b1d6e8dbd33b04ecd011c472406754200622be7ce2152850376ddfd0c
3
  size 5304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e88d1bb0004a1075ae449c7aad3943d80eab26cf78f5dab269161b817eae4ee7
3
  size 5304