minghaowu commited on
Commit
174209b
·
verified ·
1 Parent(s): 5d5f35e

End of training

Browse files
README.md CHANGED
@@ -4,9 +4,23 @@ license: llama3.2
4
  base_model: meta-llama/Llama-3.2-1B-Instruct
5
  tags:
6
  - generated_from_trainer
 
 
 
 
7
  model-index:
8
  - name: Llama-3.2-1B-Instruct-sft_metamath
9
- results: []
 
 
 
 
 
 
 
 
 
 
10
  ---
11
 
12
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -14,7 +28,10 @@ should probably proofread and complete it, then remove this comment. -->
14
 
15
  # Llama-3.2-1B-Instruct-sft_metamath
16
 
17
- This model is a fine-tuned version of [meta-llama/Llama-3.2-1B-Instruct](https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct) on an unknown dataset.
 
 
 
18
 
19
  ## Model description
20
 
 
4
  base_model: meta-llama/Llama-3.2-1B-Instruct
5
  tags:
6
  - generated_from_trainer
7
+ datasets:
8
+ - gohsyi/metamath-sft
9
+ metrics:
10
+ - accuracy
11
  model-index:
12
  - name: Llama-3.2-1B-Instruct-sft_metamath
13
+ results:
14
+ - task:
15
+ name: Causal Language Modeling
16
+ type: text-generation
17
+ dataset:
18
+ name: gohsyi/metamath-sft
19
+ type: gohsyi/metamath-sft
20
+ metrics:
21
+ - name: Accuracy
22
+ type: accuracy
23
+ value: 0.8814735253307663
24
  ---
25
 
26
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
28
 
29
  # Llama-3.2-1B-Instruct-sft_metamath
30
 
31
+ This model is a fine-tuned version of [meta-llama/Llama-3.2-1B-Instruct](https://huggingface.co/meta-llama/Llama-3.2-1B-Instruct) on the gohsyi/metamath-sft dataset.
32
+ It achieves the following results on the evaluation set:
33
+ - Loss: 0.4330
34
+ - Accuracy: 0.8815
35
 
36
  ## Model description
37
 
all_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.9950650515926425,
3
+ "eval_accuracy": 0.8814735253307663,
4
+ "eval_loss": 0.433001846075058,
5
+ "eval_runtime": 49.6494,
6
+ "eval_samples": 3290,
7
+ "eval_samples_per_second": 66.265,
8
+ "eval_steps_per_second": 4.149,
9
+ "perplexity": 1.5418790671224933,
10
+ "total_flos": 1.1169746555638907e+18,
11
+ "train_loss": 0.5152784274350539,
12
+ "train_runtime": 8326.5034,
13
+ "train_samples": 62403,
14
+ "train_samples_per_second": 22.484,
15
+ "train_steps_per_second": 0.05
16
+ }
eval_results.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.9950650515926425,
3
+ "eval_accuracy": 0.8814735253307663,
4
+ "eval_loss": 0.433001846075058,
5
+ "eval_runtime": 49.6494,
6
+ "eval_samples": 3290,
7
+ "eval_samples_per_second": 66.265,
8
+ "eval_steps_per_second": 4.149,
9
+ "perplexity": 1.5418790671224933
10
+ }
runs/Jan03_21-06-41_node16/events.out.tfevents.1735907635.node16 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e9c8514377bcbef5a0c02784df39c2f60af71700ceaf0aa6ce54887ad4545f40
3
+ size 40
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.9950650515926425,
3
+ "total_flos": 1.1169746555638907e+18,
4
+ "train_loss": 0.5152784274350539,
5
+ "train_runtime": 8326.5034,
6
+ "train_samples": 62403,
7
+ "train_samples_per_second": 22.484,
8
+ "train_steps_per_second": 0.05
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 2.9950650515926425,
5
+ "eval_steps": 500,
6
+ "global_step": 417,
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.07178106774338268,
13
+ "grad_norm": 0.46034833788871765,
14
+ "learning_rate": 2.380952380952381e-06,
15
+ "loss": 1.2735,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.14356213548676536,
20
+ "grad_norm": 0.17795707285404205,
21
+ "learning_rate": 4.761904761904762e-06,
22
+ "loss": 0.9311,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.21534320323014805,
27
+ "grad_norm": 0.07722567766904831,
28
+ "learning_rate": 7.1428571428571436e-06,
29
+ "loss": 0.7258,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.2871242709735307,
34
+ "grad_norm": 0.058059412986040115,
35
+ "learning_rate": 9.523809523809525e-06,
36
+ "loss": 0.6562,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.35890533871691344,
41
+ "grad_norm": 0.05688474327325821,
42
+ "learning_rate": 9.786666666666667e-06,
43
+ "loss": 0.6236,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.4306864064602961,
48
+ "grad_norm": 0.0652860477566719,
49
+ "learning_rate": 9.52e-06,
50
+ "loss": 0.6011,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.5024674742036788,
55
+ "grad_norm": 0.09465105831623077,
56
+ "learning_rate": 9.253333333333333e-06,
57
+ "loss": 0.5775,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.5742485419470614,
62
+ "grad_norm": 0.16655535995960236,
63
+ "learning_rate": 8.986666666666666e-06,
64
+ "loss": 0.5588,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.6460296096904441,
69
+ "grad_norm": 0.11725710332393646,
70
+ "learning_rate": 8.720000000000001e-06,
71
+ "loss": 0.537,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.7178106774338269,
76
+ "grad_norm": 0.044058505445718765,
77
+ "learning_rate": 8.453333333333334e-06,
78
+ "loss": 0.5187,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.7895917451772095,
83
+ "grad_norm": 0.022063592448830605,
84
+ "learning_rate": 8.186666666666667e-06,
85
+ "loss": 0.51,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.8613728129205922,
90
+ "grad_norm": 0.021037070080637932,
91
+ "learning_rate": 7.92e-06,
92
+ "loss": 0.5043,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.9331538806639749,
97
+ "grad_norm": 0.01985151134431362,
98
+ "learning_rate": 7.653333333333333e-06,
99
+ "loss": 0.4985,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 1.0058322117541498,
104
+ "grad_norm": 0.04843816161155701,
105
+ "learning_rate": 7.386666666666667e-06,
106
+ "loss": 0.5345,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 1.0776132794975326,
111
+ "grad_norm": 0.02092103101313114,
112
+ "learning_rate": 7.1200000000000004e-06,
113
+ "loss": 0.4855,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 1.1493943472409152,
118
+ "grad_norm": 0.020286045968532562,
119
+ "learning_rate": 6.853333333333334e-06,
120
+ "loss": 0.4794,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 1.221175414984298,
125
+ "grad_norm": 0.020133651793003082,
126
+ "learning_rate": 6.5866666666666666e-06,
127
+ "loss": 0.4779,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 1.2929564827276807,
132
+ "grad_norm": 0.020597418770194054,
133
+ "learning_rate": 6.3200000000000005e-06,
134
+ "loss": 0.4738,
135
+ "step": 180
136
+ },
137
+ {
138
+ "epoch": 1.3647375504710633,
139
+ "grad_norm": 0.020543133839964867,
140
+ "learning_rate": 6.0533333333333335e-06,
141
+ "loss": 0.4713,
142
+ "step": 190
143
+ },
144
+ {
145
+ "epoch": 1.4365186182144458,
146
+ "grad_norm": 0.0203793253749609,
147
+ "learning_rate": 5.7866666666666674e-06,
148
+ "loss": 0.4665,
149
+ "step": 200
150
+ },
151
+ {
152
+ "epoch": 1.5082996859578286,
153
+ "grad_norm": 0.020146360620856285,
154
+ "learning_rate": 5.5200000000000005e-06,
155
+ "loss": 0.4627,
156
+ "step": 210
157
+ },
158
+ {
159
+ "epoch": 1.5800807537012114,
160
+ "grad_norm": 0.020714716985821724,
161
+ "learning_rate": 5.2533333333333336e-06,
162
+ "loss": 0.4609,
163
+ "step": 220
164
+ },
165
+ {
166
+ "epoch": 1.651861821444594,
167
+ "grad_norm": 0.020331306383013725,
168
+ "learning_rate": 4.986666666666667e-06,
169
+ "loss": 0.458,
170
+ "step": 230
171
+ },
172
+ {
173
+ "epoch": 1.7236428891879767,
174
+ "grad_norm": 0.019636554643511772,
175
+ "learning_rate": 4.7200000000000005e-06,
176
+ "loss": 0.4559,
177
+ "step": 240
178
+ },
179
+ {
180
+ "epoch": 1.7954239569313595,
181
+ "grad_norm": 0.020189929753541946,
182
+ "learning_rate": 4.453333333333334e-06,
183
+ "loss": 0.454,
184
+ "step": 250
185
+ },
186
+ {
187
+ "epoch": 1.867205024674742,
188
+ "grad_norm": 0.020626794546842575,
189
+ "learning_rate": 4.1866666666666675e-06,
190
+ "loss": 0.4507,
191
+ "step": 260
192
+ },
193
+ {
194
+ "epoch": 1.9389860924181246,
195
+ "grad_norm": 0.02100289985537529,
196
+ "learning_rate": 3.920000000000001e-06,
197
+ "loss": 0.4498,
198
+ "step": 270
199
+ },
200
+ {
201
+ "epoch": 2.0116644235082997,
202
+ "grad_norm": 0.020512910559773445,
203
+ "learning_rate": 3.6533333333333336e-06,
204
+ "loss": 0.4824,
205
+ "step": 280
206
+ },
207
+ {
208
+ "epoch": 2.083445491251682,
209
+ "grad_norm": 0.02125644125044346,
210
+ "learning_rate": 3.386666666666667e-06,
211
+ "loss": 0.4383,
212
+ "step": 290
213
+ },
214
+ {
215
+ "epoch": 2.155226558995065,
216
+ "grad_norm": 0.021306023001670837,
217
+ "learning_rate": 3.12e-06,
218
+ "loss": 0.4377,
219
+ "step": 300
220
+ },
221
+ {
222
+ "epoch": 2.2270076267384478,
223
+ "grad_norm": 0.020120656117796898,
224
+ "learning_rate": 2.8533333333333337e-06,
225
+ "loss": 0.4367,
226
+ "step": 310
227
+ },
228
+ {
229
+ "epoch": 2.2987886944818303,
230
+ "grad_norm": 0.020625969395041466,
231
+ "learning_rate": 2.5866666666666667e-06,
232
+ "loss": 0.4338,
233
+ "step": 320
234
+ },
235
+ {
236
+ "epoch": 2.3705697622252133,
237
+ "grad_norm": 0.020297806710004807,
238
+ "learning_rate": 2.3200000000000002e-06,
239
+ "loss": 0.4324,
240
+ "step": 330
241
+ },
242
+ {
243
+ "epoch": 2.442350829968596,
244
+ "grad_norm": 0.020711807534098625,
245
+ "learning_rate": 2.0533333333333337e-06,
246
+ "loss": 0.4317,
247
+ "step": 340
248
+ },
249
+ {
250
+ "epoch": 2.5141318977119784,
251
+ "grad_norm": 0.020219726487994194,
252
+ "learning_rate": 1.7866666666666668e-06,
253
+ "loss": 0.4311,
254
+ "step": 350
255
+ },
256
+ {
257
+ "epoch": 2.5859129654553614,
258
+ "grad_norm": 0.020259831100702286,
259
+ "learning_rate": 1.52e-06,
260
+ "loss": 0.4302,
261
+ "step": 360
262
+ },
263
+ {
264
+ "epoch": 2.657694033198744,
265
+ "grad_norm": 0.01994330622255802,
266
+ "learning_rate": 1.2533333333333333e-06,
267
+ "loss": 0.4277,
268
+ "step": 370
269
+ },
270
+ {
271
+ "epoch": 2.7294751009421265,
272
+ "grad_norm": 0.020670117810368538,
273
+ "learning_rate": 9.866666666666668e-07,
274
+ "loss": 0.4286,
275
+ "step": 380
276
+ },
277
+ {
278
+ "epoch": 2.801256168685509,
279
+ "grad_norm": 0.02084210328757763,
280
+ "learning_rate": 7.2e-07,
281
+ "loss": 0.4267,
282
+ "step": 390
283
+ },
284
+ {
285
+ "epoch": 2.8730372364288916,
286
+ "grad_norm": 0.019426610320806503,
287
+ "learning_rate": 4.533333333333334e-07,
288
+ "loss": 0.4264,
289
+ "step": 400
290
+ },
291
+ {
292
+ "epoch": 2.9448183041722746,
293
+ "grad_norm": 0.020601661875844002,
294
+ "learning_rate": 1.866666666666667e-07,
295
+ "loss": 0.4282,
296
+ "step": 410
297
+ },
298
+ {
299
+ "epoch": 2.9950650515926425,
300
+ "step": 417,
301
+ "total_flos": 1.1169746555638907e+18,
302
+ "train_loss": 0.5152784274350539,
303
+ "train_runtime": 8326.5034,
304
+ "train_samples_per_second": 22.484,
305
+ "train_steps_per_second": 0.05
306
+ }
307
+ ],
308
+ "logging_steps": 10,
309
+ "max_steps": 417,
310
+ "num_input_tokens_seen": 0,
311
+ "num_train_epochs": 3,
312
+ "save_steps": 100,
313
+ "stateful_callbacks": {
314
+ "TrainerControl": {
315
+ "args": {
316
+ "should_epoch_stop": false,
317
+ "should_evaluate": false,
318
+ "should_log": false,
319
+ "should_save": true,
320
+ "should_training_stop": true
321
+ },
322
+ "attributes": {}
323
+ }
324
+ },
325
+ "total_flos": 1.1169746555638907e+18,
326
+ "train_batch_size": 14,
327
+ "trial_name": null,
328
+ "trial_params": null
329
+ }