tyzhu commited on
Commit
0c2c7b4
·
verified ·
1 Parent(s): 2e4540a

End of training

Browse files
Files changed (5) hide show
  1. README.md +14 -2
  2. all_results.json +15 -0
  3. eval_results.json +10 -0
  4. train_results.json +8 -0
  5. trainer_state.json +508 -0
README.md CHANGED
@@ -3,11 +3,23 @@ license: llama2
3
  base_model: meta-llama/Llama-2-7b-hf
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  model-index:
9
  - name: lmind_hotpot_train8000_eval7405_v1_qa_5e-5_lora2
10
- results: []
 
 
 
 
 
 
 
 
 
 
11
  ---
12
 
13
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -15,7 +27,7 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  # lmind_hotpot_train8000_eval7405_v1_qa_5e-5_lora2
17
 
18
- This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
  - Loss: 3.2298
21
  - Accuracy: 0.5839
 
3
  base_model: meta-llama/Llama-2-7b-hf
4
  tags:
5
  - generated_from_trainer
6
+ datasets:
7
+ - tyzhu/lmind_hotpot_train8000_eval7405_v1_qa
8
  metrics:
9
  - accuracy
10
  model-index:
11
  - name: lmind_hotpot_train8000_eval7405_v1_qa_5e-5_lora2
12
+ results:
13
+ - task:
14
+ name: Causal Language Modeling
15
+ type: text-generation
16
+ dataset:
17
+ name: tyzhu/lmind_hotpot_train8000_eval7405_v1_qa
18
+ type: tyzhu/lmind_hotpot_train8000_eval7405_v1_qa
19
+ metrics:
20
+ - name: Accuracy
21
+ type: accuracy
22
+ value: 0.5839240506329114
23
  ---
24
 
25
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
27
 
28
  # lmind_hotpot_train8000_eval7405_v1_qa_5e-5_lora2
29
 
30
+ This model is a fine-tuned version of [meta-llama/Llama-2-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-hf) on the tyzhu/lmind_hotpot_train8000_eval7405_v1_qa dataset.
31
  It achieves the following results on the evaluation set:
32
  - Loss: 3.2298
33
  - Accuracy: 0.5839
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "eval_accuracy": 0.5839240506329114,
4
+ "eval_loss": 3.229841947555542,
5
+ "eval_runtime": 4.8462,
6
+ "eval_samples": 500,
7
+ "eval_samples_per_second": 103.173,
8
+ "eval_steps_per_second": 13.0,
9
+ "perplexity": 25.275661775117126,
10
+ "train_loss": 0.8756309669494629,
11
+ "train_runtime": 3519.8357,
12
+ "train_samples": 8000,
13
+ "train_samples_per_second": 45.457,
14
+ "train_steps_per_second": 1.421
15
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "eval_accuracy": 0.5839240506329114,
4
+ "eval_loss": 3.229841947555542,
5
+ "eval_runtime": 4.8462,
6
+ "eval_samples": 500,
7
+ "eval_samples_per_second": 103.173,
8
+ "eval_steps_per_second": 13.0,
9
+ "perplexity": 25.275661775117126
10
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "train_loss": 0.8756309669494629,
4
+ "train_runtime": 3519.8357,
5
+ "train_samples": 8000,
6
+ "train_samples_per_second": 45.457,
7
+ "train_steps_per_second": 1.421
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,508 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 20.0,
5
+ "eval_steps": 500,
6
+ "global_step": 5000,
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.4,
13
+ "learning_rate": 5e-05,
14
+ "loss": 2.1914,
15
+ "step": 100
16
+ },
17
+ {
18
+ "epoch": 0.8,
19
+ "learning_rate": 5e-05,
20
+ "loss": 1.798,
21
+ "step": 200
22
+ },
23
+ {
24
+ "epoch": 1.0,
25
+ "eval_accuracy": 0.6067341772151899,
26
+ "eval_loss": 1.8213441371917725,
27
+ "eval_runtime": 4.582,
28
+ "eval_samples_per_second": 109.122,
29
+ "eval_steps_per_second": 13.749,
30
+ "step": 250
31
+ },
32
+ {
33
+ "epoch": 1.2,
34
+ "learning_rate": 5e-05,
35
+ "loss": 1.7534,
36
+ "step": 300
37
+ },
38
+ {
39
+ "epoch": 1.6,
40
+ "learning_rate": 5e-05,
41
+ "loss": 1.7163,
42
+ "step": 400
43
+ },
44
+ {
45
+ "epoch": 2.0,
46
+ "learning_rate": 5e-05,
47
+ "loss": 1.7,
48
+ "step": 500
49
+ },
50
+ {
51
+ "epoch": 2.0,
52
+ "eval_accuracy": 0.6077215189873417,
53
+ "eval_loss": 1.8046445846557617,
54
+ "eval_runtime": 5.1239,
55
+ "eval_samples_per_second": 97.582,
56
+ "eval_steps_per_second": 12.295,
57
+ "step": 500
58
+ },
59
+ {
60
+ "epoch": 2.4,
61
+ "learning_rate": 5e-05,
62
+ "loss": 1.5854,
63
+ "step": 600
64
+ },
65
+ {
66
+ "epoch": 2.8,
67
+ "learning_rate": 5e-05,
68
+ "loss": 1.5869,
69
+ "step": 700
70
+ },
71
+ {
72
+ "epoch": 3.0,
73
+ "eval_accuracy": 0.6071392405063291,
74
+ "eval_loss": 1.829284906387329,
75
+ "eval_runtime": 5.0393,
76
+ "eval_samples_per_second": 99.221,
77
+ "eval_steps_per_second": 12.502,
78
+ "step": 750
79
+ },
80
+ {
81
+ "epoch": 3.2,
82
+ "learning_rate": 5e-05,
83
+ "loss": 1.5039,
84
+ "step": 800
85
+ },
86
+ {
87
+ "epoch": 3.6,
88
+ "learning_rate": 5e-05,
89
+ "loss": 1.4165,
90
+ "step": 900
91
+ },
92
+ {
93
+ "epoch": 4.0,
94
+ "learning_rate": 5e-05,
95
+ "loss": 1.4349,
96
+ "step": 1000
97
+ },
98
+ {
99
+ "epoch": 4.0,
100
+ "eval_accuracy": 0.6042784810126582,
101
+ "eval_loss": 1.89736008644104,
102
+ "eval_runtime": 4.5584,
103
+ "eval_samples_per_second": 109.688,
104
+ "eval_steps_per_second": 13.821,
105
+ "step": 1000
106
+ },
107
+ {
108
+ "epoch": 4.4,
109
+ "learning_rate": 5e-05,
110
+ "loss": 1.2624,
111
+ "step": 1100
112
+ },
113
+ {
114
+ "epoch": 4.8,
115
+ "learning_rate": 5e-05,
116
+ "loss": 1.3111,
117
+ "step": 1200
118
+ },
119
+ {
120
+ "epoch": 5.0,
121
+ "eval_accuracy": 0.601493670886076,
122
+ "eval_loss": 1.9769378900527954,
123
+ "eval_runtime": 4.4063,
124
+ "eval_samples_per_second": 113.474,
125
+ "eval_steps_per_second": 14.298,
126
+ "step": 1250
127
+ },
128
+ {
129
+ "epoch": 5.2,
130
+ "learning_rate": 5e-05,
131
+ "loss": 1.226,
132
+ "step": 1300
133
+ },
134
+ {
135
+ "epoch": 5.6,
136
+ "learning_rate": 5e-05,
137
+ "loss": 1.1608,
138
+ "step": 1400
139
+ },
140
+ {
141
+ "epoch": 6.0,
142
+ "learning_rate": 5e-05,
143
+ "loss": 1.197,
144
+ "step": 1500
145
+ },
146
+ {
147
+ "epoch": 6.0,
148
+ "eval_accuracy": 0.599240506329114,
149
+ "eval_loss": 2.0634872913360596,
150
+ "eval_runtime": 4.8833,
151
+ "eval_samples_per_second": 102.389,
152
+ "eval_steps_per_second": 12.901,
153
+ "step": 1500
154
+ },
155
+ {
156
+ "epoch": 6.4,
157
+ "learning_rate": 5e-05,
158
+ "loss": 1.0336,
159
+ "step": 1600
160
+ },
161
+ {
162
+ "epoch": 6.8,
163
+ "learning_rate": 5e-05,
164
+ "loss": 1.0729,
165
+ "step": 1700
166
+ },
167
+ {
168
+ "epoch": 7.0,
169
+ "eval_accuracy": 0.5975443037974684,
170
+ "eval_loss": 2.1523237228393555,
171
+ "eval_runtime": 4.8877,
172
+ "eval_samples_per_second": 102.297,
173
+ "eval_steps_per_second": 12.889,
174
+ "step": 1750
175
+ },
176
+ {
177
+ "epoch": 7.2,
178
+ "learning_rate": 5e-05,
179
+ "loss": 1.0005,
180
+ "step": 1800
181
+ },
182
+ {
183
+ "epoch": 7.6,
184
+ "learning_rate": 5e-05,
185
+ "loss": 0.9437,
186
+ "step": 1900
187
+ },
188
+ {
189
+ "epoch": 8.0,
190
+ "learning_rate": 5e-05,
191
+ "loss": 0.9833,
192
+ "step": 2000
193
+ },
194
+ {
195
+ "epoch": 8.0,
196
+ "eval_accuracy": 0.5947341772151898,
197
+ "eval_loss": 2.2639756202697754,
198
+ "eval_runtime": 4.3964,
199
+ "eval_samples_per_second": 113.73,
200
+ "eval_steps_per_second": 14.33,
201
+ "step": 2000
202
+ },
203
+ {
204
+ "epoch": 8.4,
205
+ "learning_rate": 5e-05,
206
+ "loss": 0.823,
207
+ "step": 2100
208
+ },
209
+ {
210
+ "epoch": 8.8,
211
+ "learning_rate": 5e-05,
212
+ "loss": 0.8672,
213
+ "step": 2200
214
+ },
215
+ {
216
+ "epoch": 9.0,
217
+ "eval_accuracy": 0.5924050632911393,
218
+ "eval_loss": 2.3642578125,
219
+ "eval_runtime": 4.6579,
220
+ "eval_samples_per_second": 107.345,
221
+ "eval_steps_per_second": 13.526,
222
+ "step": 2250
223
+ },
224
+ {
225
+ "epoch": 9.2,
226
+ "learning_rate": 5e-05,
227
+ "loss": 0.8032,
228
+ "step": 2300
229
+ },
230
+ {
231
+ "epoch": 9.6,
232
+ "learning_rate": 5e-05,
233
+ "loss": 0.7566,
234
+ "step": 2400
235
+ },
236
+ {
237
+ "epoch": 10.0,
238
+ "learning_rate": 5e-05,
239
+ "loss": 0.7883,
240
+ "step": 2500
241
+ },
242
+ {
243
+ "epoch": 10.0,
244
+ "eval_accuracy": 0.5908101265822785,
245
+ "eval_loss": 2.4598007202148438,
246
+ "eval_runtime": 4.6476,
247
+ "eval_samples_per_second": 107.582,
248
+ "eval_steps_per_second": 13.555,
249
+ "step": 2500
250
+ },
251
+ {
252
+ "epoch": 10.4,
253
+ "learning_rate": 5e-05,
254
+ "loss": 0.6488,
255
+ "step": 2600
256
+ },
257
+ {
258
+ "epoch": 10.8,
259
+ "learning_rate": 5e-05,
260
+ "loss": 0.6879,
261
+ "step": 2700
262
+ },
263
+ {
264
+ "epoch": 11.0,
265
+ "eval_accuracy": 0.588987341772152,
266
+ "eval_loss": 2.5668857097625732,
267
+ "eval_runtime": 4.4085,
268
+ "eval_samples_per_second": 113.416,
269
+ "eval_steps_per_second": 14.29,
270
+ "step": 2750
271
+ },
272
+ {
273
+ "epoch": 11.2,
274
+ "learning_rate": 5e-05,
275
+ "loss": 0.6502,
276
+ "step": 2800
277
+ },
278
+ {
279
+ "epoch": 11.6,
280
+ "learning_rate": 5e-05,
281
+ "loss": 0.602,
282
+ "step": 2900
283
+ },
284
+ {
285
+ "epoch": 12.0,
286
+ "learning_rate": 5e-05,
287
+ "loss": 0.6295,
288
+ "step": 3000
289
+ },
290
+ {
291
+ "epoch": 12.0,
292
+ "eval_accuracy": 0.5885316455696202,
293
+ "eval_loss": 2.700011730194092,
294
+ "eval_runtime": 4.8719,
295
+ "eval_samples_per_second": 102.63,
296
+ "eval_steps_per_second": 12.931,
297
+ "step": 3000
298
+ },
299
+ {
300
+ "epoch": 12.4,
301
+ "learning_rate": 5e-05,
302
+ "loss": 0.5228,
303
+ "step": 3100
304
+ },
305
+ {
306
+ "epoch": 12.8,
307
+ "learning_rate": 5e-05,
308
+ "loss": 0.5545,
309
+ "step": 3200
310
+ },
311
+ {
312
+ "epoch": 13.0,
313
+ "eval_accuracy": 0.5850886075949367,
314
+ "eval_loss": 2.8281185626983643,
315
+ "eval_runtime": 4.4033,
316
+ "eval_samples_per_second": 113.551,
317
+ "eval_steps_per_second": 14.307,
318
+ "step": 3250
319
+ },
320
+ {
321
+ "epoch": 13.2,
322
+ "learning_rate": 5e-05,
323
+ "loss": 0.5244,
324
+ "step": 3300
325
+ },
326
+ {
327
+ "epoch": 13.6,
328
+ "learning_rate": 5e-05,
329
+ "loss": 0.4924,
330
+ "step": 3400
331
+ },
332
+ {
333
+ "epoch": 14.0,
334
+ "learning_rate": 5e-05,
335
+ "loss": 0.5208,
336
+ "step": 3500
337
+ },
338
+ {
339
+ "epoch": 14.0,
340
+ "eval_accuracy": 0.5852911392405064,
341
+ "eval_loss": 2.879397392272949,
342
+ "eval_runtime": 4.703,
343
+ "eval_samples_per_second": 106.315,
344
+ "eval_steps_per_second": 13.396,
345
+ "step": 3500
346
+ },
347
+ {
348
+ "epoch": 14.4,
349
+ "learning_rate": 5e-05,
350
+ "loss": 0.4405,
351
+ "step": 3600
352
+ },
353
+ {
354
+ "epoch": 14.8,
355
+ "learning_rate": 5e-05,
356
+ "loss": 0.4679,
357
+ "step": 3700
358
+ },
359
+ {
360
+ "epoch": 15.0,
361
+ "eval_accuracy": 0.586253164556962,
362
+ "eval_loss": 2.9183950424194336,
363
+ "eval_runtime": 4.5629,
364
+ "eval_samples_per_second": 109.579,
365
+ "eval_steps_per_second": 13.807,
366
+ "step": 3750
367
+ },
368
+ {
369
+ "epoch": 15.2,
370
+ "learning_rate": 5e-05,
371
+ "loss": 0.4443,
372
+ "step": 3800
373
+ },
374
+ {
375
+ "epoch": 15.6,
376
+ "learning_rate": 5e-05,
377
+ "loss": 0.4235,
378
+ "step": 3900
379
+ },
380
+ {
381
+ "epoch": 16.0,
382
+ "learning_rate": 5e-05,
383
+ "loss": 0.4464,
384
+ "step": 4000
385
+ },
386
+ {
387
+ "epoch": 16.0,
388
+ "eval_accuracy": 0.5852151898734177,
389
+ "eval_loss": 3.0790698528289795,
390
+ "eval_runtime": 4.6021,
391
+ "eval_samples_per_second": 108.647,
392
+ "eval_steps_per_second": 13.689,
393
+ "step": 4000
394
+ },
395
+ {
396
+ "epoch": 16.4,
397
+ "learning_rate": 5e-05,
398
+ "loss": 0.3919,
399
+ "step": 4100
400
+ },
401
+ {
402
+ "epoch": 16.8,
403
+ "learning_rate": 5e-05,
404
+ "loss": 0.4136,
405
+ "step": 4200
406
+ },
407
+ {
408
+ "epoch": 17.0,
409
+ "eval_accuracy": 0.5855696202531645,
410
+ "eval_loss": 3.0832109451293945,
411
+ "eval_runtime": 5.1254,
412
+ "eval_samples_per_second": 97.553,
413
+ "eval_steps_per_second": 12.292,
414
+ "step": 4250
415
+ },
416
+ {
417
+ "epoch": 17.2,
418
+ "learning_rate": 5e-05,
419
+ "loss": 0.3902,
420
+ "step": 4300
421
+ },
422
+ {
423
+ "epoch": 17.6,
424
+ "learning_rate": 5e-05,
425
+ "loss": 0.3841,
426
+ "step": 4400
427
+ },
428
+ {
429
+ "epoch": 18.0,
430
+ "learning_rate": 5e-05,
431
+ "loss": 0.4021,
432
+ "step": 4500
433
+ },
434
+ {
435
+ "epoch": 18.0,
436
+ "eval_accuracy": 0.5846835443037974,
437
+ "eval_loss": 3.0944228172302246,
438
+ "eval_runtime": 4.5552,
439
+ "eval_samples_per_second": 109.765,
440
+ "eval_steps_per_second": 13.83,
441
+ "step": 4500
442
+ },
443
+ {
444
+ "epoch": 18.4,
445
+ "learning_rate": 5e-05,
446
+ "loss": 0.3577,
447
+ "step": 4600
448
+ },
449
+ {
450
+ "epoch": 18.8,
451
+ "learning_rate": 5e-05,
452
+ "loss": 0.3776,
453
+ "step": 4700
454
+ },
455
+ {
456
+ "epoch": 19.0,
457
+ "eval_accuracy": 0.5828354430379746,
458
+ "eval_loss": 3.2120306491851807,
459
+ "eval_runtime": 4.7023,
460
+ "eval_samples_per_second": 106.332,
461
+ "eval_steps_per_second": 13.398,
462
+ "step": 4750
463
+ },
464
+ {
465
+ "epoch": 19.2,
466
+ "learning_rate": 5e-05,
467
+ "loss": 0.3617,
468
+ "step": 4800
469
+ },
470
+ {
471
+ "epoch": 19.6,
472
+ "learning_rate": 5e-05,
473
+ "loss": 0.3575,
474
+ "step": 4900
475
+ },
476
+ {
477
+ "epoch": 20.0,
478
+ "learning_rate": 5e-05,
479
+ "loss": 0.373,
480
+ "step": 5000
481
+ },
482
+ {
483
+ "epoch": 20.0,
484
+ "eval_accuracy": 0.5839240506329114,
485
+ "eval_loss": 3.229841947555542,
486
+ "eval_runtime": 4.7155,
487
+ "eval_samples_per_second": 106.033,
488
+ "eval_steps_per_second": 13.36,
489
+ "step": 5000
490
+ },
491
+ {
492
+ "epoch": 20.0,
493
+ "step": 5000,
494
+ "total_flos": 3.1967425075347456e+17,
495
+ "train_loss": 0.8756309669494629,
496
+ "train_runtime": 3519.8357,
497
+ "train_samples_per_second": 45.457,
498
+ "train_steps_per_second": 1.421
499
+ }
500
+ ],
501
+ "logging_steps": 100,
502
+ "max_steps": 5000,
503
+ "num_train_epochs": 20,
504
+ "save_steps": 500,
505
+ "total_flos": 3.1967425075347456e+17,
506
+ "trial_name": null,
507
+ "trial_params": null
508
+ }