tmnam20 commited on
Commit
8344920
1 Parent(s): 62dceb9

End of training

Browse files
README.md CHANGED
@@ -3,6 +3,8 @@ license: llama2
3
  base_model: codellama/CodeLlama-7b-Instruct-hf
4
  tags:
5
  - generated_from_trainer
 
 
6
  model-index:
7
  - name: codellama_instruct_pt_text2sql
8
  results: []
@@ -13,7 +15,7 @@ should probably proofread and complete it, then remove this comment. -->
13
 
14
  # codellama_instruct_pt_text2sql
15
 
16
- This model is a fine-tuned version of [codellama/CodeLlama-7b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-7b-Instruct-hf) on the None dataset.
17
  It achieves the following results on the evaluation set:
18
  - Loss: 0.0150
19
 
 
3
  base_model: codellama/CodeLlama-7b-Instruct-hf
4
  tags:
5
  - generated_from_trainer
6
+ datasets:
7
+ - tmnam20/InstructNSText2SQL
8
  model-index:
9
  - name: codellama_instruct_pt_text2sql
10
  results: []
 
15
 
16
  # codellama_instruct_pt_text2sql
17
 
18
+ This model is a fine-tuned version of [codellama/CodeLlama-7b-Instruct-hf](https://huggingface.co/codellama/CodeLlama-7b-Instruct-hf) on the tmnam20/InstructNSText2SQL dataset.
19
  It achieves the following results on the evaluation set:
20
  - Loss: 0.0150
21
 
adapter_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5e042834346d9e132e547502e6c7eb1245bb8f6e96f8b80648bd2194387264de
3
- size 16822989
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1d13babc0937710dc963b28f5167aee1412272a2b8f891410387f94a5ba629f
3
+ size 8434381
all_results.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_loss": 0.015006108209490776,
4
+ "eval_runtime": 160.4767,
5
+ "eval_samples": 2000,
6
+ "eval_samples_per_second": 12.463,
7
+ "eval_steps_per_second": 1.558,
8
+ "perplexity": 1.0151192651579115,
9
+ "train_loss": 0.0249389049336447,
10
+ "train_runtime": 262166.9813,
11
+ "train_samples": 287257,
12
+ "train_samples_per_second": 5.479,
13
+ "train_steps_per_second": 0.171
14
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_loss": 0.015006108209490776,
4
+ "eval_runtime": 160.4767,
5
+ "eval_samples": 2000,
6
+ "eval_samples_per_second": 12.463,
7
+ "eval_steps_per_second": 1.558,
8
+ "perplexity": 1.0151192651579115
9
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "train_loss": 0.0249389049336447,
4
+ "train_runtime": 262166.9813,
5
+ "train_samples": 287257,
6
+ "train_samples_per_second": 5.479,
7
+ "train_steps_per_second": 0.171
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,474 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.01498666312545538,
3
+ "best_model_checkpoint": "./text2sql/codellama_instruct_pt_text2sql/checkpoint-44000",
4
+ "epoch": 4.9995126366358,
5
+ "eval_steps": 2000,
6
+ "global_step": 44880,
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.1139992573338283e-07,
14
+ "loss": 1.2191,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.11,
19
+ "learning_rate": 0.00011139992573338284,
20
+ "loss": 0.2684,
21
+ "step": 1000
22
+ },
23
+ {
24
+ "epoch": 0.22,
25
+ "learning_rate": 0.00022279985146676567,
26
+ "loss": 0.0693,
27
+ "step": 2000
28
+ },
29
+ {
30
+ "epoch": 0.22,
31
+ "eval_loss": 0.05887996032834053,
32
+ "eval_runtime": 171.127,
33
+ "eval_samples_per_second": 11.687,
34
+ "eval_steps_per_second": 1.461,
35
+ "step": 2000
36
+ },
37
+ {
38
+ "epoch": 0.33,
39
+ "learning_rate": 0.00029781686301467276,
40
+ "loss": 0.0565,
41
+ "step": 3000
42
+ },
43
+ {
44
+ "epoch": 0.45,
45
+ "learning_rate": 0.0002907056676227274,
46
+ "loss": 0.047,
47
+ "step": 4000
48
+ },
49
+ {
50
+ "epoch": 0.45,
51
+ "eval_loss": 0.03957173973321915,
52
+ "eval_runtime": 171.3682,
53
+ "eval_samples_per_second": 11.671,
54
+ "eval_steps_per_second": 1.459,
55
+ "step": 4000
56
+ },
57
+ {
58
+ "epoch": 0.56,
59
+ "learning_rate": 0.00028359447223078195,
60
+ "loss": 0.0403,
61
+ "step": 5000
62
+ },
63
+ {
64
+ "epoch": 0.67,
65
+ "learning_rate": 0.0002764832768388366,
66
+ "loss": 0.0364,
67
+ "step": 6000
68
+ },
69
+ {
70
+ "epoch": 0.67,
71
+ "eval_loss": 0.030724667012691498,
72
+ "eval_runtime": 170.9405,
73
+ "eval_samples_per_second": 11.7,
74
+ "eval_steps_per_second": 1.462,
75
+ "step": 6000
76
+ },
77
+ {
78
+ "epoch": 0.78,
79
+ "learning_rate": 0.0002693720814468912,
80
+ "loss": 0.0341,
81
+ "step": 7000
82
+ },
83
+ {
84
+ "epoch": 0.89,
85
+ "learning_rate": 0.00026226088605494583,
86
+ "loss": 0.0311,
87
+ "step": 8000
88
+ },
89
+ {
90
+ "epoch": 0.89,
91
+ "eval_loss": 0.027806701138615608,
92
+ "eval_runtime": 171.064,
93
+ "eval_samples_per_second": 11.692,
94
+ "eval_steps_per_second": 1.461,
95
+ "step": 8000
96
+ },
97
+ {
98
+ "epoch": 1.0,
99
+ "learning_rate": 0.00025514969066300046,
100
+ "loss": 0.0289,
101
+ "step": 9000
102
+ },
103
+ {
104
+ "epoch": 1.11,
105
+ "learning_rate": 0.00024803849527105503,
106
+ "loss": 0.0251,
107
+ "step": 10000
108
+ },
109
+ {
110
+ "epoch": 1.11,
111
+ "eval_loss": 0.024082325398921967,
112
+ "eval_runtime": 171.4689,
113
+ "eval_samples_per_second": 11.664,
114
+ "eval_steps_per_second": 1.458,
115
+ "step": 10000
116
+ },
117
+ {
118
+ "epoch": 1.23,
119
+ "learning_rate": 0.00024092729987910966,
120
+ "loss": 0.0242,
121
+ "step": 11000
122
+ },
123
+ {
124
+ "epoch": 1.34,
125
+ "learning_rate": 0.00023381610448716428,
126
+ "loss": 0.0243,
127
+ "step": 12000
128
+ },
129
+ {
130
+ "epoch": 1.34,
131
+ "eval_loss": 0.02279273048043251,
132
+ "eval_runtime": 171.2147,
133
+ "eval_samples_per_second": 11.681,
134
+ "eval_steps_per_second": 1.46,
135
+ "step": 12000
136
+ },
137
+ {
138
+ "epoch": 1.45,
139
+ "learning_rate": 0.00022670490909521888,
140
+ "loss": 0.0219,
141
+ "step": 13000
142
+ },
143
+ {
144
+ "epoch": 1.56,
145
+ "learning_rate": 0.0002195937137032735,
146
+ "loss": 0.0227,
147
+ "step": 14000
148
+ },
149
+ {
150
+ "epoch": 1.56,
151
+ "eval_loss": 0.022252563387155533,
152
+ "eval_runtime": 171.1834,
153
+ "eval_samples_per_second": 11.683,
154
+ "eval_steps_per_second": 1.46,
155
+ "step": 14000
156
+ },
157
+ {
158
+ "epoch": 1.67,
159
+ "learning_rate": 0.00021248251831132813,
160
+ "loss": 0.0218,
161
+ "step": 15000
162
+ },
163
+ {
164
+ "epoch": 1.78,
165
+ "learning_rate": 0.00020537132291938273,
166
+ "loss": 0.0212,
167
+ "step": 16000
168
+ },
169
+ {
170
+ "epoch": 1.78,
171
+ "eval_loss": 0.020056582987308502,
172
+ "eval_runtime": 170.9191,
173
+ "eval_samples_per_second": 11.701,
174
+ "eval_steps_per_second": 1.463,
175
+ "step": 16000
176
+ },
177
+ {
178
+ "epoch": 1.89,
179
+ "learning_rate": 0.00019826012752743733,
180
+ "loss": 0.0208,
181
+ "step": 17000
182
+ },
183
+ {
184
+ "epoch": 2.01,
185
+ "learning_rate": 0.00019114893213549196,
186
+ "loss": 0.0202,
187
+ "step": 18000
188
+ },
189
+ {
190
+ "epoch": 2.01,
191
+ "eval_loss": 0.01821763999760151,
192
+ "eval_runtime": 171.4736,
193
+ "eval_samples_per_second": 11.664,
194
+ "eval_steps_per_second": 1.458,
195
+ "step": 18000
196
+ },
197
+ {
198
+ "epoch": 2.12,
199
+ "learning_rate": 0.00018403773674354658,
200
+ "loss": 0.0161,
201
+ "step": 19000
202
+ },
203
+ {
204
+ "epoch": 2.23,
205
+ "learning_rate": 0.0001769265413516012,
206
+ "loss": 0.016,
207
+ "step": 20000
208
+ },
209
+ {
210
+ "epoch": 2.23,
211
+ "eval_loss": 0.018352985382080078,
212
+ "eval_runtime": 171.2111,
213
+ "eval_samples_per_second": 11.681,
214
+ "eval_steps_per_second": 1.46,
215
+ "step": 20000
216
+ },
217
+ {
218
+ "epoch": 2.34,
219
+ "learning_rate": 0.00016981534595965578,
220
+ "loss": 0.0155,
221
+ "step": 21000
222
+ },
223
+ {
224
+ "epoch": 2.45,
225
+ "learning_rate": 0.0001627041505677104,
226
+ "loss": 0.0156,
227
+ "step": 22000
228
+ },
229
+ {
230
+ "epoch": 2.45,
231
+ "eval_loss": 0.017868032678961754,
232
+ "eval_runtime": 171.2047,
233
+ "eval_samples_per_second": 11.682,
234
+ "eval_steps_per_second": 1.46,
235
+ "step": 22000
236
+ },
237
+ {
238
+ "epoch": 2.56,
239
+ "learning_rate": 0.00015559295517576503,
240
+ "loss": 0.0155,
241
+ "step": 23000
242
+ },
243
+ {
244
+ "epoch": 2.67,
245
+ "learning_rate": 0.00014848175978381966,
246
+ "loss": 0.015,
247
+ "step": 24000
248
+ },
249
+ {
250
+ "epoch": 2.67,
251
+ "eval_loss": 0.017283763736486435,
252
+ "eval_runtime": 171.6023,
253
+ "eval_samples_per_second": 11.655,
254
+ "eval_steps_per_second": 1.457,
255
+ "step": 24000
256
+ },
257
+ {
258
+ "epoch": 2.78,
259
+ "learning_rate": 0.00014137056439187426,
260
+ "loss": 0.0153,
261
+ "step": 25000
262
+ },
263
+ {
264
+ "epoch": 2.9,
265
+ "learning_rate": 0.00013425936899992888,
266
+ "loss": 0.0147,
267
+ "step": 26000
268
+ },
269
+ {
270
+ "epoch": 2.9,
271
+ "eval_loss": 0.016522083431482315,
272
+ "eval_runtime": 171.211,
273
+ "eval_samples_per_second": 11.681,
274
+ "eval_steps_per_second": 1.46,
275
+ "step": 26000
276
+ },
277
+ {
278
+ "epoch": 3.01,
279
+ "learning_rate": 0.00012714817360798348,
280
+ "loss": 0.0137,
281
+ "step": 27000
282
+ },
283
+ {
284
+ "epoch": 3.12,
285
+ "learning_rate": 0.00012003697821603811,
286
+ "loss": 0.0112,
287
+ "step": 28000
288
+ },
289
+ {
290
+ "epoch": 3.12,
291
+ "eval_loss": 0.016529470682144165,
292
+ "eval_runtime": 170.9168,
293
+ "eval_samples_per_second": 11.702,
294
+ "eval_steps_per_second": 1.463,
295
+ "step": 28000
296
+ },
297
+ {
298
+ "epoch": 3.23,
299
+ "learning_rate": 0.00011292578282409272,
300
+ "loss": 0.0112,
301
+ "step": 29000
302
+ },
303
+ {
304
+ "epoch": 3.34,
305
+ "learning_rate": 0.00010581458743214733,
306
+ "loss": 0.0109,
307
+ "step": 30000
308
+ },
309
+ {
310
+ "epoch": 3.34,
311
+ "eval_loss": 0.016144245862960815,
312
+ "eval_runtime": 171.5226,
313
+ "eval_samples_per_second": 11.66,
314
+ "eval_steps_per_second": 1.458,
315
+ "step": 30000
316
+ },
317
+ {
318
+ "epoch": 3.45,
319
+ "learning_rate": 9.870339204020194e-05,
320
+ "loss": 0.0111,
321
+ "step": 31000
322
+ },
323
+ {
324
+ "epoch": 3.56,
325
+ "learning_rate": 9.159219664825657e-05,
326
+ "loss": 0.0109,
327
+ "step": 32000
328
+ },
329
+ {
330
+ "epoch": 3.56,
331
+ "eval_loss": 0.015489176847040653,
332
+ "eval_runtime": 171.4873,
333
+ "eval_samples_per_second": 11.663,
334
+ "eval_steps_per_second": 1.458,
335
+ "step": 32000
336
+ },
337
+ {
338
+ "epoch": 3.68,
339
+ "learning_rate": 8.448100125631117e-05,
340
+ "loss": 0.0111,
341
+ "step": 33000
342
+ },
343
+ {
344
+ "epoch": 3.79,
345
+ "learning_rate": 7.73698058643658e-05,
346
+ "loss": 0.0105,
347
+ "step": 34000
348
+ },
349
+ {
350
+ "epoch": 3.79,
351
+ "eval_loss": 0.015172351151704788,
352
+ "eval_runtime": 171.4626,
353
+ "eval_samples_per_second": 11.664,
354
+ "eval_steps_per_second": 1.458,
355
+ "step": 34000
356
+ },
357
+ {
358
+ "epoch": 3.9,
359
+ "learning_rate": 7.025861047242041e-05,
360
+ "loss": 0.0107,
361
+ "step": 35000
362
+ },
363
+ {
364
+ "epoch": 4.01,
365
+ "learning_rate": 6.314741508047502e-05,
366
+ "loss": 0.0104,
367
+ "step": 36000
368
+ },
369
+ {
370
+ "epoch": 4.01,
371
+ "eval_loss": 0.014995447359979153,
372
+ "eval_runtime": 171.1146,
373
+ "eval_samples_per_second": 11.688,
374
+ "eval_steps_per_second": 1.461,
375
+ "step": 36000
376
+ },
377
+ {
378
+ "epoch": 4.12,
379
+ "learning_rate": 5.603621968852963e-05,
380
+ "loss": 0.0081,
381
+ "step": 37000
382
+ },
383
+ {
384
+ "epoch": 4.23,
385
+ "learning_rate": 4.8925024296584245e-05,
386
+ "loss": 0.0077,
387
+ "step": 38000
388
+ },
389
+ {
390
+ "epoch": 4.23,
391
+ "eval_loss": 0.015779005363583565,
392
+ "eval_runtime": 171.0935,
393
+ "eval_samples_per_second": 11.69,
394
+ "eval_steps_per_second": 1.461,
395
+ "step": 38000
396
+ },
397
+ {
398
+ "epoch": 4.34,
399
+ "learning_rate": 4.181382890463887e-05,
400
+ "loss": 0.0079,
401
+ "step": 39000
402
+ },
403
+ {
404
+ "epoch": 4.46,
405
+ "learning_rate": 3.4702633512693484e-05,
406
+ "loss": 0.0078,
407
+ "step": 40000
408
+ },
409
+ {
410
+ "epoch": 4.46,
411
+ "eval_loss": 0.015086671337485313,
412
+ "eval_runtime": 171.2287,
413
+ "eval_samples_per_second": 11.68,
414
+ "eval_steps_per_second": 1.46,
415
+ "step": 40000
416
+ },
417
+ {
418
+ "epoch": 4.57,
419
+ "learning_rate": 2.7591438120748093e-05,
420
+ "loss": 0.0079,
421
+ "step": 41000
422
+ },
423
+ {
424
+ "epoch": 4.68,
425
+ "learning_rate": 2.0480242728802712e-05,
426
+ "loss": 0.0076,
427
+ "step": 42000
428
+ },
429
+ {
430
+ "epoch": 4.68,
431
+ "eval_loss": 0.015026736073195934,
432
+ "eval_runtime": 170.9263,
433
+ "eval_samples_per_second": 11.701,
434
+ "eval_steps_per_second": 1.463,
435
+ "step": 42000
436
+ },
437
+ {
438
+ "epoch": 4.79,
439
+ "learning_rate": 1.3369047336857326e-05,
440
+ "loss": 0.0075,
441
+ "step": 43000
442
+ },
443
+ {
444
+ "epoch": 4.9,
445
+ "learning_rate": 6.257851944911939e-06,
446
+ "loss": 0.0077,
447
+ "step": 44000
448
+ },
449
+ {
450
+ "epoch": 4.9,
451
+ "eval_loss": 0.01498666312545538,
452
+ "eval_runtime": 171.2767,
453
+ "eval_samples_per_second": 11.677,
454
+ "eval_steps_per_second": 1.46,
455
+ "step": 44000
456
+ },
457
+ {
458
+ "epoch": 5.0,
459
+ "step": 44880,
460
+ "total_flos": 2.184131254639421e+19,
461
+ "train_loss": 0.0249389049336447,
462
+ "train_runtime": 262166.9813,
463
+ "train_samples_per_second": 5.479,
464
+ "train_steps_per_second": 0.171
465
+ }
466
+ ],
467
+ "logging_steps": 1000,
468
+ "max_steps": 44880,
469
+ "num_train_epochs": 5,
470
+ "save_steps": 2000,
471
+ "total_flos": 2.184131254639421e+19,
472
+ "trial_name": null,
473
+ "trial_params": null
474
+ }