tyzhu commited on
Commit
d5dd343
·
verified ·
1 Parent(s): e9fe5d9

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_3e-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_3e-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: 2.9797
21
  - Accuracy: 0.5824
 
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_3e-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.5824050632911393
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_3e-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: 2.9797
33
  - Accuracy: 0.5824
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "eval_accuracy": 0.5824050632911393,
4
+ "eval_loss": 2.9796953201293945,
5
+ "eval_runtime": 4.8607,
6
+ "eval_samples": 500,
7
+ "eval_samples_per_second": 102.866,
8
+ "eval_steps_per_second": 12.961,
9
+ "perplexity": 19.681819077050044,
10
+ "train_loss": 1.043557526397705,
11
+ "train_runtime": 3605.2187,
12
+ "train_samples": 8000,
13
+ "train_samples_per_second": 44.38,
14
+ "train_steps_per_second": 1.387
15
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "eval_accuracy": 0.5824050632911393,
4
+ "eval_loss": 2.9796953201293945,
5
+ "eval_runtime": 4.8607,
6
+ "eval_samples": 500,
7
+ "eval_samples_per_second": 102.866,
8
+ "eval_steps_per_second": 12.961,
9
+ "perplexity": 19.681819077050044
10
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "train_loss": 1.043557526397705,
4
+ "train_runtime": 3605.2187,
5
+ "train_samples": 8000,
6
+ "train_samples_per_second": 44.38,
7
+ "train_steps_per_second": 1.387
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": 3e-05,
14
+ "loss": 2.3698,
15
+ "step": 100
16
+ },
17
+ {
18
+ "epoch": 0.8,
19
+ "learning_rate": 3e-05,
20
+ "loss": 1.8255,
21
+ "step": 200
22
+ },
23
+ {
24
+ "epoch": 1.0,
25
+ "eval_accuracy": 0.6054430379746836,
26
+ "eval_loss": 1.83919358253479,
27
+ "eval_runtime": 4.6476,
28
+ "eval_samples_per_second": 107.584,
29
+ "eval_steps_per_second": 13.556,
30
+ "step": 250
31
+ },
32
+ {
33
+ "epoch": 1.2,
34
+ "learning_rate": 3e-05,
35
+ "loss": 1.7843,
36
+ "step": 300
37
+ },
38
+ {
39
+ "epoch": 1.6,
40
+ "learning_rate": 3e-05,
41
+ "loss": 1.7546,
42
+ "step": 400
43
+ },
44
+ {
45
+ "epoch": 2.0,
46
+ "learning_rate": 3e-05,
47
+ "loss": 1.7368,
48
+ "step": 500
49
+ },
50
+ {
51
+ "epoch": 2.0,
52
+ "eval_accuracy": 0.6078227848101266,
53
+ "eval_loss": 1.81111478805542,
54
+ "eval_runtime": 4.7063,
55
+ "eval_samples_per_second": 106.242,
56
+ "eval_steps_per_second": 13.386,
57
+ "step": 500
58
+ },
59
+ {
60
+ "epoch": 2.4,
61
+ "learning_rate": 3e-05,
62
+ "loss": 1.6749,
63
+ "step": 600
64
+ },
65
+ {
66
+ "epoch": 2.8,
67
+ "learning_rate": 3e-05,
68
+ "loss": 1.6689,
69
+ "step": 700
70
+ },
71
+ {
72
+ "epoch": 3.0,
73
+ "eval_accuracy": 0.607493670886076,
74
+ "eval_loss": 1.8103100061416626,
75
+ "eval_runtime": 5.2341,
76
+ "eval_samples_per_second": 95.528,
77
+ "eval_steps_per_second": 12.037,
78
+ "step": 750
79
+ },
80
+ {
81
+ "epoch": 3.2,
82
+ "learning_rate": 3e-05,
83
+ "loss": 1.6205,
84
+ "step": 800
85
+ },
86
+ {
87
+ "epoch": 3.6,
88
+ "learning_rate": 3e-05,
89
+ "loss": 1.556,
90
+ "step": 900
91
+ },
92
+ {
93
+ "epoch": 4.0,
94
+ "learning_rate": 3e-05,
95
+ "loss": 1.5555,
96
+ "step": 1000
97
+ },
98
+ {
99
+ "epoch": 4.0,
100
+ "eval_accuracy": 0.6067341772151899,
101
+ "eval_loss": 1.8414338827133179,
102
+ "eval_runtime": 4.8146,
103
+ "eval_samples_per_second": 103.85,
104
+ "eval_steps_per_second": 13.085,
105
+ "step": 1000
106
+ },
107
+ {
108
+ "epoch": 4.4,
109
+ "learning_rate": 3e-05,
110
+ "loss": 1.4289,
111
+ "step": 1100
112
+ },
113
+ {
114
+ "epoch": 4.8,
115
+ "learning_rate": 3e-05,
116
+ "loss": 1.4559,
117
+ "step": 1200
118
+ },
119
+ {
120
+ "epoch": 5.0,
121
+ "eval_accuracy": 0.6037721518987341,
122
+ "eval_loss": 1.8992472887039185,
123
+ "eval_runtime": 5.1125,
124
+ "eval_samples_per_second": 97.799,
125
+ "eval_steps_per_second": 12.323,
126
+ "step": 1250
127
+ },
128
+ {
129
+ "epoch": 5.2,
130
+ "learning_rate": 3e-05,
131
+ "loss": 1.3828,
132
+ "step": 1300
133
+ },
134
+ {
135
+ "epoch": 5.6,
136
+ "learning_rate": 3e-05,
137
+ "loss": 1.3271,
138
+ "step": 1400
139
+ },
140
+ {
141
+ "epoch": 6.0,
142
+ "learning_rate": 3e-05,
143
+ "loss": 1.3514,
144
+ "step": 1500
145
+ },
146
+ {
147
+ "epoch": 6.0,
148
+ "eval_accuracy": 0.6018227848101266,
149
+ "eval_loss": 1.9584064483642578,
150
+ "eval_runtime": 4.4025,
151
+ "eval_samples_per_second": 113.572,
152
+ "eval_steps_per_second": 14.31,
153
+ "step": 1500
154
+ },
155
+ {
156
+ "epoch": 6.4,
157
+ "learning_rate": 3e-05,
158
+ "loss": 1.2239,
159
+ "step": 1600
160
+ },
161
+ {
162
+ "epoch": 6.8,
163
+ "learning_rate": 3e-05,
164
+ "loss": 1.2491,
165
+ "step": 1700
166
+ },
167
+ {
168
+ "epoch": 7.0,
169
+ "eval_accuracy": 0.5999746835443038,
170
+ "eval_loss": 2.030003070831299,
171
+ "eval_runtime": 4.7046,
172
+ "eval_samples_per_second": 106.279,
173
+ "eval_steps_per_second": 13.391,
174
+ "step": 1750
175
+ },
176
+ {
177
+ "epoch": 7.2,
178
+ "learning_rate": 3e-05,
179
+ "loss": 1.1873,
180
+ "step": 1800
181
+ },
182
+ {
183
+ "epoch": 7.6,
184
+ "learning_rate": 3e-05,
185
+ "loss": 1.1455,
186
+ "step": 1900
187
+ },
188
+ {
189
+ "epoch": 8.0,
190
+ "learning_rate": 3e-05,
191
+ "loss": 1.1749,
192
+ "step": 2000
193
+ },
194
+ {
195
+ "epoch": 8.0,
196
+ "eval_accuracy": 0.5981518987341772,
197
+ "eval_loss": 2.1050591468811035,
198
+ "eval_runtime": 4.5572,
199
+ "eval_samples_per_second": 109.717,
200
+ "eval_steps_per_second": 13.824,
201
+ "step": 2000
202
+ },
203
+ {
204
+ "epoch": 8.4,
205
+ "learning_rate": 3e-05,
206
+ "loss": 1.0398,
207
+ "step": 2100
208
+ },
209
+ {
210
+ "epoch": 8.8,
211
+ "learning_rate": 3e-05,
212
+ "loss": 1.0769,
213
+ "step": 2200
214
+ },
215
+ {
216
+ "epoch": 9.0,
217
+ "eval_accuracy": 0.5953924050632912,
218
+ "eval_loss": 2.194838762283325,
219
+ "eval_runtime": 5.1306,
220
+ "eval_samples_per_second": 97.455,
221
+ "eval_steps_per_second": 12.279,
222
+ "step": 2250
223
+ },
224
+ {
225
+ "epoch": 9.2,
226
+ "learning_rate": 3e-05,
227
+ "loss": 1.0208,
228
+ "step": 2300
229
+ },
230
+ {
231
+ "epoch": 9.6,
232
+ "learning_rate": 3e-05,
233
+ "loss": 0.9809,
234
+ "step": 2400
235
+ },
236
+ {
237
+ "epoch": 10.0,
238
+ "learning_rate": 3e-05,
239
+ "loss": 1.0134,
240
+ "step": 2500
241
+ },
242
+ {
243
+ "epoch": 10.0,
244
+ "eval_accuracy": 0.594253164556962,
245
+ "eval_loss": 2.2515170574188232,
246
+ "eval_runtime": 4.7037,
247
+ "eval_samples_per_second": 106.3,
248
+ "eval_steps_per_second": 13.394,
249
+ "step": 2500
250
+ },
251
+ {
252
+ "epoch": 10.4,
253
+ "learning_rate": 3e-05,
254
+ "loss": 0.8808,
255
+ "step": 2600
256
+ },
257
+ {
258
+ "epoch": 10.8,
259
+ "learning_rate": 3e-05,
260
+ "loss": 0.9209,
261
+ "step": 2700
262
+ },
263
+ {
264
+ "epoch": 11.0,
265
+ "eval_accuracy": 0.592126582278481,
266
+ "eval_loss": 2.3421294689178467,
267
+ "eval_runtime": 4.5581,
268
+ "eval_samples_per_second": 109.695,
269
+ "eval_steps_per_second": 13.822,
270
+ "step": 2750
271
+ },
272
+ {
273
+ "epoch": 11.2,
274
+ "learning_rate": 3e-05,
275
+ "loss": 0.881,
276
+ "step": 2800
277
+ },
278
+ {
279
+ "epoch": 11.6,
280
+ "learning_rate": 3e-05,
281
+ "loss": 0.8321,
282
+ "step": 2900
283
+ },
284
+ {
285
+ "epoch": 12.0,
286
+ "learning_rate": 3e-05,
287
+ "loss": 0.8636,
288
+ "step": 3000
289
+ },
290
+ {
291
+ "epoch": 12.0,
292
+ "eval_accuracy": 0.5905063291139241,
293
+ "eval_loss": 2.4442591667175293,
294
+ "eval_runtime": 5.1497,
295
+ "eval_samples_per_second": 97.093,
296
+ "eval_steps_per_second": 12.234,
297
+ "step": 3000
298
+ },
299
+ {
300
+ "epoch": 12.4,
301
+ "learning_rate": 3e-05,
302
+ "loss": 0.7437,
303
+ "step": 3100
304
+ },
305
+ {
306
+ "epoch": 12.8,
307
+ "learning_rate": 3e-05,
308
+ "loss": 0.7866,
309
+ "step": 3200
310
+ },
311
+ {
312
+ "epoch": 13.0,
313
+ "eval_accuracy": 0.588,
314
+ "eval_loss": 2.557358741760254,
315
+ "eval_runtime": 4.558,
316
+ "eval_samples_per_second": 109.698,
317
+ "eval_steps_per_second": 13.822,
318
+ "step": 3250
319
+ },
320
+ {
321
+ "epoch": 13.2,
322
+ "learning_rate": 3e-05,
323
+ "loss": 0.7408,
324
+ "step": 3300
325
+ },
326
+ {
327
+ "epoch": 13.6,
328
+ "learning_rate": 3e-05,
329
+ "loss": 0.7067,
330
+ "step": 3400
331
+ },
332
+ {
333
+ "epoch": 14.0,
334
+ "learning_rate": 3e-05,
335
+ "loss": 0.7448,
336
+ "step": 3500
337
+ },
338
+ {
339
+ "epoch": 14.0,
340
+ "eval_accuracy": 0.5866835443037974,
341
+ "eval_loss": 2.579989194869995,
342
+ "eval_runtime": 4.4082,
343
+ "eval_samples_per_second": 113.424,
344
+ "eval_steps_per_second": 14.291,
345
+ "step": 3500
346
+ },
347
+ {
348
+ "epoch": 14.4,
349
+ "learning_rate": 3e-05,
350
+ "loss": 0.637,
351
+ "step": 3600
352
+ },
353
+ {
354
+ "epoch": 14.8,
355
+ "learning_rate": 3e-05,
356
+ "loss": 0.6709,
357
+ "step": 3700
358
+ },
359
+ {
360
+ "epoch": 15.0,
361
+ "eval_accuracy": 0.5845569620253165,
362
+ "eval_loss": 2.6911704540252686,
363
+ "eval_runtime": 5.1406,
364
+ "eval_samples_per_second": 97.265,
365
+ "eval_steps_per_second": 12.255,
366
+ "step": 3750
367
+ },
368
+ {
369
+ "epoch": 15.2,
370
+ "learning_rate": 3e-05,
371
+ "loss": 0.6375,
372
+ "step": 3800
373
+ },
374
+ {
375
+ "epoch": 15.6,
376
+ "learning_rate": 3e-05,
377
+ "loss": 0.6088,
378
+ "step": 3900
379
+ },
380
+ {
381
+ "epoch": 16.0,
382
+ "learning_rate": 3e-05,
383
+ "loss": 0.6439,
384
+ "step": 4000
385
+ },
386
+ {
387
+ "epoch": 16.0,
388
+ "eval_accuracy": 0.5853164556962025,
389
+ "eval_loss": 2.7545602321624756,
390
+ "eval_runtime": 4.7065,
391
+ "eval_samples_per_second": 106.237,
392
+ "eval_steps_per_second": 13.386,
393
+ "step": 4000
394
+ },
395
+ {
396
+ "epoch": 16.4,
397
+ "learning_rate": 3e-05,
398
+ "loss": 0.5552,
399
+ "step": 4100
400
+ },
401
+ {
402
+ "epoch": 16.8,
403
+ "learning_rate": 3e-05,
404
+ "loss": 0.5869,
405
+ "step": 4200
406
+ },
407
+ {
408
+ "epoch": 17.0,
409
+ "eval_accuracy": 0.5831139240506329,
410
+ "eval_loss": 2.799652338027954,
411
+ "eval_runtime": 5.213,
412
+ "eval_samples_per_second": 95.914,
413
+ "eval_steps_per_second": 12.085,
414
+ "step": 4250
415
+ },
416
+ {
417
+ "epoch": 17.2,
418
+ "learning_rate": 3e-05,
419
+ "loss": 0.5547,
420
+ "step": 4300
421
+ },
422
+ {
423
+ "epoch": 17.6,
424
+ "learning_rate": 3e-05,
425
+ "loss": 0.5336,
426
+ "step": 4400
427
+ },
428
+ {
429
+ "epoch": 18.0,
430
+ "learning_rate": 3e-05,
431
+ "loss": 0.5596,
432
+ "step": 4500
433
+ },
434
+ {
435
+ "epoch": 18.0,
436
+ "eval_accuracy": 0.5832911392405064,
437
+ "eval_loss": 2.843494176864624,
438
+ "eval_runtime": 4.6373,
439
+ "eval_samples_per_second": 107.822,
440
+ "eval_steps_per_second": 13.586,
441
+ "step": 4500
442
+ },
443
+ {
444
+ "epoch": 18.4,
445
+ "learning_rate": 3e-05,
446
+ "loss": 0.4871,
447
+ "step": 4600
448
+ },
449
+ {
450
+ "epoch": 18.8,
451
+ "learning_rate": 3e-05,
452
+ "loss": 0.5205,
453
+ "step": 4700
454
+ },
455
+ {
456
+ "epoch": 19.0,
457
+ "eval_accuracy": 0.5832911392405064,
458
+ "eval_loss": 2.9509618282318115,
459
+ "eval_runtime": 4.4063,
460
+ "eval_samples_per_second": 113.473,
461
+ "eval_steps_per_second": 14.298,
462
+ "step": 4750
463
+ },
464
+ {
465
+ "epoch": 19.2,
466
+ "learning_rate": 3e-05,
467
+ "loss": 0.4924,
468
+ "step": 4800
469
+ },
470
+ {
471
+ "epoch": 19.6,
472
+ "learning_rate": 3e-05,
473
+ "loss": 0.4789,
474
+ "step": 4900
475
+ },
476
+ {
477
+ "epoch": 20.0,
478
+ "learning_rate": 3e-05,
479
+ "loss": 0.5045,
480
+ "step": 5000
481
+ },
482
+ {
483
+ "epoch": 20.0,
484
+ "eval_accuracy": 0.5824050632911393,
485
+ "eval_loss": 2.9796953201293945,
486
+ "eval_runtime": 5.1055,
487
+ "eval_samples_per_second": 97.933,
488
+ "eval_steps_per_second": 12.34,
489
+ "step": 5000
490
+ },
491
+ {
492
+ "epoch": 20.0,
493
+ "step": 5000,
494
+ "total_flos": 3.1967425075347456e+17,
495
+ "train_loss": 1.043557526397705,
496
+ "train_runtime": 3605.2187,
497
+ "train_samples_per_second": 44.38,
498
+ "train_steps_per_second": 1.387
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
+ }