Nivedita28 commited on
Commit
44b308a
·
verified ·
1 Parent(s): 8a6eebb

Nivedita28/atomicdeepseek

Browse files
README.md CHANGED
@@ -37,9 +37,11 @@ More information needed
37
 
38
  The following hyperparameters were used during training:
39
  - learning_rate: 0.0001
40
- - train_batch_size: 5
41
  - eval_batch_size: 16
42
  - seed: 3407
 
 
43
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
  - lr_scheduler_type: linear
45
  - num_epochs: 3
 
37
 
38
  The following hyperparameters were used during training:
39
  - learning_rate: 0.0001
40
+ - train_batch_size: 1
41
  - eval_batch_size: 16
42
  - seed: 3407
43
+ - gradient_accumulation_steps: 2
44
+ - total_train_batch_size: 2
45
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
  - lr_scheduler_type: linear
47
  - num_epochs: 3
adapter_config.json CHANGED
@@ -23,13 +23,13 @@
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
- "k_proj",
27
  "down_proj",
28
  "q_proj",
29
- "o_proj",
 
30
  "gate_proj",
31
- "v_proj",
32
- "up_proj"
33
  ],
34
  "task_type": null,
35
  "use_dora": false,
 
23
  "rank_pattern": {},
24
  "revision": null,
25
  "target_modules": [
26
+ "v_proj",
27
  "down_proj",
28
  "q_proj",
29
+ "up_proj",
30
+ "k_proj",
31
  "gate_proj",
32
+ "o_proj"
 
33
  ],
34
  "task_type": null,
35
  "use_dora": false,
all_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 3.0,
3
- "total_flos": 1.842821417926656e+16,
4
- "train_loss": 0.37092622672207654,
5
- "train_runtime": 190.7397,
6
- "train_samples_per_second": 5.033,
7
- "train_steps_per_second": 1.007
8
  }
 
1
  {
2
  "epoch": 3.0,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.04108585631474852,
5
+ "train_runtime": 388.3502,
6
+ "train_samples_per_second": 2.472,
7
+ "train_steps_per_second": 1.236
8
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e8dd6742316c796595513bbdedee22b2939a3cd37c4f2fe068b0465af5d9a0d0
3
  size 3554214752
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0823e7beeeeb987d2ad98788b70736eddd6aab9fda28190539a97f92eaa3eca5
3
  size 3554214752
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
  "epoch": 3.0,
3
- "total_flos": 1.842821417926656e+16,
4
- "train_loss": 0.37092622672207654,
5
- "train_runtime": 190.7397,
6
- "train_samples_per_second": 5.033,
7
- "train_steps_per_second": 1.007
8
  }
 
1
  {
2
  "epoch": 3.0,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.04108585631474852,
5
+ "train_runtime": 388.3502,
6
+ "train_samples_per_second": 2.472,
7
+ "train_steps_per_second": 1.236
8
  }
trainer_state.json CHANGED
@@ -3,184 +3,387 @@
3
  "best_model_checkpoint": null,
4
  "epoch": 3.0,
5
  "eval_steps": 500,
6
- "global_step": 192,
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.15625,
13
- "grad_norm": 0.10847697407007217,
14
- "learning_rate": 9.479166666666666e-05,
15
- "loss": 5.5359,
16
  "step": 10
17
  },
18
  {
19
- "epoch": 0.3125,
20
- "grad_norm": 0.0398186556994915,
21
- "learning_rate": 8.958333333333335e-05,
22
- "loss": 0.1263,
23
  "step": 20
24
  },
25
  {
26
- "epoch": 0.46875,
27
- "grad_norm": 0.03957119584083557,
28
- "learning_rate": 8.4375e-05,
29
- "loss": 0.1074,
30
  "step": 30
31
  },
32
  {
33
- "epoch": 0.625,
34
- "grad_norm": 0.027517227455973625,
35
- "learning_rate": 7.916666666666666e-05,
36
- "loss": 0.0965,
37
  "step": 40
38
  },
39
  {
40
- "epoch": 0.78125,
41
- "grad_norm": 0.02527707628905773,
42
- "learning_rate": 7.395833333333335e-05,
43
- "loss": 0.0884,
44
  "step": 50
45
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  {
47
  "epoch": 0.9375,
48
- "grad_norm": 0.02493639849126339,
49
  "learning_rate": 6.875e-05,
50
- "loss": 0.0884,
51
- "step": 60
52
  },
53
  {
54
  "epoch": 1.0,
55
- "eval_runtime": 6.6509,
56
- "eval_samples_per_second": 12.028,
57
- "eval_steps_per_second": 0.752,
58
- "step": 64
59
  },
60
  {
61
- "epoch": 1.09375,
62
- "grad_norm": 0.02615288645029068,
63
- "learning_rate": 6.354166666666666e-05,
64
- "loss": 0.08,
65
- "step": 70
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  },
67
  {
68
  "epoch": 1.25,
69
- "grad_norm": 0.027330700308084488,
70
  "learning_rate": 5.833333333333334e-05,
71
- "loss": 0.0891,
72
- "step": 80
73
  },
74
  {
75
- "epoch": 1.40625,
76
- "grad_norm": 0.028688812628388405,
77
- "learning_rate": 5.3125000000000004e-05,
78
- "loss": 0.0947,
79
- "step": 90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  },
81
  {
82
  "epoch": 1.5625,
83
- "grad_norm": 0.030911659821867943,
84
  "learning_rate": 4.791666666666667e-05,
85
- "loss": 0.0803,
86
- "step": 100
87
  },
88
  {
89
- "epoch": 1.71875,
90
- "grad_norm": 0.028372356668114662,
91
- "learning_rate": 4.270833333333333e-05,
92
- "loss": 0.0791,
93
- "step": 110
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  },
95
  {
96
  "epoch": 1.875,
97
- "grad_norm": 0.022600064054131508,
98
  "learning_rate": 3.7500000000000003e-05,
99
- "loss": 0.078,
100
- "step": 120
 
 
 
 
 
 
 
101
  },
102
  {
103
  "epoch": 2.0,
104
- "eval_runtime": 5.3296,
105
- "eval_samples_per_second": 15.011,
106
- "eval_steps_per_second": 0.938,
107
- "step": 128
108
  },
109
  {
110
- "epoch": 2.03125,
111
- "grad_norm": 0.02555151842534542,
112
- "learning_rate": 3.229166666666667e-05,
113
- "loss": 0.0811,
114
- "step": 130
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  },
116
  {
117
  "epoch": 2.1875,
118
- "grad_norm": 0.028641177341341972,
119
  "learning_rate": 2.7083333333333332e-05,
120
- "loss": 0.0809,
121
- "step": 140
122
  },
123
  {
124
- "epoch": 2.34375,
125
- "grad_norm": 0.023602696135640144,
126
- "learning_rate": 2.1875e-05,
127
- "loss": 0.0738,
128
- "step": 150
129
  },
130
  {
131
- "epoch": 2.34375,
132
- "eval_runtime": 5.3233,
133
- "eval_samples_per_second": 15.028,
134
- "eval_steps_per_second": 0.939,
135
- "step": 150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
136
  },
137
  {
138
  "epoch": 2.5,
139
- "grad_norm": 0.026037951931357384,
140
  "learning_rate": 1.6666666666666667e-05,
141
- "loss": 0.0775,
142
- "step": 160
143
  },
144
  {
145
- "epoch": 2.65625,
146
- "grad_norm": 0.027666736394166946,
147
- "learning_rate": 1.1458333333333333e-05,
148
- "loss": 0.0829,
149
- "step": 170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
  },
151
  {
152
  "epoch": 2.8125,
153
- "grad_norm": 0.025325452908873558,
154
  "learning_rate": 6.25e-06,
155
- "loss": 0.0802,
156
- "step": 180
157
  },
158
  {
159
- "epoch": 2.96875,
160
- "grad_norm": 0.02601686492562294,
161
- "learning_rate": 1.0416666666666667e-06,
162
- "loss": 0.0858,
163
- "step": 190
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  },
165
  {
166
  "epoch": 3.0,
167
- "eval_runtime": 5.3306,
168
- "eval_samples_per_second": 15.008,
169
- "eval_steps_per_second": 0.938,
170
- "step": 192
171
  },
172
  {
173
  "epoch": 3.0,
174
- "step": 192,
175
- "total_flos": 1.842821417926656e+16,
176
- "train_loss": 0.37092622672207654,
177
- "train_runtime": 190.7397,
178
- "train_samples_per_second": 5.033,
179
- "train_steps_per_second": 1.007
180
  }
181
  ],
182
  "logging_steps": 10,
183
- "max_steps": 192,
184
  "num_input_tokens_seen": 0,
185
  "num_train_epochs": 3,
186
  "save_steps": 500,
@@ -196,8 +399,8 @@
196
  "attributes": {}
197
  }
198
  },
199
- "total_flos": 1.842821417926656e+16,
200
- "train_batch_size": 5,
201
  "trial_name": null,
202
  "trial_params": null
203
  }
 
3
  "best_model_checkpoint": null,
4
  "epoch": 3.0,
5
  "eval_steps": 500,
6
+ "global_step": 480,
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.0625,
13
+ "grad_norm": 0.20695899426937103,
14
+ "learning_rate": 9.791666666666667e-05,
15
+ "loss": 0.0491,
16
  "step": 10
17
  },
18
  {
19
+ "epoch": 0.125,
20
+ "grad_norm": 0.18051496148109436,
21
+ "learning_rate": 9.583333333333334e-05,
22
+ "loss": 0.059,
23
  "step": 20
24
  },
25
  {
26
+ "epoch": 0.1875,
27
+ "grad_norm": 0.13114741444587708,
28
+ "learning_rate": 9.375e-05,
29
+ "loss": 0.0602,
30
  "step": 30
31
  },
32
  {
33
+ "epoch": 0.25,
34
+ "grad_norm": 0.18424402177333832,
35
+ "learning_rate": 9.166666666666667e-05,
36
+ "loss": 0.0497,
37
  "step": 40
38
  },
39
  {
40
+ "epoch": 0.3125,
41
+ "grad_norm": 0.19860927760601044,
42
+ "learning_rate": 8.958333333333335e-05,
43
+ "loss": 0.0542,
44
  "step": 50
45
  },
46
+ {
47
+ "epoch": 0.375,
48
+ "grad_norm": 0.16605813801288605,
49
+ "learning_rate": 8.75e-05,
50
+ "loss": 0.0494,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.4375,
55
+ "grad_norm": 0.16891923546791077,
56
+ "learning_rate": 8.541666666666666e-05,
57
+ "loss": 0.0544,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.5,
62
+ "grad_norm": 0.152054101228714,
63
+ "learning_rate": 8.333333333333334e-05,
64
+ "loss": 0.0543,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.5625,
69
+ "grad_norm": 0.2942846715450287,
70
+ "learning_rate": 8.125000000000001e-05,
71
+ "loss": 0.0594,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.625,
76
+ "grad_norm": 0.20024558901786804,
77
+ "learning_rate": 7.916666666666666e-05,
78
+ "loss": 0.0594,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.6875,
83
+ "grad_norm": 0.2064783126115799,
84
+ "learning_rate": 7.708333333333334e-05,
85
+ "loss": 0.0602,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.75,
90
+ "grad_norm": 0.20470409095287323,
91
+ "learning_rate": 7.500000000000001e-05,
92
+ "loss": 0.0597,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.75,
97
+ "eval_runtime": 5.9648,
98
+ "eval_samples_per_second": 13.412,
99
+ "eval_steps_per_second": 0.838,
100
+ "step": 120
101
+ },
102
+ {
103
+ "epoch": 0.8125,
104
+ "grad_norm": 0.1695672571659088,
105
+ "learning_rate": 7.291666666666667e-05,
106
+ "loss": 0.0659,
107
+ "step": 130
108
+ },
109
+ {
110
+ "epoch": 0.875,
111
+ "grad_norm": 0.1826922595500946,
112
+ "learning_rate": 7.083333333333334e-05,
113
+ "loss": 0.0726,
114
+ "step": 140
115
+ },
116
  {
117
  "epoch": 0.9375,
118
+ "grad_norm": 0.17495571076869965,
119
  "learning_rate": 6.875e-05,
120
+ "loss": 0.0662,
121
+ "step": 150
122
  },
123
  {
124
  "epoch": 1.0,
125
+ "grad_norm": 0.16560527682304382,
126
+ "learning_rate": 6.666666666666667e-05,
127
+ "loss": 0.0689,
128
+ "step": 160
129
  },
130
  {
131
+ "epoch": 1.0,
132
+ "eval_runtime": 5.4233,
133
+ "eval_samples_per_second": 14.751,
134
+ "eval_steps_per_second": 0.922,
135
+ "step": 160
136
+ },
137
+ {
138
+ "epoch": 1.0625,
139
+ "grad_norm": 0.15654611587524414,
140
+ "learning_rate": 6.458333333333334e-05,
141
+ "loss": 0.0461,
142
+ "step": 170
143
+ },
144
+ {
145
+ "epoch": 1.125,
146
+ "grad_norm": 0.19164249300956726,
147
+ "learning_rate": 6.25e-05,
148
+ "loss": 0.0396,
149
+ "step": 180
150
+ },
151
+ {
152
+ "epoch": 1.1875,
153
+ "grad_norm": 0.23551718890666962,
154
+ "learning_rate": 6.041666666666667e-05,
155
+ "loss": 0.0421,
156
+ "step": 190
157
  },
158
  {
159
  "epoch": 1.25,
160
+ "grad_norm": 0.21708479523658752,
161
  "learning_rate": 5.833333333333334e-05,
162
+ "loss": 0.0336,
163
+ "step": 200
164
  },
165
  {
166
+ "epoch": 1.3125,
167
+ "grad_norm": 0.16753819584846497,
168
+ "learning_rate": 5.6250000000000005e-05,
169
+ "loss": 0.0457,
170
+ "step": 210
171
+ },
172
+ {
173
+ "epoch": 1.375,
174
+ "grad_norm": 0.19406142830848694,
175
+ "learning_rate": 5.4166666666666664e-05,
176
+ "loss": 0.0453,
177
+ "step": 220
178
+ },
179
+ {
180
+ "epoch": 1.4375,
181
+ "grad_norm": 0.16341769695281982,
182
+ "learning_rate": 5.208333333333334e-05,
183
+ "loss": 0.0363,
184
+ "step": 230
185
+ },
186
+ {
187
+ "epoch": 1.5,
188
+ "grad_norm": 0.20264258980751038,
189
+ "learning_rate": 5e-05,
190
+ "loss": 0.0342,
191
+ "step": 240
192
  },
193
  {
194
  "epoch": 1.5625,
195
+ "grad_norm": 0.170054629445076,
196
  "learning_rate": 4.791666666666667e-05,
197
+ "loss": 0.0344,
198
+ "step": 250
199
  },
200
  {
201
+ "epoch": 1.625,
202
+ "grad_norm": 0.2517170310020447,
203
+ "learning_rate": 4.5833333333333334e-05,
204
+ "loss": 0.0338,
205
+ "step": 260
206
+ },
207
+ {
208
+ "epoch": 1.6875,
209
+ "grad_norm": 0.2723373770713806,
210
+ "learning_rate": 4.375e-05,
211
+ "loss": 0.0349,
212
+ "step": 270
213
+ },
214
+ {
215
+ "epoch": 1.75,
216
+ "grad_norm": 0.2065780758857727,
217
+ "learning_rate": 4.166666666666667e-05,
218
+ "loss": 0.0431,
219
+ "step": 280
220
+ },
221
+ {
222
+ "epoch": 1.8125,
223
+ "grad_norm": 0.14495207369327545,
224
+ "learning_rate": 3.958333333333333e-05,
225
+ "loss": 0.0381,
226
+ "step": 290
227
  },
228
  {
229
  "epoch": 1.875,
230
+ "grad_norm": 0.16023993492126465,
231
  "learning_rate": 3.7500000000000003e-05,
232
+ "loss": 0.0341,
233
+ "step": 300
234
+ },
235
+ {
236
+ "epoch": 1.9375,
237
+ "grad_norm": 0.3680807054042816,
238
+ "learning_rate": 3.541666666666667e-05,
239
+ "loss": 0.0403,
240
+ "step": 310
241
  },
242
  {
243
  "epoch": 2.0,
244
+ "grad_norm": 0.16842582821846008,
245
+ "learning_rate": 3.3333333333333335e-05,
246
+ "loss": 0.0343,
247
+ "step": 320
248
  },
249
  {
250
+ "epoch": 2.0,
251
+ "eval_runtime": 5.4235,
252
+ "eval_samples_per_second": 14.751,
253
+ "eval_steps_per_second": 0.922,
254
+ "step": 320
255
+ },
256
+ {
257
+ "epoch": 2.0625,
258
+ "grad_norm": 0.13369396328926086,
259
+ "learning_rate": 3.125e-05,
260
+ "loss": 0.0269,
261
+ "step": 330
262
+ },
263
+ {
264
+ "epoch": 2.125,
265
+ "grad_norm": 0.16148492693901062,
266
+ "learning_rate": 2.916666666666667e-05,
267
+ "loss": 0.0286,
268
+ "step": 340
269
  },
270
  {
271
  "epoch": 2.1875,
272
+ "grad_norm": 0.16799309849739075,
273
  "learning_rate": 2.7083333333333332e-05,
274
+ "loss": 0.0276,
275
+ "step": 350
276
  },
277
  {
278
+ "epoch": 2.25,
279
+ "grad_norm": 0.15763401985168457,
280
+ "learning_rate": 2.5e-05,
281
+ "loss": 0.0233,
282
+ "step": 360
283
  },
284
  {
285
+ "epoch": 2.3125,
286
+ "grad_norm": 0.2925902009010315,
287
+ "learning_rate": 2.2916666666666667e-05,
288
+ "loss": 0.0261,
289
+ "step": 370
290
+ },
291
+ {
292
+ "epoch": 2.375,
293
+ "grad_norm": 0.2722231149673462,
294
+ "learning_rate": 2.0833333333333336e-05,
295
+ "loss": 0.0268,
296
+ "step": 380
297
+ },
298
+ {
299
+ "epoch": 2.4375,
300
+ "grad_norm": 0.1751345992088318,
301
+ "learning_rate": 1.8750000000000002e-05,
302
+ "loss": 0.0248,
303
+ "step": 390
304
  },
305
  {
306
  "epoch": 2.5,
307
+ "grad_norm": 0.10352811962366104,
308
  "learning_rate": 1.6666666666666667e-05,
309
+ "loss": 0.0234,
310
+ "step": 400
311
  },
312
  {
313
+ "epoch": 2.5625,
314
+ "grad_norm": 0.10212921351194382,
315
+ "learning_rate": 1.4583333333333335e-05,
316
+ "loss": 0.0278,
317
+ "step": 410
318
+ },
319
+ {
320
+ "epoch": 2.625,
321
+ "grad_norm": 0.19403204321861267,
322
+ "learning_rate": 1.25e-05,
323
+ "loss": 0.0254,
324
+ "step": 420
325
+ },
326
+ {
327
+ "epoch": 2.6875,
328
+ "grad_norm": 0.21788670122623444,
329
+ "learning_rate": 1.0416666666666668e-05,
330
+ "loss": 0.0227,
331
+ "step": 430
332
+ },
333
+ {
334
+ "epoch": 2.75,
335
+ "grad_norm": 0.1767636239528656,
336
+ "learning_rate": 8.333333333333334e-06,
337
+ "loss": 0.0253,
338
+ "step": 440
339
  },
340
  {
341
  "epoch": 2.8125,
342
+ "grad_norm": 0.18783213198184967,
343
  "learning_rate": 6.25e-06,
344
+ "loss": 0.0284,
345
+ "step": 450
346
  },
347
  {
348
+ "epoch": 2.875,
349
+ "grad_norm": 0.1575060486793518,
350
+ "learning_rate": 4.166666666666667e-06,
351
+ "loss": 0.0257,
352
+ "step": 460
353
+ },
354
+ {
355
+ "epoch": 2.9375,
356
+ "grad_norm": 0.13178540766239166,
357
+ "learning_rate": 2.0833333333333334e-06,
358
+ "loss": 0.0271,
359
+ "step": 470
360
+ },
361
+ {
362
+ "epoch": 3.0,
363
+ "grad_norm": 0.21420063078403473,
364
+ "learning_rate": 0.0,
365
+ "loss": 0.0234,
366
+ "step": 480
367
  },
368
  {
369
  "epoch": 3.0,
370
+ "eval_runtime": 5.4227,
371
+ "eval_samples_per_second": 14.753,
372
+ "eval_steps_per_second": 0.922,
373
+ "step": 480
374
  },
375
  {
376
  "epoch": 3.0,
377
+ "step": 480,
378
+ "total_flos": 0.0,
379
+ "train_loss": 0.04108585631474852,
380
+ "train_runtime": 388.3502,
381
+ "train_samples_per_second": 2.472,
382
+ "train_steps_per_second": 1.236
383
  }
384
  ],
385
  "logging_steps": 10,
386
+ "max_steps": 480,
387
  "num_input_tokens_seen": 0,
388
  "num_train_epochs": 3,
389
  "save_steps": 500,
 
399
  "attributes": {}
400
  }
401
  },
402
+ "total_flos": 0.0,
403
+ "train_batch_size": 1,
404
  "trial_name": null,
405
  "trial_params": null
406
  }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d54ce947218fd70f81e3e7c2d88f7e082fcc501ccbe553663dabd3839b514bde
3
  size 5432
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b40ff428d957547f7280b2289912b2261784bfe8a0bd220c4d53aa90cbd1575f
3
  size 5432