terry69 commited on
Commit
e6da74d
1 Parent(s): 30592f5

Model save

Browse files
README.md ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ library_name: peft
4
+ tags:
5
+ - trl
6
+ - sft
7
+ - generated_from_trainer
8
+ base_model: mistralai/Mistral-7B-v0.1
9
+ model-index:
10
+ - name: mistral_poe_20
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # mistral_poe_20
18
+
19
+ This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: nan
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 0.0002
41
+ - train_batch_size: 4
42
+ - eval_batch_size: 1
43
+ - seed: 42
44
+ - distributed_type: multi-GPU
45
+ - num_devices: 4
46
+ - gradient_accumulation_steps: 2
47
+ - total_train_batch_size: 32
48
+ - total_eval_batch_size: 4
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: cosine
51
+ - lr_scheduler_warmup_ratio: 0.1
52
+ - num_epochs: 1
53
+
54
+ ### Training results
55
+
56
+ | Training Loss | Epoch | Step | Validation Loss |
57
+ |:-------------:|:-----:|:----:|:---------------:|
58
+ | 5.1 | 1.0 | 325 | nan |
59
+
60
+
61
+ ### Framework versions
62
+
63
+ - PEFT 0.7.1
64
+ - Transformers 4.39.0.dev0
65
+ - Pytorch 2.2.2+cu121
66
+ - Datasets 2.14.6
67
+ - Tokenizers 0.15.2
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:89c5fd6132df338cb93a3e7856620be4b19262ae07a16e05e763ed200be8cfeb
3
  size 31516744
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7ff7a7bba5b6cdfbc12cb337e1dd646622f093ba1bfb2be1a5ec5e3b9c98addf
3
  size 31516744
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 5.311349804217999,
4
+ "train_runtime": 5936.4673,
5
+ "train_samples": 10393,
6
+ "train_samples_per_second": 1.751,
7
+ "train_steps_per_second": 0.055
8
+ }
runs/May14_08-07-38_ip-172-31-69-60.ec2.internal/events.out.tfevents.1715674075.ip-172-31-69-60.ec2.internal.40002.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a7d43c1ef5fe97dcde7d13cb0038fff8bd8119574545d31f9df4736e9a212607
3
- size 18280
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a787ad512e7d717d4cd274a5fd5fd189123557d63b1dd33f3c2fa3e23de30963
3
+ size 19116
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 5.311349804217999,
4
+ "train_runtime": 5936.4673,
5
+ "train_samples": 10393,
6
+ "train_samples_per_second": 1.751,
7
+ "train_steps_per_second": 0.055
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,500 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 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_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.0,
13
+ "grad_norm": 4.966057670734111,
14
+ "learning_rate": 6.060606060606061e-06,
15
+ "loss": 9.1692,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.02,
20
+ "grad_norm": 4.4086373609083305,
21
+ "learning_rate": 3.0303030303030306e-05,
22
+ "loss": 9.1498,
23
+ "step": 5
24
+ },
25
+ {
26
+ "epoch": 0.03,
27
+ "grad_norm": 10.56943140466758,
28
+ "learning_rate": 6.060606060606061e-05,
29
+ "loss": 8.0701,
30
+ "step": 10
31
+ },
32
+ {
33
+ "epoch": 0.05,
34
+ "grad_norm": 1.0222409562078616,
35
+ "learning_rate": 9.090909090909092e-05,
36
+ "loss": 5.6026,
37
+ "step": 15
38
+ },
39
+ {
40
+ "epoch": 0.06,
41
+ "grad_norm": 0.08102902140854293,
42
+ "learning_rate": 0.00012121212121212122,
43
+ "loss": 5.2166,
44
+ "step": 20
45
+ },
46
+ {
47
+ "epoch": 0.08,
48
+ "grad_norm": 0.024683296200408666,
49
+ "learning_rate": 0.00015151515151515152,
50
+ "loss": 5.2558,
51
+ "step": 25
52
+ },
53
+ {
54
+ "epoch": 0.09,
55
+ "grad_norm": 0.05101498910262888,
56
+ "learning_rate": 0.00018181818181818183,
57
+ "loss": 5.4174,
58
+ "step": 30
59
+ },
60
+ {
61
+ "epoch": 0.11,
62
+ "grad_norm": 0.009746005540016655,
63
+ "learning_rate": 0.00019997685019798912,
64
+ "loss": 5.5556,
65
+ "step": 35
66
+ },
67
+ {
68
+ "epoch": 0.12,
69
+ "grad_norm": 0.41034811182637754,
70
+ "learning_rate": 0.0001997165380022878,
71
+ "loss": 5.6887,
72
+ "step": 40
73
+ },
74
+ {
75
+ "epoch": 0.14,
76
+ "grad_norm": 0.021653839538441525,
77
+ "learning_rate": 0.000199167731989929,
78
+ "loss": 5.6532,
79
+ "step": 45
80
+ },
81
+ {
82
+ "epoch": 0.15,
83
+ "grad_norm": 0.007119031812625819,
84
+ "learning_rate": 0.0001983320199330545,
85
+ "loss": 5.6134,
86
+ "step": 50
87
+ },
88
+ {
89
+ "epoch": 0.17,
90
+ "grad_norm": 0.002175080726276986,
91
+ "learning_rate": 0.00019721181966290613,
92
+ "loss": 5.6375,
93
+ "step": 55
94
+ },
95
+ {
96
+ "epoch": 0.18,
97
+ "grad_norm": 0.0016236968230193256,
98
+ "learning_rate": 0.00019581037207470382,
99
+ "loss": 5.6539,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 0.2,
104
+ "grad_norm": 0.0008684584953792839,
105
+ "learning_rate": 0.00019413173175128473,
106
+ "loss": 5.6594,
107
+ "step": 65
108
+ },
109
+ {
110
+ "epoch": 0.22,
111
+ "grad_norm": 0.0007165250669874539,
112
+ "learning_rate": 0.00019218075523263104,
113
+ "loss": 5.6852,
114
+ "step": 70
115
+ },
116
+ {
117
+ "epoch": 0.23,
118
+ "grad_norm": 0.0013355276692502973,
119
+ "learning_rate": 0.00018996308696522433,
120
+ "loss": 5.7791,
121
+ "step": 75
122
+ },
123
+ {
124
+ "epoch": 0.25,
125
+ "grad_norm": 0.015776280146193138,
126
+ "learning_rate": 0.00018748514297187648,
127
+ "loss": 5.3361,
128
+ "step": 80
129
+ },
130
+ {
131
+ "epoch": 0.26,
132
+ "grad_norm": 0.016515416923740724,
133
+ "learning_rate": 0.00018475409228928312,
134
+ "loss": 5.0863,
135
+ "step": 85
136
+ },
137
+ {
138
+ "epoch": 0.28,
139
+ "grad_norm": 0.011518636937235155,
140
+ "learning_rate": 0.00018177783622700327,
141
+ "loss": 5.003,
142
+ "step": 90
143
+ },
144
+ {
145
+ "epoch": 0.29,
146
+ "grad_norm": 0.008431883403879271,
147
+ "learning_rate": 0.00017856498550787144,
148
+ "loss": 5.0254,
149
+ "step": 95
150
+ },
151
+ {
152
+ "epoch": 0.31,
153
+ "grad_norm": 0.004208464354011368,
154
+ "learning_rate": 0.00017512483535597867,
155
+ "loss": 5.0571,
156
+ "step": 100
157
+ },
158
+ {
159
+ "epoch": 0.32,
160
+ "grad_norm": 0.0024543232426518812,
161
+ "learning_rate": 0.00017146733860429612,
162
+ "loss": 5.0774,
163
+ "step": 105
164
+ },
165
+ {
166
+ "epoch": 0.34,
167
+ "grad_norm": 0.011770237751697214,
168
+ "learning_rate": 0.0001676030768997445,
169
+ "loss": 5.0985,
170
+ "step": 110
171
+ },
172
+ {
173
+ "epoch": 0.35,
174
+ "grad_norm": 0.0012232543172927116,
175
+ "learning_rate": 0.00016354323008901776,
176
+ "loss": 5.0891,
177
+ "step": 115
178
+ },
179
+ {
180
+ "epoch": 0.37,
181
+ "grad_norm": 0.0011131940748631626,
182
+ "learning_rate": 0.00015929954387373103,
183
+ "loss": 5.1078,
184
+ "step": 120
185
+ },
186
+ {
187
+ "epoch": 0.38,
188
+ "grad_norm": 0.0007848533521529687,
189
+ "learning_rate": 0.00015488429582847192,
190
+ "loss": 5.1407,
191
+ "step": 125
192
+ },
193
+ {
194
+ "epoch": 0.4,
195
+ "grad_norm": 0.000942839738714448,
196
+ "learning_rate": 0.00015031025988006936,
197
+ "loss": 5.1133,
198
+ "step": 130
199
+ },
200
+ {
201
+ "epoch": 0.42,
202
+ "grad_norm": 0.0014645217129741282,
203
+ "learning_rate": 0.00014559066935084588,
204
+ "loss": 5.1195,
205
+ "step": 135
206
+ },
207
+ {
208
+ "epoch": 0.43,
209
+ "grad_norm": 0.0018167413381591129,
210
+ "learning_rate": 0.00014073917867277557,
211
+ "loss": 5.1258,
212
+ "step": 140
213
+ },
214
+ {
215
+ "epoch": 0.45,
216
+ "grad_norm": 0.0006483033060279427,
217
+ "learning_rate": 0.0001357698238833126,
218
+ "loss": 5.1156,
219
+ "step": 145
220
+ },
221
+ {
222
+ "epoch": 0.46,
223
+ "grad_norm": 0.000907685244310612,
224
+ "learning_rate": 0.000130696982017182,
225
+ "loss": 5.1156,
226
+ "step": 150
227
+ },
228
+ {
229
+ "epoch": 0.48,
230
+ "grad_norm": 0.0010163182837499274,
231
+ "learning_rate": 0.0001255353295116187,
232
+ "loss": 5.1156,
233
+ "step": 155
234
+ },
235
+ {
236
+ "epoch": 0.49,
237
+ "grad_norm": 0.0006269672357977566,
238
+ "learning_rate": 0.00012029979974539234,
239
+ "loss": 5.1063,
240
+ "step": 160
241
+ },
242
+ {
243
+ "epoch": 0.51,
244
+ "grad_norm": 0.0009630425191761279,
245
+ "learning_rate": 0.00011500553983446527,
246
+ "loss": 5.1227,
247
+ "step": 165
248
+ },
249
+ {
250
+ "epoch": 0.52,
251
+ "grad_norm": 0.0006541371379801539,
252
+ "learning_rate": 0.00010966786680927874,
253
+ "loss": 5.1235,
254
+ "step": 170
255
+ },
256
+ {
257
+ "epoch": 0.54,
258
+ "grad_norm": 0.0005339615585857347,
259
+ "learning_rate": 0.00010430222330045304,
260
+ "loss": 5.1164,
261
+ "step": 175
262
+ },
263
+ {
264
+ "epoch": 0.55,
265
+ "grad_norm": 0.0008697133023016856,
266
+ "learning_rate": 9.892413286110886e-05,
267
+ "loss": 5.1415,
268
+ "step": 180
269
+ },
270
+ {
271
+ "epoch": 0.57,
272
+ "grad_norm": 0.002710808242709564,
273
+ "learning_rate": 9.354915505506839e-05,
274
+ "loss": 5.1344,
275
+ "step": 185
276
+ },
277
+ {
278
+ "epoch": 0.58,
279
+ "grad_norm": 0.0036494198122248305,
280
+ "learning_rate": 8.81928404408726e-05,
281
+ "loss": 5.1399,
282
+ "step": 190
283
+ },
284
+ {
285
+ "epoch": 0.6,
286
+ "grad_norm": 0.0065159762311541875,
287
+ "learning_rate": 8.287068558185225e-05,
288
+ "loss": 5.1399,
289
+ "step": 195
290
+ },
291
+ {
292
+ "epoch": 0.62,
293
+ "grad_norm": 0.0037082380862026275,
294
+ "learning_rate": 7.759808821241406e-05,
295
+ "loss": 5.1265,
296
+ "step": 200
297
+ },
298
+ {
299
+ "epoch": 0.63,
300
+ "grad_norm": 0.0027408395630919608,
301
+ "learning_rate": 7.239030269025311e-05,
302
+ "loss": 5.1336,
303
+ "step": 205
304
+ },
305
+ {
306
+ "epoch": 0.65,
307
+ "grad_norm": 0.012854348458189542,
308
+ "learning_rate": 6.726239586337408e-05,
309
+ "loss": 5.1164,
310
+ "step": 210
311
+ },
312
+ {
313
+ "epoch": 0.66,
314
+ "grad_norm": 0.0015286542890117305,
315
+ "learning_rate": 6.22292034796035e-05,
316
+ "loss": 5.1094,
317
+ "step": 215
318
+ },
319
+ {
320
+ "epoch": 0.68,
321
+ "grad_norm": 0.000885838472289933,
322
+ "learning_rate": 5.730528726470792e-05,
323
+ "loss": 5.1133,
324
+ "step": 220
325
+ },
326
+ {
327
+ "epoch": 0.69,
328
+ "grad_norm": 0.001640241431113671,
329
+ "learning_rate": 5.2504892793295e-05,
330
+ "loss": 5.1078,
331
+ "step": 225
332
+ },
333
+ {
334
+ "epoch": 0.71,
335
+ "grad_norm": 0.0012069300346476944,
336
+ "learning_rate": 4.7841908274384616e-05,
337
+ "loss": 5.1125,
338
+ "step": 230
339
+ },
340
+ {
341
+ "epoch": 0.72,
342
+ "grad_norm": 0.0010847699053696477,
343
+ "learning_rate": 4.332982437088825e-05,
344
+ "loss": 5.1008,
345
+ "step": 235
346
+ },
347
+ {
348
+ "epoch": 0.74,
349
+ "grad_norm": 0.001040653093371117,
350
+ "learning_rate": 3.898169516924398e-05,
351
+ "loss": 5.1047,
352
+ "step": 240
353
+ },
354
+ {
355
+ "epoch": 0.75,
356
+ "grad_norm": 0.0018113529113868085,
357
+ "learning_rate": 3.4810100412128747e-05,
358
+ "loss": 5.1016,
359
+ "step": 245
360
+ },
361
+ {
362
+ "epoch": 0.77,
363
+ "grad_norm": 0.0005998767854279542,
364
+ "learning_rate": 3.0827109103512643e-05,
365
+ "loss": 5.1055,
366
+ "step": 250
367
+ },
368
+ {
369
+ "epoch": 0.78,
370
+ "grad_norm": 0.0006057369143316162,
371
+ "learning_rate": 2.7044244591351232e-05,
372
+ "loss": 5.1188,
373
+ "step": 255
374
+ },
375
+ {
376
+ "epoch": 0.8,
377
+ "grad_norm": 0.0008733820965525893,
378
+ "learning_rate": 2.3472451228937253e-05,
379
+ "loss": 5.1024,
380
+ "step": 260
381
+ },
382
+ {
383
+ "epoch": 0.82,
384
+ "grad_norm": 0.00044725420450702504,
385
+ "learning_rate": 2.0122062711363532e-05,
386
+ "loss": 5.1008,
387
+ "step": 265
388
+ },
389
+ {
390
+ "epoch": 0.83,
391
+ "grad_norm": 0.0005045243600866778,
392
+ "learning_rate": 1.7002772178705716e-05,
393
+ "loss": 5.1133,
394
+ "step": 270
395
+ },
396
+ {
397
+ "epoch": 0.85,
398
+ "grad_norm": 0.0003699276694513808,
399
+ "learning_rate": 1.4123604172419713e-05,
400
+ "loss": 5.1133,
401
+ "step": 275
402
+ },
403
+ {
404
+ "epoch": 0.86,
405
+ "grad_norm": 0.0005009069102438912,
406
+ "learning_rate": 1.149288852608743e-05,
407
+ "loss": 5.1141,
408
+ "step": 280
409
+ },
410
+ {
411
+ "epoch": 0.88,
412
+ "grad_norm": 0.00043804754145403135,
413
+ "learning_rate": 9.118236266049707e-06,
414
+ "loss": 5.1055,
415
+ "step": 285
416
+ },
417
+ {
418
+ "epoch": 0.89,
419
+ "grad_norm": 0.0007514667615813387,
420
+ "learning_rate": 7.0065175916482095e-06,
421
+ "loss": 5.0992,
422
+ "step": 290
423
+ },
424
+ {
425
+ "epoch": 0.91,
426
+ "grad_norm": 0.0007652506213514495,
427
+ "learning_rate": 5.163841998782837e-06,
428
+ "loss": 5.0938,
429
+ "step": 295
430
+ },
431
+ {
432
+ "epoch": 0.92,
433
+ "grad_norm": 0.00043682966677225103,
434
+ "learning_rate": 3.595540604290437e-06,
435
+ "loss": 5.1133,
436
+ "step": 300
437
+ },
438
+ {
439
+ "epoch": 0.94,
440
+ "grad_norm": 0.0003666719447106826,
441
+ "learning_rate": 2.30615072228183e-06,
442
+ "loss": 5.1047,
443
+ "step": 305
444
+ },
445
+ {
446
+ "epoch": 0.95,
447
+ "grad_norm": 0.0002965553299134117,
448
+ "learning_rate": 1.2994027370611173e-06,
449
+ "loss": 5.1024,
450
+ "step": 310
451
+ },
452
+ {
453
+ "epoch": 0.97,
454
+ "grad_norm": 0.0005906234207107822,
455
+ "learning_rate": 5.782093106048159e-07,
456
+ "loss": 5.1039,
457
+ "step": 315
458
+ },
459
+ {
460
+ "epoch": 0.98,
461
+ "grad_norm": 0.00040431436972756634,
462
+ "learning_rate": 1.446569558255395e-07,
463
+ "loss": 5.1266,
464
+ "step": 320
465
+ },
466
+ {
467
+ "epoch": 1.0,
468
+ "grad_norm": 0.0011324307906468891,
469
+ "learning_rate": 0.0,
470
+ "loss": 5.1,
471
+ "step": 325
472
+ },
473
+ {
474
+ "epoch": 1.0,
475
+ "eval_loss": NaN,
476
+ "eval_runtime": 743.0674,
477
+ "eval_samples_per_second": 1.556,
478
+ "eval_steps_per_second": 0.389,
479
+ "step": 325
480
+ },
481
+ {
482
+ "epoch": 1.0,
483
+ "step": 325,
484
+ "total_flos": 5242797101678592.0,
485
+ "train_loss": 5.311349804217999,
486
+ "train_runtime": 5936.4673,
487
+ "train_samples_per_second": 1.751,
488
+ "train_steps_per_second": 0.055
489
+ }
490
+ ],
491
+ "logging_steps": 5,
492
+ "max_steps": 325,
493
+ "num_input_tokens_seen": 0,
494
+ "num_train_epochs": 1,
495
+ "save_steps": 40,
496
+ "total_flos": 5242797101678592.0,
497
+ "train_batch_size": 4,
498
+ "trial_name": null,
499
+ "trial_params": null
500
+ }