tyzhu commited on
Commit
7a30c2a
1 Parent(s): 540f4c3

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-4_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-4_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.9650
21
  - Accuracy: 0.5883
 
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-4_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.5883291139240506
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-4_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.9650
33
  - Accuracy: 0.5883
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "eval_accuracy": 0.5883291139240506,
4
+ "eval_loss": 2.9650285243988037,
5
+ "eval_runtime": 4.4418,
6
+ "eval_samples": 500,
7
+ "eval_samples_per_second": 112.568,
8
+ "eval_steps_per_second": 14.184,
9
+ "perplexity": 19.39525647161153,
10
+ "train_loss": 0.5438678237915039,
11
+ "train_runtime": 3497.065,
12
+ "train_samples": 8000,
13
+ "train_samples_per_second": 45.753,
14
+ "train_steps_per_second": 1.43
15
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "eval_accuracy": 0.5883291139240506,
4
+ "eval_loss": 2.9650285243988037,
5
+ "eval_runtime": 4.4418,
6
+ "eval_samples": 500,
7
+ "eval_samples_per_second": 112.568,
8
+ "eval_steps_per_second": 14.184,
9
+ "perplexity": 19.39525647161153
10
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 20.0,
3
+ "train_loss": 0.5438678237915039,
4
+ "train_runtime": 3497.065,
5
+ "train_samples": 8000,
6
+ "train_samples_per_second": 45.753,
7
+ "train_steps_per_second": 1.43
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": 0.0003,
14
+ "loss": 1.9296,
15
+ "step": 100
16
+ },
17
+ {
18
+ "epoch": 0.8,
19
+ "learning_rate": 0.0003,
20
+ "loss": 1.7554,
21
+ "step": 200
22
+ },
23
+ {
24
+ "epoch": 1.0,
25
+ "eval_accuracy": 0.6093164556962025,
26
+ "eval_loss": 1.7939746379852295,
27
+ "eval_runtime": 4.7481,
28
+ "eval_samples_per_second": 105.304,
29
+ "eval_steps_per_second": 13.268,
30
+ "step": 250
31
+ },
32
+ {
33
+ "epoch": 1.2,
34
+ "learning_rate": 0.0003,
35
+ "loss": 1.6394,
36
+ "step": 300
37
+ },
38
+ {
39
+ "epoch": 1.6,
40
+ "learning_rate": 0.0003,
41
+ "loss": 1.5315,
42
+ "step": 400
43
+ },
44
+ {
45
+ "epoch": 2.0,
46
+ "learning_rate": 0.0003,
47
+ "loss": 1.5248,
48
+ "step": 500
49
+ },
50
+ {
51
+ "epoch": 2.0,
52
+ "eval_accuracy": 0.6085063291139241,
53
+ "eval_loss": 1.8273799419403076,
54
+ "eval_runtime": 4.904,
55
+ "eval_samples_per_second": 101.957,
56
+ "eval_steps_per_second": 12.847,
57
+ "step": 500
58
+ },
59
+ {
60
+ "epoch": 2.4,
61
+ "learning_rate": 0.0003,
62
+ "loss": 1.1692,
63
+ "step": 600
64
+ },
65
+ {
66
+ "epoch": 2.8,
67
+ "learning_rate": 0.0003,
68
+ "loss": 1.2054,
69
+ "step": 700
70
+ },
71
+ {
72
+ "epoch": 3.0,
73
+ "eval_accuracy": 0.6027088607594937,
74
+ "eval_loss": 1.9717934131622314,
75
+ "eval_runtime": 4.6675,
76
+ "eval_samples_per_second": 107.124,
77
+ "eval_steps_per_second": 13.498,
78
+ "step": 750
79
+ },
80
+ {
81
+ "epoch": 3.2,
82
+ "learning_rate": 0.0003,
83
+ "loss": 1.0252,
84
+ "step": 800
85
+ },
86
+ {
87
+ "epoch": 3.6,
88
+ "learning_rate": 0.0003,
89
+ "loss": 0.8608,
90
+ "step": 900
91
+ },
92
+ {
93
+ "epoch": 4.0,
94
+ "learning_rate": 0.0003,
95
+ "loss": 0.8989,
96
+ "step": 1000
97
+ },
98
+ {
99
+ "epoch": 4.0,
100
+ "eval_accuracy": 0.5986835443037974,
101
+ "eval_loss": 2.151914596557617,
102
+ "eval_runtime": 5.4432,
103
+ "eval_samples_per_second": 91.857,
104
+ "eval_steps_per_second": 11.574,
105
+ "step": 1000
106
+ },
107
+ {
108
+ "epoch": 4.4,
109
+ "learning_rate": 0.0003,
110
+ "loss": 0.5842,
111
+ "step": 1100
112
+ },
113
+ {
114
+ "epoch": 4.8,
115
+ "learning_rate": 0.0003,
116
+ "loss": 0.6306,
117
+ "step": 1200
118
+ },
119
+ {
120
+ "epoch": 5.0,
121
+ "eval_accuracy": 0.5960506329113924,
122
+ "eval_loss": 2.329284191131592,
123
+ "eval_runtime": 4.4146,
124
+ "eval_samples_per_second": 113.261,
125
+ "eval_steps_per_second": 14.271,
126
+ "step": 1250
127
+ },
128
+ {
129
+ "epoch": 5.2,
130
+ "learning_rate": 0.0003,
131
+ "loss": 0.5368,
132
+ "step": 1300
133
+ },
134
+ {
135
+ "epoch": 5.6,
136
+ "learning_rate": 0.0003,
137
+ "loss": 0.4495,
138
+ "step": 1400
139
+ },
140
+ {
141
+ "epoch": 6.0,
142
+ "learning_rate": 0.0003,
143
+ "loss": 0.4712,
144
+ "step": 1500
145
+ },
146
+ {
147
+ "epoch": 6.0,
148
+ "eval_accuracy": 0.5935696202531645,
149
+ "eval_loss": 2.5598793029785156,
150
+ "eval_runtime": 4.5669,
151
+ "eval_samples_per_second": 109.484,
152
+ "eval_steps_per_second": 13.795,
153
+ "step": 1500
154
+ },
155
+ {
156
+ "epoch": 6.4,
157
+ "learning_rate": 0.0003,
158
+ "loss": 0.3625,
159
+ "step": 1600
160
+ },
161
+ {
162
+ "epoch": 6.8,
163
+ "learning_rate": 0.0003,
164
+ "loss": 0.3797,
165
+ "step": 1700
166
+ },
167
+ {
168
+ "epoch": 7.0,
169
+ "eval_accuracy": 0.5935696202531645,
170
+ "eval_loss": 2.732860803604126,
171
+ "eval_runtime": 4.5141,
172
+ "eval_samples_per_second": 110.763,
173
+ "eval_steps_per_second": 13.956,
174
+ "step": 1750
175
+ },
176
+ {
177
+ "epoch": 7.2,
178
+ "learning_rate": 0.0003,
179
+ "loss": 0.3582,
180
+ "step": 1800
181
+ },
182
+ {
183
+ "epoch": 7.6,
184
+ "learning_rate": 0.0003,
185
+ "loss": 0.3399,
186
+ "step": 1900
187
+ },
188
+ {
189
+ "epoch": 8.0,
190
+ "learning_rate": 0.0003,
191
+ "loss": 0.3527,
192
+ "step": 2000
193
+ },
194
+ {
195
+ "epoch": 8.0,
196
+ "eval_accuracy": 0.5912911392405064,
197
+ "eval_loss": 2.8185083866119385,
198
+ "eval_runtime": 4.7158,
199
+ "eval_samples_per_second": 106.026,
200
+ "eval_steps_per_second": 13.359,
201
+ "step": 2000
202
+ },
203
+ {
204
+ "epoch": 8.4,
205
+ "learning_rate": 0.0003,
206
+ "loss": 0.3202,
207
+ "step": 2100
208
+ },
209
+ {
210
+ "epoch": 8.8,
211
+ "learning_rate": 0.0003,
212
+ "loss": 0.3314,
213
+ "step": 2200
214
+ },
215
+ {
216
+ "epoch": 9.0,
217
+ "eval_accuracy": 0.592,
218
+ "eval_loss": 2.824962854385376,
219
+ "eval_runtime": 4.8288,
220
+ "eval_samples_per_second": 103.546,
221
+ "eval_steps_per_second": 13.047,
222
+ "step": 2250
223
+ },
224
+ {
225
+ "epoch": 9.2,
226
+ "learning_rate": 0.0003,
227
+ "loss": 0.3174,
228
+ "step": 2300
229
+ },
230
+ {
231
+ "epoch": 9.6,
232
+ "learning_rate": 0.0003,
233
+ "loss": 0.3157,
234
+ "step": 2400
235
+ },
236
+ {
237
+ "epoch": 10.0,
238
+ "learning_rate": 0.0003,
239
+ "loss": 0.3265,
240
+ "step": 2500
241
+ },
242
+ {
243
+ "epoch": 10.0,
244
+ "eval_accuracy": 0.5911392405063292,
245
+ "eval_loss": 2.9242382049560547,
246
+ "eval_runtime": 4.7138,
247
+ "eval_samples_per_second": 106.072,
248
+ "eval_steps_per_second": 13.365,
249
+ "step": 2500
250
+ },
251
+ {
252
+ "epoch": 10.4,
253
+ "learning_rate": 0.0003,
254
+ "loss": 0.2989,
255
+ "step": 2600
256
+ },
257
+ {
258
+ "epoch": 10.8,
259
+ "learning_rate": 0.0003,
260
+ "loss": 0.3148,
261
+ "step": 2700
262
+ },
263
+ {
264
+ "epoch": 11.0,
265
+ "eval_accuracy": 0.591240506329114,
266
+ "eval_loss": 3.0012593269348145,
267
+ "eval_runtime": 5.1318,
268
+ "eval_samples_per_second": 97.431,
269
+ "eval_steps_per_second": 12.276,
270
+ "step": 2750
271
+ },
272
+ {
273
+ "epoch": 11.2,
274
+ "learning_rate": 0.0003,
275
+ "loss": 0.3028,
276
+ "step": 2800
277
+ },
278
+ {
279
+ "epoch": 11.6,
280
+ "learning_rate": 0.0003,
281
+ "loss": 0.3047,
282
+ "step": 2900
283
+ },
284
+ {
285
+ "epoch": 12.0,
286
+ "learning_rate": 0.0003,
287
+ "loss": 0.3184,
288
+ "step": 3000
289
+ },
290
+ {
291
+ "epoch": 12.0,
292
+ "eval_accuracy": 0.590632911392405,
293
+ "eval_loss": 2.931525707244873,
294
+ "eval_runtime": 4.7893,
295
+ "eval_samples_per_second": 104.399,
296
+ "eval_steps_per_second": 13.154,
297
+ "step": 3000
298
+ },
299
+ {
300
+ "epoch": 12.4,
301
+ "learning_rate": 0.0003,
302
+ "loss": 0.3,
303
+ "step": 3100
304
+ },
305
+ {
306
+ "epoch": 12.8,
307
+ "learning_rate": 0.0003,
308
+ "loss": 0.3101,
309
+ "step": 3200
310
+ },
311
+ {
312
+ "epoch": 13.0,
313
+ "eval_accuracy": 0.5896962025316456,
314
+ "eval_loss": 2.9116382598876953,
315
+ "eval_runtime": 4.5748,
316
+ "eval_samples_per_second": 109.295,
317
+ "eval_steps_per_second": 13.771,
318
+ "step": 3250
319
+ },
320
+ {
321
+ "epoch": 13.2,
322
+ "learning_rate": 0.0003,
323
+ "loss": 0.3063,
324
+ "step": 3300
325
+ },
326
+ {
327
+ "epoch": 13.6,
328
+ "learning_rate": 0.0003,
329
+ "loss": 0.3041,
330
+ "step": 3400
331
+ },
332
+ {
333
+ "epoch": 14.0,
334
+ "learning_rate": 0.0003,
335
+ "loss": 0.3164,
336
+ "step": 3500
337
+ },
338
+ {
339
+ "epoch": 14.0,
340
+ "eval_accuracy": 0.5902025316455696,
341
+ "eval_loss": 2.920793056488037,
342
+ "eval_runtime": 4.718,
343
+ "eval_samples_per_second": 105.977,
344
+ "eval_steps_per_second": 13.353,
345
+ "step": 3500
346
+ },
347
+ {
348
+ "epoch": 14.4,
349
+ "learning_rate": 0.0003,
350
+ "loss": 0.2957,
351
+ "step": 3600
352
+ },
353
+ {
354
+ "epoch": 14.8,
355
+ "learning_rate": 0.0003,
356
+ "loss": 0.3074,
357
+ "step": 3700
358
+ },
359
+ {
360
+ "epoch": 15.0,
361
+ "eval_accuracy": 0.5908607594936709,
362
+ "eval_loss": 2.9385440349578857,
363
+ "eval_runtime": 5.108,
364
+ "eval_samples_per_second": 97.887,
365
+ "eval_steps_per_second": 12.334,
366
+ "step": 3750
367
+ },
368
+ {
369
+ "epoch": 15.2,
370
+ "learning_rate": 0.0003,
371
+ "loss": 0.3013,
372
+ "step": 3800
373
+ },
374
+ {
375
+ "epoch": 15.6,
376
+ "learning_rate": 0.0003,
377
+ "loss": 0.3002,
378
+ "step": 3900
379
+ },
380
+ {
381
+ "epoch": 16.0,
382
+ "learning_rate": 0.0003,
383
+ "loss": 0.3107,
384
+ "step": 4000
385
+ },
386
+ {
387
+ "epoch": 16.0,
388
+ "eval_accuracy": 0.5891645569620253,
389
+ "eval_loss": 2.9519243240356445,
390
+ "eval_runtime": 4.8208,
391
+ "eval_samples_per_second": 103.717,
392
+ "eval_steps_per_second": 13.068,
393
+ "step": 4000
394
+ },
395
+ {
396
+ "epoch": 16.4,
397
+ "learning_rate": 0.0003,
398
+ "loss": 0.2892,
399
+ "step": 4100
400
+ },
401
+ {
402
+ "epoch": 16.8,
403
+ "learning_rate": 0.0003,
404
+ "loss": 0.3054,
405
+ "step": 4200
406
+ },
407
+ {
408
+ "epoch": 17.0,
409
+ "eval_accuracy": 0.5898227848101266,
410
+ "eval_loss": 3.010847568511963,
411
+ "eval_runtime": 5.1511,
412
+ "eval_samples_per_second": 97.066,
413
+ "eval_steps_per_second": 12.23,
414
+ "step": 4250
415
+ },
416
+ {
417
+ "epoch": 17.2,
418
+ "learning_rate": 0.0003,
419
+ "loss": 0.2959,
420
+ "step": 4300
421
+ },
422
+ {
423
+ "epoch": 17.6,
424
+ "learning_rate": 0.0003,
425
+ "loss": 0.297,
426
+ "step": 4400
427
+ },
428
+ {
429
+ "epoch": 18.0,
430
+ "learning_rate": 0.0003,
431
+ "loss": 0.309,
432
+ "step": 4500
433
+ },
434
+ {
435
+ "epoch": 18.0,
436
+ "eval_accuracy": 0.5903544303797469,
437
+ "eval_loss": 3.003683567047119,
438
+ "eval_runtime": 4.8904,
439
+ "eval_samples_per_second": 102.241,
440
+ "eval_steps_per_second": 12.882,
441
+ "step": 4500
442
+ },
443
+ {
444
+ "epoch": 18.4,
445
+ "learning_rate": 0.0003,
446
+ "loss": 0.2883,
447
+ "step": 4600
448
+ },
449
+ {
450
+ "epoch": 18.8,
451
+ "learning_rate": 0.0003,
452
+ "loss": 0.3005,
453
+ "step": 4700
454
+ },
455
+ {
456
+ "epoch": 19.0,
457
+ "eval_accuracy": 0.5898481012658228,
458
+ "eval_loss": 3.0279438495635986,
459
+ "eval_runtime": 5.1333,
460
+ "eval_samples_per_second": 97.403,
461
+ "eval_steps_per_second": 12.273,
462
+ "step": 4750
463
+ },
464
+ {
465
+ "epoch": 19.2,
466
+ "learning_rate": 0.0003,
467
+ "loss": 0.2959,
468
+ "step": 4800
469
+ },
470
+ {
471
+ "epoch": 19.6,
472
+ "learning_rate": 0.0003,
473
+ "loss": 0.2911,
474
+ "step": 4900
475
+ },
476
+ {
477
+ "epoch": 20.0,
478
+ "learning_rate": 0.0003,
479
+ "loss": 0.3127,
480
+ "step": 5000
481
+ },
482
+ {
483
+ "epoch": 20.0,
484
+ "eval_accuracy": 0.5883291139240506,
485
+ "eval_loss": 2.9650285243988037,
486
+ "eval_runtime": 4.8904,
487
+ "eval_samples_per_second": 102.242,
488
+ "eval_steps_per_second": 12.882,
489
+ "step": 5000
490
+ },
491
+ {
492
+ "epoch": 20.0,
493
+ "step": 5000,
494
+ "total_flos": 3.1967425075347456e+17,
495
+ "train_loss": 0.5438678237915039,
496
+ "train_runtime": 3497.065,
497
+ "train_samples_per_second": 45.753,
498
+ "train_steps_per_second": 1.43
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
+ }