TanJing commited on
Commit
79dd98e
1 Parent(s): 13d4f5d

Model save

Browse files
README.md CHANGED
@@ -15,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
15
 
16
  This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
- - Loss: 1.0239
19
 
20
  ## Model description
21
 
@@ -40,8 +40,8 @@ The following hyperparameters were used during training:
40
  - seed: 42
41
  - distributed_type: multi-GPU
42
  - num_devices: 4
43
- - gradient_accumulation_steps: 256
44
- - total_train_batch_size: 2048
45
  - total_eval_batch_size: 16
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: cosine
@@ -51,7 +51,7 @@ The following hyperparameters were used during training:
51
 
52
  | Training Loss | Epoch | Step | Validation Loss |
53
  |:-------------:|:-----:|:----:|:---------------:|
54
- | 1.0224 | 0.67 | 68 | 1.0240 |
55
 
56
 
57
  ### Framework versions
 
15
 
16
  This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on an unknown dataset.
17
  It achieves the following results on the evaluation set:
18
+ - Loss: 0.9899
19
 
20
  ## Model description
21
 
 
40
  - seed: 42
41
  - distributed_type: multi-GPU
42
  - num_devices: 4
43
+ - gradient_accumulation_steps: 64
44
+ - total_train_batch_size: 512
45
  - total_eval_batch_size: 16
46
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
  - lr_scheduler_type: cosine
 
51
 
52
  | Training Loss | Epoch | Step | Validation Loss |
53
  |:-------------:|:-----:|:----:|:---------------:|
54
+ | 0.9866 | 0.67 | 272 | 0.9900 |
55
 
56
 
57
  ### Framework versions
adapter_config.json CHANGED
@@ -16,10 +16,10 @@
16
  "rank_pattern": {},
17
  "revision": null,
18
  "target_modules": [
19
- "k_proj",
20
  "q_proj",
21
- "o_proj",
22
- "v_proj"
 
23
  ],
24
  "task_type": "CAUSAL_LM"
25
  }
 
16
  "rank_pattern": {},
17
  "revision": null,
18
  "target_modules": [
 
19
  "q_proj",
20
+ "v_proj",
21
+ "k_proj",
22
+ "o_proj"
23
  ],
24
  "task_type": "CAUSAL_LM"
25
  }
adapter_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9c0c9f426276e25b3a38839f3edf593998480ae8aaf9a7dd86f4091e745ac676
3
  size 218138576
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3de510c187a9b9b133939f860696776514cf87b55aa2904f6ad68d714851f1d9
3
  size 218138576
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
  {
2
  "epoch": 0.67,
3
- "eval_loss": 1.0239042043685913,
4
- "eval_runtime": 2000.5663,
5
  "eval_samples": 23110,
6
- "eval_samples_per_second": 11.552,
7
  "eval_steps_per_second": 0.722,
8
- "train_loss": 1.0572445532854866,
9
- "train_runtime": 62451.9899,
10
  "train_samples": 207865,
11
- "train_samples_per_second": 3.328,
12
- "train_steps_per_second": 0.002
13
  }
 
1
  {
2
  "epoch": 0.67,
3
+ "eval_loss": 0.9899260401725769,
4
+ "eval_runtime": 2001.7837,
5
  "eval_samples": 23110,
6
+ "eval_samples_per_second": 11.545,
7
  "eval_steps_per_second": 0.722,
8
+ "train_loss": 1.009627375532599,
9
+ "train_runtime": 62494.9184,
10
  "train_samples": 207865,
11
+ "train_samples_per_second": 3.326,
12
+ "train_steps_per_second": 0.006
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 0.67,
3
- "eval_loss": 1.0239042043685913,
4
- "eval_runtime": 2000.5663,
5
  "eval_samples": 23110,
6
- "eval_samples_per_second": 11.552,
7
  "eval_steps_per_second": 0.722
8
  }
 
1
  {
2
  "epoch": 0.67,
3
+ "eval_loss": 0.9899260401725769,
4
+ "eval_runtime": 2001.7837,
5
  "eval_samples": 23110,
6
+ "eval_samples_per_second": 11.545,
7
  "eval_steps_per_second": 0.722
8
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 0.67,
3
- "train_loss": 1.0572445532854866,
4
- "train_runtime": 62451.9899,
5
  "train_samples": 207865,
6
- "train_samples_per_second": 3.328,
7
- "train_steps_per_second": 0.002
8
  }
 
1
  {
2
  "epoch": 0.67,
3
+ "train_loss": 1.009627375532599,
4
+ "train_runtime": 62494.9184,
5
  "train_samples": 207865,
6
+ "train_samples_per_second": 3.326,
7
+ "train_steps_per_second": 0.006
8
  }
trainer_state.json CHANGED
@@ -3,118 +3,364 @@
3
  "best_model_checkpoint": null,
4
  "epoch": 0.6699507389162561,
5
  "eval_steps": 500,
6
- "global_step": 68,
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.01,
13
- "learning_rate": 1.999516282291988e-05,
14
- "loss": 1.1268,
15
  "step": 1
16
  },
17
  {
18
- "epoch": 0.05,
19
- "learning_rate": 1.987930439740757e-05,
20
- "loss": 1.1283,
21
  "step": 5
22
  },
23
  {
24
- "epoch": 0.1,
25
- "learning_rate": 1.95201310753273e-05,
26
- "loss": 1.1092,
27
  "step": 10
28
  },
29
  {
30
- "epoch": 0.15,
31
- "learning_rate": 1.8931150161867917e-05,
32
- "loss": 1.0944,
33
  "step": 15
34
  },
35
  {
36
- "epoch": 0.2,
37
- "learning_rate": 1.8126579138282502e-05,
38
- "loss": 1.0769,
39
  "step": 20
40
  },
41
  {
42
- "epoch": 0.25,
43
- "learning_rate": 1.7125839641475074e-05,
44
  "loss": 1.0658,
45
  "step": 25
46
  },
47
  {
48
- "epoch": 0.3,
49
- "learning_rate": 1.595308864276666e-05,
50
- "loss": 1.0595,
51
  "step": 30
52
  },
53
  {
54
- "epoch": 0.34,
55
- "learning_rate": 1.4636635319853274e-05,
56
- "loss": 1.0497,
57
  "step": 35
58
  },
59
  {
60
- "epoch": 0.39,
61
- "learning_rate": 1.3208257698153677e-05,
62
- "loss": 1.0332,
63
  "step": 40
64
  },
65
  {
66
- "epoch": 0.44,
67
- "learning_rate": 1.1702435557223988e-05,
68
- "loss": 1.0312,
69
  "step": 45
70
  },
71
  {
72
- "epoch": 0.49,
73
- "learning_rate": 1.0155518119203511e-05,
74
  "loss": 1.029,
75
  "step": 50
76
  },
77
  {
78
- "epoch": 0.54,
79
- "learning_rate": 8.604846610560771e-06,
80
- "loss": 1.0258,
81
  "step": 55
82
  },
83
  {
84
- "epoch": 0.59,
85
- "learning_rate": 7.0878528777274814e-06,
86
- "loss": 1.0258,
87
  "step": 60
88
  },
89
  {
90
- "epoch": 0.64,
91
- "learning_rate": 5.64115581524629e-06,
92
- "loss": 1.0224,
93
  "step": 65
94
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  {
96
  "epoch": 0.67,
97
- "eval_loss": 1.0239689350128174,
98
- "eval_runtime": 2002.0819,
99
- "eval_samples_per_second": 11.543,
100
  "eval_steps_per_second": 0.722,
101
- "step": 68
102
  },
103
  {
104
  "epoch": 0.67,
105
- "step": 68,
106
- "total_flos": 1.2276051069330522e+19,
107
- "train_loss": 1.0572445532854866,
108
- "train_runtime": 62451.9899,
109
- "train_samples_per_second": 3.328,
110
- "train_steps_per_second": 0.002
111
  }
112
  ],
113
  "logging_steps": 5,
114
- "max_steps": 101,
115
  "num_train_epochs": 1,
116
  "save_steps": 500,
117
- "total_flos": 1.2276051069330522e+19,
118
  "trial_name": null,
119
  "trial_params": null
120
  }
 
3
  "best_model_checkpoint": null,
4
  "epoch": 0.6699507389162561,
5
  "eval_steps": 500,
6
+ "global_step": 272,
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.0,
13
+ "learning_rate": 1.9999700625010444e-05,
14
+ "loss": 1.1296,
15
  "step": 1
16
  },
17
  {
18
+ "epoch": 0.01,
19
+ "learning_rate": 1.999251652147735e-05,
20
+ "loss": 1.12,
21
  "step": 5
22
  },
23
  {
24
+ "epoch": 0.02,
25
+ "learning_rate": 1.997007728639956e-05,
26
+ "loss": 1.1064,
27
  "step": 10
28
  },
29
  {
30
+ "epoch": 0.04,
31
+ "learning_rate": 1.9932715879473385e-05,
32
+ "loss": 1.0915,
33
  "step": 15
34
  },
35
  {
36
+ "epoch": 0.05,
37
+ "learning_rate": 1.9880488219356086e-05,
38
+ "loss": 1.094,
39
  "step": 20
40
  },
41
  {
42
+ "epoch": 0.06,
43
+ "learning_rate": 1.981347247496222e-05,
44
  "loss": 1.0658,
45
  "step": 25
46
  },
47
  {
48
+ "epoch": 0.07,
49
+ "learning_rate": 1.973176894846855e-05,
50
+ "loss": 1.0527,
51
  "step": 30
52
  },
53
  {
54
+ "epoch": 0.09,
55
+ "learning_rate": 1.963549992519223e-05,
56
+ "loss": 1.0502,
57
  "step": 35
58
  },
59
  {
60
+ "epoch": 0.1,
61
+ "learning_rate": 1.9524809490566878e-05,
62
+ "loss": 1.0304,
63
  "step": 40
64
  },
65
  {
66
+ "epoch": 0.11,
67
+ "learning_rate": 1.939986331449053e-05,
68
+ "loss": 1.0267,
69
  "step": 45
70
  },
71
  {
72
+ "epoch": 0.12,
73
+ "learning_rate": 1.926084840336821e-05,
74
  "loss": 1.029,
75
  "step": 50
76
  },
77
  {
78
+ "epoch": 0.14,
79
+ "learning_rate": 1.910797282022027e-05,
80
+ "loss": 1.02,
81
  "step": 55
82
  },
83
  {
84
+ "epoch": 0.15,
85
+ "learning_rate": 1.894146537327533e-05,
86
+ "loss": 1.0127,
87
  "step": 60
88
  },
89
  {
90
+ "epoch": 0.16,
91
+ "learning_rate": 1.8761575273514005e-05,
92
+ "loss": 1.0078,
93
  "step": 65
94
  },
95
+ {
96
+ "epoch": 0.17,
97
+ "learning_rate": 1.8568571761675893e-05,
98
+ "loss": 1.0004,
99
+ "step": 70
100
+ },
101
+ {
102
+ "epoch": 0.18,
103
+ "learning_rate": 1.8362743705288127e-05,
104
+ "loss": 1.0081,
105
+ "step": 75
106
+ },
107
+ {
108
+ "epoch": 0.2,
109
+ "learning_rate": 1.814439916631857e-05,
110
+ "loss": 1.0157,
111
+ "step": 80
112
+ },
113
+ {
114
+ "epoch": 0.21,
115
+ "learning_rate": 1.791386494010081e-05,
116
+ "loss": 1.0118,
117
+ "step": 85
118
+ },
119
+ {
120
+ "epoch": 0.22,
121
+ "learning_rate": 1.7671486066220965e-05,
122
+ "loss": 1.0012,
123
+ "step": 90
124
+ },
125
+ {
126
+ "epoch": 0.23,
127
+ "learning_rate": 1.7417625312098453e-05,
128
+ "loss": 0.9919,
129
+ "step": 95
130
+ },
131
+ {
132
+ "epoch": 0.25,
133
+ "learning_rate": 1.7152662630033506e-05,
134
+ "loss": 1.0025,
135
+ "step": 100
136
+ },
137
+ {
138
+ "epoch": 0.26,
139
+ "learning_rate": 1.6876994588534234e-05,
140
+ "loss": 1.0187,
141
+ "step": 105
142
+ },
143
+ {
144
+ "epoch": 0.27,
145
+ "learning_rate": 1.659103377877423e-05,
146
+ "loss": 0.9959,
147
+ "step": 110
148
+ },
149
+ {
150
+ "epoch": 0.28,
151
+ "learning_rate": 1.629520819706912e-05,
152
+ "loss": 0.9937,
153
+ "step": 115
154
+ },
155
+ {
156
+ "epoch": 0.3,
157
+ "learning_rate": 1.598996060429634e-05,
158
+ "loss": 0.9981,
159
+ "step": 120
160
+ },
161
+ {
162
+ "epoch": 0.31,
163
+ "learning_rate": 1.56757478632168e-05,
164
+ "loss": 0.9954,
165
+ "step": 125
166
+ },
167
+ {
168
+ "epoch": 0.32,
169
+ "learning_rate": 1.5353040254690396e-05,
170
+ "loss": 1.0044,
171
+ "step": 130
172
+ },
173
+ {
174
+ "epoch": 0.33,
175
+ "learning_rate": 1.5022320773808612e-05,
176
+ "loss": 1.0033,
177
+ "step": 135
178
+ },
179
+ {
180
+ "epoch": 0.34,
181
+ "learning_rate": 1.4684084406997903e-05,
182
+ "loss": 0.9901,
183
+ "step": 140
184
+ },
185
+ {
186
+ "epoch": 0.36,
187
+ "learning_rate": 1.4338837391175582e-05,
188
+ "loss": 0.9965,
189
+ "step": 145
190
+ },
191
+ {
192
+ "epoch": 0.37,
193
+ "learning_rate": 1.3987096456067236e-05,
194
+ "loss": 0.9915,
195
+ "step": 150
196
+ },
197
+ {
198
+ "epoch": 0.38,
199
+ "learning_rate": 1.3629388050819547e-05,
200
+ "loss": 0.9862,
201
+ "step": 155
202
+ },
203
+ {
204
+ "epoch": 0.39,
205
+ "learning_rate": 1.3266247556066122e-05,
206
+ "loss": 0.9757,
207
+ "step": 160
208
+ },
209
+ {
210
+ "epoch": 0.41,
211
+ "learning_rate": 1.2898218482625606e-05,
212
+ "loss": 0.9944,
213
+ "step": 165
214
+ },
215
+ {
216
+ "epoch": 0.42,
217
+ "learning_rate": 1.252585165803135e-05,
218
+ "loss": 0.9963,
219
+ "step": 170
220
+ },
221
+ {
222
+ "epoch": 0.43,
223
+ "learning_rate": 1.2149704402110243e-05,
224
+ "loss": 0.9818,
225
+ "step": 175
226
+ },
227
+ {
228
+ "epoch": 0.44,
229
+ "learning_rate": 1.1770339692844484e-05,
230
+ "loss": 0.9881,
231
+ "step": 180
232
+ },
233
+ {
234
+ "epoch": 0.46,
235
+ "learning_rate": 1.1388325323764889e-05,
236
+ "loss": 0.9965,
237
+ "step": 185
238
+ },
239
+ {
240
+ "epoch": 0.47,
241
+ "learning_rate": 1.1004233054136726e-05,
242
+ "loss": 0.9922,
243
+ "step": 190
244
+ },
245
+ {
246
+ "epoch": 0.48,
247
+ "learning_rate": 1.0618637753210086e-05,
248
+ "loss": 0.9934,
249
+ "step": 195
250
+ },
251
+ {
252
+ "epoch": 0.49,
253
+ "learning_rate": 1.0232116539815558e-05,
254
+ "loss": 0.9823,
255
+ "step": 200
256
+ },
257
+ {
258
+ "epoch": 0.5,
259
+ "learning_rate": 9.845247918592937e-06,
260
+ "loss": 0.9881,
261
+ "step": 205
262
+ },
263
+ {
264
+ "epoch": 0.52,
265
+ "learning_rate": 9.458610914145826e-06,
266
+ "loss": 0.9867,
267
+ "step": 210
268
+ },
269
+ {
270
+ "epoch": 0.53,
271
+ "learning_rate": 9.072784204417995e-06,
272
+ "loss": 0.9983,
273
+ "step": 215
274
+ },
275
+ {
276
+ "epoch": 0.54,
277
+ "learning_rate": 8.688345254588579e-06,
278
+ "loss": 0.9866,
279
+ "step": 220
280
+ },
281
+ {
282
+ "epoch": 0.55,
283
+ "learning_rate": 8.305869452782446e-06,
284
+ "loss": 0.9918,
285
+ "step": 225
286
+ },
287
+ {
288
+ "epoch": 0.57,
289
+ "learning_rate": 7.92592924888925e-06,
290
+ "loss": 0.9902,
291
+ "step": 230
292
+ },
293
+ {
294
+ "epoch": 0.58,
295
+ "learning_rate": 7.549093297780133e-06,
296
+ "loss": 0.987,
297
+ "step": 235
298
+ },
299
+ {
300
+ "epoch": 0.59,
301
+ "learning_rate": 7.175925608204428e-06,
302
+ "loss": 0.9941,
303
+ "step": 240
304
+ },
305
+ {
306
+ "epoch": 0.6,
307
+ "learning_rate": 6.806984698640202e-06,
308
+ "loss": 0.9968,
309
+ "step": 245
310
+ },
311
+ {
312
+ "epoch": 0.62,
313
+ "learning_rate": 6.442822761362015e-06,
314
+ "loss": 0.9842,
315
+ "step": 250
316
+ },
317
+ {
318
+ "epoch": 0.63,
319
+ "learning_rate": 6.083984835977154e-06,
320
+ "loss": 0.9788,
321
+ "step": 255
322
+ },
323
+ {
324
+ "epoch": 0.64,
325
+ "learning_rate": 5.731007993667155e-06,
326
+ "loss": 0.993,
327
+ "step": 260
328
+ },
329
+ {
330
+ "epoch": 0.65,
331
+ "learning_rate": 5.38442053335571e-06,
332
+ "loss": 0.9834,
333
+ "step": 265
334
+ },
335
+ {
336
+ "epoch": 0.67,
337
+ "learning_rate": 5.044741191005908e-06,
338
+ "loss": 0.9866,
339
+ "step": 270
340
+ },
341
  {
342
  "epoch": 0.67,
343
+ "eval_loss": 0.9899875521659851,
344
+ "eval_runtime": 2002.7249,
345
+ "eval_samples_per_second": 11.539,
346
  "eval_steps_per_second": 0.722,
347
+ "step": 272
348
  },
349
  {
350
  "epoch": 0.67,
351
+ "step": 272,
352
+ "total_flos": 1.2276051112280195e+19,
353
+ "train_loss": 1.009627375532599,
354
+ "train_runtime": 62494.9184,
355
+ "train_samples_per_second": 3.326,
356
+ "train_steps_per_second": 0.006
357
  }
358
  ],
359
  "logging_steps": 5,
360
+ "max_steps": 406,
361
  "num_train_epochs": 1,
362
  "save_steps": 500,
363
+ "total_flos": 1.2276051112280195e+19,
364
  "trial_name": null,
365
  "trial_params": null
366
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:36facd59ad2755544b27eb1044191870ef084d9fb2b53ff4c6f47efcc03ef423
3
  size 4155
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f7940da9943c63332d8a273f9889b5a0eb3d404a4cf0c9b9884f3e587c5229d
3
  size 4155