tyzhu commited on
Commit
f99c35f
1 Parent(s): 37742b5

End of training

Browse files
Files changed (6) hide show
  1. README.md +14 -2
  2. all_results.json +16 -0
  3. eval_results.json +10 -0
  4. tokenizer.json +1 -6
  5. train_results.json +9 -0
  6. trainer_state.json +469 -0
README.md CHANGED
@@ -3,11 +3,23 @@ license: other
3
  base_model: Qwen/Qwen1.5-4B
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  model-index:
9
  - name: lmind_nq_train6000_eval6489_v1_qa_Qwen_Qwen1.5-4B_5e-5_lora2
10
- results: []
 
 
 
 
 
 
 
 
 
 
11
  library_name: peft
12
  ---
13
 
@@ -16,7 +28,7 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # lmind_nq_train6000_eval6489_v1_qa_Qwen_Qwen1.5-4B_5e-5_lora2
18
 
19
- This model is a fine-tuned version of [Qwen/Qwen1.5-4B](https://huggingface.co/Qwen/Qwen1.5-4B) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
  - Loss: 2.5214
22
  - Accuracy: 0.5534
 
3
  base_model: Qwen/Qwen1.5-4B
4
  tags:
5
  - generated_from_trainer
6
+ datasets:
7
+ - tyzhu/lmind_nq_train6000_eval6489_v1_qa
8
  metrics:
9
  - accuracy
10
  model-index:
11
  - name: lmind_nq_train6000_eval6489_v1_qa_Qwen_Qwen1.5-4B_5e-5_lora2
12
+ results:
13
+ - task:
14
+ name: Causal Language Modeling
15
+ type: text-generation
16
+ dataset:
17
+ name: tyzhu/lmind_nq_train6000_eval6489_v1_qa
18
+ type: tyzhu/lmind_nq_train6000_eval6489_v1_qa
19
+ metrics:
20
+ - name: Accuracy
21
+ type: accuracy
22
+ value: 0.5533846153846154
23
  library_name: peft
24
  ---
25
 
 
28
 
29
  # lmind_nq_train6000_eval6489_v1_qa_Qwen_Qwen1.5-4B_5e-5_lora2
30
 
31
+ This model is a fine-tuned version of [Qwen/Qwen1.5-4B](https://huggingface.co/Qwen/Qwen1.5-4B) on the tyzhu/lmind_nq_train6000_eval6489_v1_qa dataset.
32
  It achieves the following results on the evaluation set:
33
  - Loss: 2.5214
34
  - Accuracy: 0.5534
all_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 19.946666666666665,
3
+ "eval_accuracy": 0.5533846153846154,
4
+ "eval_loss": 2.521367073059082,
5
+ "eval_runtime": 5.4014,
6
+ "eval_samples": 500,
7
+ "eval_samples_per_second": 92.568,
8
+ "eval_steps_per_second": 11.664,
9
+ "perplexity": 12.445599082364879,
10
+ "total_flos": 6.513574498480947e+16,
11
+ "train_loss": 0.8066099656456932,
12
+ "train_runtime": 8165.9273,
13
+ "train_samples": 6000,
14
+ "train_samples_per_second": 14.695,
15
+ "train_steps_per_second": 0.458
16
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 19.946666666666665,
3
+ "eval_accuracy": 0.5533846153846154,
4
+ "eval_loss": 2.521367073059082,
5
+ "eval_runtime": 5.4014,
6
+ "eval_samples": 500,
7
+ "eval_samples_per_second": 92.568,
8
+ "eval_steps_per_second": 11.664,
9
+ "perplexity": 12.445599082364879
10
+ }
tokenizer.json CHANGED
@@ -1,11 +1,6 @@
1
  {
2
  "version": "1.0",
3
- "truncation": {
4
- "direction": "Right",
5
- "max_length": 1024,
6
- "strategy": "LongestFirst",
7
- "stride": 0
8
- },
9
  "padding": null,
10
  "added_tokens": [
11
  {
 
1
  {
2
  "version": "1.0",
3
+ "truncation": null,
 
 
 
 
 
4
  "padding": null,
5
  "added_tokens": [
6
  {
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 19.946666666666665,
3
+ "total_flos": 6.513574498480947e+16,
4
+ "train_loss": 0.8066099656456932,
5
+ "train_runtime": 8165.9273,
6
+ "train_samples": 6000,
7
+ "train_samples_per_second":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_model_checkpoint": null,
4
+ "epoch": 19.946666666666665,
5
+ "eval_steps": 500,
6
+ "global_step": 3740,
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.5333333333333333,
13
+ "grad_norm": 0.7207047343254089,
14
+ "learning_rate": 5e-05,
15
+ "loss": 1.8353,
16
+ "step": 100
17
+ },
18
+ {
19
+ "epoch": 0.9973333333333333,
20
+ "eval_accuracy": 0.5718974358974359,
21
+ "eval_loss": 1.632692813873291,
22
+ "eval_runtime": 5.5315,
23
+ "eval_samples_per_second": 90.392,
24
+ "eval_steps_per_second": 11.389,
25
+ "step": 187
26
+ },
27
+ {
28
+ "epoch": 1.0666666666666667,
29
+ "grad_norm": 0.9106570482254028,
30
+ "learning_rate": 5e-05,
31
+ "loss": 1.6599,
32
+ "step": 200
33
+ },
34
+ {
35
+ "epoch": 1.6,
36
+ "grad_norm": 1.0436854362487793,
37
+ "learning_rate": 5e-05,
38
+ "loss": 1.5773,
39
+ "step": 300
40
+ },
41
+ {
42
+ "epoch": 2.0,
43
+ "eval_accuracy": 0.5742564102564103,
44
+ "eval_loss": 1.6119211912155151,
45
+ "eval_runtime": 5.3075,
46
+ "eval_samples_per_second": 94.206,
47
+ "eval_steps_per_second": 11.87,
48
+ "step": 375
49
+ },
50
+ {
51
+ "epoch": 2.1333333333333333,
52
+ "grad_norm": 1.2837196588516235,
53
+ "learning_rate": 5e-05,
54
+ "loss": 1.5375,
55
+ "step": 400
56
+ },
57
+ {
58
+ "epoch": 2.6666666666666665,
59
+ "grad_norm": 1.4649003744125366,
60
+ "learning_rate": 5e-05,
61
+ "loss": 1.4151,
62
+ "step": 500
63
+ },
64
+ {
65
+ "epoch": 2.997333333333333,
66
+ "eval_accuracy": 0.5733846153846154,
67
+ "eval_loss": 1.6409218311309814,
68
+ "eval_runtime": 5.7592,
69
+ "eval_samples_per_second": 86.818,
70
+ "eval_steps_per_second": 10.939,
71
+ "step": 562
72
+ },
73
+ {
74
+ "epoch": 3.2,
75
+ "grad_norm": 1.7496792078018188,
76
+ "learning_rate": 5e-05,
77
+ "loss": 1.3414,
78
+ "step": 600
79
+ },
80
+ {
81
+ "epoch": 3.7333333333333334,
82
+ "grad_norm": 2.0928754806518555,
83
+ "learning_rate": 5e-05,
84
+ "loss": 1.226,
85
+ "step": 700
86
+ },
87
+ {
88
+ "epoch": 4.0,
89
+ "eval_accuracy": 0.5688205128205128,
90
+ "eval_loss": 1.7001802921295166,
91
+ "eval_runtime": 5.5318,
92
+ "eval_samples_per_second": 90.387,
93
+ "eval_steps_per_second": 11.389,
94
+ "step": 750
95
+ },
96
+ {
97
+ "epoch": 4.266666666666667,
98
+ "grad_norm": 2.408186197280884,
99
+ "learning_rate": 5e-05,
100
+ "loss": 1.1562,
101
+ "step": 800
102
+ },
103
+ {
104
+ "epoch": 4.8,
105
+ "grad_norm": 2.380446434020996,
106
+ "learning_rate": 5e-05,
107
+ "loss": 1.0718,
108
+ "step": 900
109
+ },
110
+ {
111
+ "epoch": 4.997333333333334,
112
+ "eval_accuracy": 0.5664102564102564,
113
+ "eval_loss": 1.7918853759765625,
114
+ "eval_runtime": 5.4788,
115
+ "eval_samples_per_second": 91.262,
116
+ "eval_steps_per_second": 11.499,
117
+ "step": 937
118
+ },
119
+ {
120
+ "epoch": 5.333333333333333,
121
+ "grad_norm": 2.715512275695801,
122
+ "learning_rate": 5e-05,
123
+ "loss": 0.976,
124
+ "step": 1000
125
+ },
126
+ {
127
+ "epoch": 5.866666666666667,
128
+ "grad_norm": 2.690802574157715,
129
+ "learning_rate": 5e-05,
130
+ "loss": 0.9478,
131
+ "step": 1100
132
+ },
133
+ {
134
+ "epoch": 6.0,
135
+ "eval_accuracy": 0.563076923076923,
136
+ "eval_loss": 1.8953214883804321,
137
+ "eval_runtime": 5.4982,
138
+ "eval_samples_per_second": 90.938,
139
+ "eval_steps_per_second": 11.458,
140
+ "step": 1125
141
+ },
142
+ {
143
+ "epoch": 6.4,
144
+ "grad_norm": 2.726630926132202,
145
+ "learning_rate": 5e-05,
146
+ "loss": 0.8324,
147
+ "step": 1200
148
+ },
149
+ {
150
+ "epoch": 6.933333333333334,
151
+ "grad_norm": 3.1045241355895996,
152
+ "learning_rate": 5e-05,
153
+ "loss": 0.8356,
154
+ "step": 1300
155
+ },
156
+ {
157
+ "epoch": 6.997333333333334,
158
+ "eval_accuracy": 0.5606666666666666,
159
+ "eval_loss": 1.982709527015686,
160
+ "eval_runtime": 5.4189,
161
+ "eval_samples_per_second": 92.27,
162
+ "eval_steps_per_second": 11.626,
163
+ "step": 1312
164
+ },
165
+ {
166
+ "epoch": 7.466666666666667,
167
+ "grad_norm": 2.7679696083068848,
168
+ "learning_rate": 5e-05,
169
+ "loss": 0.7285,
170
+ "step": 1400
171
+ },
172
+ {
173
+ "epoch": 8.0,
174
+ "grad_norm": 3.0665290355682373,
175
+ "learning_rate": 5e-05,
176
+ "loss": 0.7482,
177
+ "step": 1500
178
+ },
179
+ {
180
+ "epoch": 8.0,
181
+ "eval_accuracy": 0.559076923076923,
182
+ "eval_loss": 2.065854787826538,
183
+ "eval_runtime": 5.1704,
184
+ "eval_samples_per_second": 96.704,
185
+ "eval_steps_per_second": 12.185,
186
+ "step": 1500
187
+ },
188
+ {
189
+ "epoch": 8.533333333333333,
190
+ "grad_norm": 2.6079444885253906,
191
+ "learning_rate": 5e-05,
192
+ "loss": 0.6415,
193
+ "step": 1600
194
+ },
195
+ {
196
+ "epoch": 8.997333333333334,
197
+ "eval_accuracy": 0.5564615384615385,
198
+ "eval_loss": 2.2041966915130615,
199
+ "eval_runtime": 5.8999,
200
+ "eval_samples_per_second": 84.748,
201
+ "eval_steps_per_second": 10.678,
202
+ "step": 1687
203
+ },
204
+ {
205
+ "epoch": 9.066666666666666,
206
+ "grad_norm": 2.809108257293701,
207
+ "learning_rate": 5e-05,
208
+ "loss": 0.6724,
209
+ "step": 1700
210
+ },
211
+ {
212
+ "epoch": 9.6,
213
+ "grad_norm": 2.370556116104126,
214
+ "learning_rate": 5e-05,
215
+ "loss": 0.6094,
216
+ "step": 1800
217
+ },
218
+ {
219
+ "epoch": 10.0,
220
+ "eval_accuracy": 0.5552307692307692,
221
+ "eval_loss": 2.2516138553619385,
222
+ "eval_runtime": 5.4649,
223
+ "eval_samples_per_second": 91.492,
224
+ "eval_steps_per_second": 11.528,
225
+ "step": 1875
226
+ },
227
+ {
228
+ "epoch": 10.133333333333333,
229
+ "grad_norm": 2.4665706157684326,
230
+ "learning_rate": 5e-05,
231
+ "loss": 0.6127,
232
+ "step": 1900
233
+ },
234
+ {
235
+ "epoch": 10.666666666666666,
236
+ "grad_norm": 2.2102904319763184,
237
+ "learning_rate": 5e-05,
238
+ "loss": 0.5807,
239
+ "step": 2000
240
+ },
241
+ {
242
+ "epoch": 10.997333333333334,
243
+ "eval_accuracy": 0.5554358974358974,
244
+ "eval_loss": 2.292487621307373,
245
+ "eval_runtime": 5.5379,
246
+ "eval_samples_per_second": 90.286,
247
+ "eval_steps_per_second": 11.376,
248
+ "step": 2062
249
+ },
250
+ {
251
+ "epoch": 11.2,
252
+ "grad_norm": 2.33711838722229,
253
+ "learning_rate": 5e-05,
254
+ "loss": 0.5812,
255
+ "step": 2100
256
+ },
257
+ {
258
+ "epoch": 11.733333333333333,
259
+ "grad_norm": 1.9469841718673706,
260
+ "learning_rate": 5e-05,
261
+ "loss": 0.5647,
262
+ "step": 2200
263
+ },
264
+ {
265
+ "epoch": 12.0,
266
+ "eval_accuracy": 0.5562051282051282,
267
+ "eval_loss": 2.3210103511810303,
268
+ "eval_runtime": 5.4107,
269
+ "eval_samples_per_second": 92.409,
270
+ "eval_steps_per_second": 11.644,
271
+ "step": 2250
272
+ },
273
+ {
274
+ "epoch": 12.266666666666667,
275
+ "grad_norm": 2.3291308879852295,
276
+ "learning_rate": 5e-05,
277
+ "loss": 0.552,
278
+ "step": 2300
279
+ },
280
+ {
281
+ "epoch": 12.8,
282
+ "grad_norm": 1.982454538345337,
283
+ "learning_rate": 5e-05,
284
+ "loss": 0.5523,
285
+ "step": 2400
286
+ },
287
+ {
288
+ "epoch": 12.997333333333334,
289
+ "eval_accuracy": 0.556,
290
+ "eval_loss": 2.362354040145874,
291
+ "eval_runtime": 5.3738,
292
+ "eval_samples_per_second": 93.045,
293
+ "eval_steps_per_second": 11.724,
294
+ "step": 2437
295
+ },
296
+ {
297
+ "epoch": 13.333333333333334,
298
+ "grad_norm": 1.8295649290084839,
299
+ "learning_rate": 5e-05,
300
+ "loss": 0.5351,
301
+ "step": 2500
302
+ },
303
+ {
304
+ "epoch": 13.866666666666667,
305
+ "grad_norm": 2.2059710025787354,
306
+ "learning_rate": 5e-05,
307
+ "loss": 0.5417,
308
+ "step": 2600
309
+ },
310
+ {
311
+ "epoch": 14.0,
312
+ "eval_accuracy": 0.5540512820512821,
313
+ "eval_loss": 2.4356908798217773,
314
+ "eval_runtime": 5.3195,
315
+ "eval_samples_per_second": 93.994,
316
+ "eval_steps_per_second": 11.843,
317
+ "step": 2625
318
+ },
319
+ {
320
+ "epoch": 14.4,
321
+ "grad_norm": 1.6617196798324585,
322
+ "learning_rate": 5e-05,
323
+ "loss": 0.5231,
324
+ "step": 2700
325
+ },
326
+ {
327
+ "epoch": 14.933333333333334,
328
+ "grad_norm": 1.8451249599456787,
329
+ "learning_rate": 5e-05,
330
+ "loss": 0.5335,
331
+ "step": 2800
332
+ },
333
+ {
334
+ "epoch": 14.997333333333334,
335
+ "eval_accuracy": 0.5528205128205128,
336
+ "eval_loss": 2.455449104309082,
337
+ "eval_runtime": 5.5914,
338
+ "eval_samples_per_second": 89.423,
339
+ "eval_steps_per_second": 11.267,
340
+ "step": 2812
341
+ },
342
+ {
343
+ "epoch": 15.466666666666667,
344
+ "grad_norm": 1.7082688808441162,
345
+ "learning_rate": 5e-05,
346
+ "loss": 0.5075,
347
+ "step": 2900
348
+ },
349
+ {
350
+ "epoch": 16.0,
351
+ "grad_norm": 1.6043968200683594,
352
+ "learning_rate": 5e-05,
353
+ "loss": 0.5312,
354
+ "step": 3000
355
+ },
356
+ {
357
+ "epoch": 16.0,
358
+ "eval_accuracy": 0.5553333333333333,
359
+ "eval_loss": 2.4443111419677734,
360
+ "eval_runtime": 5.6866,
361
+ "eval_samples_per_second": 87.926,
362
+ "eval_steps_per_second": 11.079,
363
+ "step": 3000
364
+ },
365
+ {
366
+ "epoch": 16.533333333333335,
367
+ "grad_norm": 2.228468179702759,
368
+ "learning_rate": 5e-05,
369
+ "loss": 0.5001,
370
+ "step": 3100
371
+ },
372
+ {
373
+ "epoch": 16.997333333333334,
374
+ "eval_accuracy": 0.5532820512820513,
375
+ "eval_loss": 2.483283758163452,
376
+ "eval_runtime": 5.4415,
377
+ "eval_samples_per_second": 91.887,
378
+ "eval_steps_per_second": 11.578,
379
+ "step": 3187
380
+ },
381
+ {
382
+ "epoch": 17.066666666666666,
383
+ "grad_norm": 1.859466314315796,
384
+ "learning_rate": 5e-05,
385
+ "loss": 0.5204,
386
+ "step": 3200
387
+ },
388
+ {
389
+ "epoch": 17.6,
390
+ "grad_norm": 1.5754505395889282,
391
+ "learning_rate": 5e-05,
392
+ "loss": 0.4992,
393
+ "step": 3300
394
+ },
395
+ {
396
+ "epoch": 18.0,
397
+ "eval_accuracy": 0.5559487179487179,
398
+ "eval_loss": 2.4588119983673096,
399
+ "eval_runtime": 5.7637,
400
+ "eval_samples_per_second": 86.75,
401
+ "eval_steps_per_second": 10.93,
402
+ "step": 3375
403
+ },
404
+ {
405
+ "epoch": 18.133333333333333,
406
+ "grad_norm": 1.657454252243042,
407
+ "learning_rate": 5e-05,
408
+ "loss": 0.5111,
409
+ "step": 3400
410
+ },
411
+ {
412
+ "epoch": 18.666666666666668,
413
+ "grad_norm": 1.5706132650375366,
414
+ "learning_rate": 5e-05,
415
+ "loss": 0.5004,
416
+ "step": 3500
417
+ },
418
+ {
419
+ "epoch": 18.997333333333334,
420
+ "eval_accuracy": 0.5546153846153846,
421
+ "eval_loss": 2.5081536769866943,
422
+ "eval_runtime": 5.4469,
423
+ "eval_samples_per_second": 91.795,
424
+ "eval_steps_per_second": 11.566,
425
+ "step": 3562
426
+ },
427
+ {
428
+ "epoch": 19.2,
429
+ "grad_norm": 2.0263028144836426,
430
+ "learning_rate": 5e-05,
431
+ "loss": 0.503,
432
+ "step": 3600
433
+ },
434
+ {
435
+ "epoch": 19.733333333333334,
436
+ "grad_norm": 1.5718239545822144,
437
+ "learning_rate": 5e-05,
438
+ "loss": 0.4983,
439
+ "step": 3700
440
+ },
441
+ {
442
+ "epoch": 19.946666666666665,
443
+ "eval_accuracy": 0.5533846153846154,
444
+ "eval_loss": 2.521367073059082,
445
+ "eval_runtime": 5.139,
446
+ "eval_samples_per_second": 97.295,
447
+ "eval_steps_per_second": 12.259,
448
+ "step": 3740
449
+ },
450
+ {
451
+ "epoch": 19.946666666666665,
452
+ "step": 3740,
453
+ "total_flos": 6.513574498480947e+16,
454
+ "train_loss": 0.8066099656456932,
455
+ "train_runtime": 8165.9273,
456
+ "train_samples_per_second": 14.695,
457
+ "train_steps_per_second": 0.458
458
+ }
459
+ ],
460
+ "logging_steps": 100,
461
+ "max_steps": 3740,
462
+ "num_input_tokens_seen": 0,
463
+ "num_train_epochs": 20,
464
+ "save_steps": 500,
465
+ "total_flos": 6.513574498480947e+16,
466
+ "train_batch_size": 1,
467
+ "trial_name": null,
468
+ "trial_params": null
469
+ }