hoanbklucky commited on
Commit
7e583e2
·
verified ·
1 Parent(s): d3bdaf4

End of training

Browse files
Files changed (5) hide show
  1. README.md +2 -2
  2. all_results.json +12 -12
  3. eval_results.json +7 -7
  4. train_results.json +7 -7
  5. trainer_state.json +286 -111
README.md CHANGED
@@ -18,8 +18,8 @@ should probably proofread and complete it, then remove this comment. -->
18
 
19
  This model is a fine-tuned version of [facebook/dinov2-small-imagenet1k-1-layer](https://huggingface.co/facebook/dinov2-small-imagenet1k-1-layer) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.5386
22
- - Accuracy: 0.8440
23
 
24
  ## Model description
25
 
 
18
 
19
  This model is a fine-tuned version of [facebook/dinov2-small-imagenet1k-1-layer](https://huggingface.co/facebook/dinov2-small-imagenet1k-1-layer) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
+ - Loss: 0.3058
22
+ - Accuracy: 0.8982
23
 
24
  ## Model description
25
 
all_results.json CHANGED
@@ -1,13 +1,13 @@
1
- {
2
- "epoch": 2.9333333333333336,
3
- "eval_accuracy": 0.9014778325123153,
4
- "eval_loss": 0.3210342824459076,
5
- "eval_runtime": 178.0058,
6
- "eval_samples_per_second": 3.421,
7
- "eval_steps_per_second": 0.219,
8
- "total_flos": 8.411145538115174e+16,
9
- "train_loss": 0.5577786402268843,
10
- "train_runtime": 2627.8256,
11
- "train_samples_per_second": 1.643,
12
- "train_steps_per_second": 0.025
13
  }
 
1
+ {
2
+ "epoch": 9.577777777777778,
3
+ "eval_accuracy": 0.8981937602627258,
4
+ "eval_loss": 0.3057605028152466,
5
+ "eval_runtime": 63.3552,
6
+ "eval_samples_per_second": 9.612,
7
+ "eval_steps_per_second": 0.616,
8
+ "total_flos": 2.7968752299762893e+17,
9
+ "train_loss": 0.335261548649181,
10
+ "train_runtime": 2511.8857,
11
+ "train_samples_per_second": 5.729,
12
+ "train_steps_per_second": 0.088
13
  }
eval_results.json CHANGED
@@ -1,8 +1,8 @@
1
- {
2
- "epoch": 2.9333333333333336,
3
- "eval_accuracy": 0.9014778325123153,
4
- "eval_loss": 0.3210342824459076,
5
- "eval_runtime": 178.0058,
6
- "eval_samples_per_second": 3.421,
7
- "eval_steps_per_second": 0.219
8
  }
 
1
+ {
2
+ "epoch": 9.577777777777778,
3
+ "eval_accuracy": 0.8981937602627258,
4
+ "eval_loss": 0.3057605028152466,
5
+ "eval_runtime": 63.3552,
6
+ "eval_samples_per_second": 9.612,
7
+ "eval_steps_per_second": 0.616
8
  }
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
- {
2
- "epoch": 2.9333333333333336,
3
- "total_flos": 8.411145538115174e+16,
4
- "train_loss": 0.5577786402268843,
5
- "train_runtime": 2627.8256,
6
- "train_samples_per_second": 1.643,
7
- "train_steps_per_second": 0.025
8
  }
 
1
+ {
2
+ "epoch": 9.577777777777778,
3
+ "total_flos": 2.7968752299762893e+17,
4
+ "train_loss": 0.335261548649181,
5
+ "train_runtime": 2511.8857,
6
+ "train_samples_per_second": 5.729,
7
+ "train_steps_per_second": 0.088
8
  }
trainer_state.json CHANGED
@@ -1,111 +1,286 @@
1
- {
2
- "best_metric": 0.9014778325123153,
3
- "best_model_checkpoint": "dinov2-small-imagenet1k-1-layer-finetuned-noh/checkpoint-66",
4
- "epoch": 2.9333333333333336,
5
- "eval_steps": 500,
6
- "global_step": 66,
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.4444444444444444,
13
- "grad_norm": 223.80079650878906,
14
- "learning_rate": 4.745762711864407e-05,
15
- "loss": 0.8188,
16
- "step": 10
17
- },
18
- {
19
- "epoch": 0.8888888888888888,
20
- "grad_norm": 90.21881103515625,
21
- "learning_rate": 3.898305084745763e-05,
22
- "loss": 0.6437,
23
- "step": 20
24
- },
25
- {
26
- "epoch": 0.9777777777777777,
27
- "eval_accuracy": 0.7619047619047619,
28
- "eval_loss": 0.47078460454940796,
29
- "eval_runtime": 425.2287,
30
- "eval_samples_per_second": 1.432,
31
- "eval_steps_per_second": 0.092,
32
- "step": 22
33
- },
34
- {
35
- "epoch": 1.3333333333333333,
36
- "grad_norm": 154.34889221191406,
37
- "learning_rate": 3.050847457627119e-05,
38
- "loss": 0.6102,
39
- "step": 30
40
- },
41
- {
42
- "epoch": 1.7777777777777777,
43
- "grad_norm": 38.342926025390625,
44
- "learning_rate": 2.2033898305084748e-05,
45
- "loss": 0.5057,
46
- "step": 40
47
- },
48
- {
49
- "epoch": 2.0,
50
- "eval_accuracy": 0.8850574712643678,
51
- "eval_loss": 0.33653634786605835,
52
- "eval_runtime": 178.3005,
53
- "eval_samples_per_second": 3.416,
54
- "eval_steps_per_second": 0.219,
55
- "step": 45
56
- },
57
- {
58
- "epoch": 2.2222222222222223,
59
- "grad_norm": 36.97127914428711,
60
- "learning_rate": 1.3559322033898305e-05,
61
- "loss": 0.4065,
62
- "step": 50
63
- },
64
- {
65
- "epoch": 2.6666666666666665,
66
- "grad_norm": 55.42195129394531,
67
- "learning_rate": 5.084745762711865e-06,
68
- "loss": 0.4411,
69
- "step": 60
70
- },
71
- {
72
- "epoch": 2.9333333333333336,
73
- "eval_accuracy": 0.9014778325123153,
74
- "eval_loss": 0.3210342824459076,
75
- "eval_runtime": 175.5054,
76
- "eval_samples_per_second": 3.47,
77
- "eval_steps_per_second": 0.222,
78
- "step": 66
79
- },
80
- {
81
- "epoch": 2.9333333333333336,
82
- "step": 66,
83
- "total_flos": 8.411145538115174e+16,
84
- "train_loss": 0.5577786402268843,
85
- "train_runtime": 2627.8256,
86
- "train_samples_per_second": 1.643,
87
- "train_steps_per_second": 0.025
88
- }
89
- ],
90
- "logging_steps": 10,
91
- "max_steps": 66,
92
- "num_input_tokens_seen": 0,
93
- "num_train_epochs": 3,
94
- "save_steps": 500,
95
- "stateful_callbacks": {
96
- "TrainerControl": {
97
- "args": {
98
- "should_epoch_stop": false,
99
- "should_evaluate": false,
100
- "should_log": false,
101
- "should_save": true,
102
- "should_training_stop": true
103
- },
104
- "attributes": {}
105
- }
106
- },
107
- "total_flos": 8.411145538115174e+16,
108
- "train_batch_size": 16,
109
- "trial_name": null,
110
- "trial_params": null
111
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8981937602627258,
3
+ "best_model_checkpoint": "dinov2-small-imagenet1k-1-layer-finetuned-noh\\checkpoint-69",
4
+ "epoch": 9.577777777777778,
5
+ "eval_steps": 500,
6
+ "global_step": 220,
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.4444444444444444,
13
+ "grad_norm": 159.195556640625,
14
+ "learning_rate": 2.272727272727273e-05,
15
+ "loss": 0.6375,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.8888888888888888,
20
+ "grad_norm": 104.19737243652344,
21
+ "learning_rate": 4.545454545454546e-05,
22
+ "loss": 0.5315,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 1.0,
27
+ "eval_accuracy": 0.24794745484400657,
28
+ "eval_loss": 1.2674404382705688,
29
+ "eval_runtime": 77.3353,
30
+ "eval_samples_per_second": 7.875,
31
+ "eval_steps_per_second": 0.504,
32
+ "step": 23
33
+ },
34
+ {
35
+ "epoch": 1.3111111111111111,
36
+ "grad_norm": 71.8785400390625,
37
+ "learning_rate": 4.797979797979798e-05,
38
+ "loss": 0.6264,
39
+ "step": 30
40
+ },
41
+ {
42
+ "epoch": 1.7555555555555555,
43
+ "grad_norm": 95.69356536865234,
44
+ "learning_rate": 4.545454545454546e-05,
45
+ "loss": 0.4629,
46
+ "step": 40
47
+ },
48
+ {
49
+ "epoch": 2.0,
50
+ "eval_accuracy": 0.7881773399014779,
51
+ "eval_loss": 0.5133813619613647,
52
+ "eval_runtime": 70.8468,
53
+ "eval_samples_per_second": 8.596,
54
+ "eval_steps_per_second": 0.55,
55
+ "step": 46
56
+ },
57
+ {
58
+ "epoch": 2.1777777777777776,
59
+ "grad_norm": 193.81893920898438,
60
+ "learning_rate": 4.292929292929293e-05,
61
+ "loss": 0.3744,
62
+ "step": 50
63
+ },
64
+ {
65
+ "epoch": 2.6222222222222222,
66
+ "grad_norm": 42.527183532714844,
67
+ "learning_rate": 4.0404040404040405e-05,
68
+ "loss": 0.4368,
69
+ "step": 60
70
+ },
71
+ {
72
+ "epoch": 3.0,
73
+ "eval_accuracy": 0.8981937602627258,
74
+ "eval_loss": 0.3057605028152466,
75
+ "eval_runtime": 67.9327,
76
+ "eval_samples_per_second": 8.965,
77
+ "eval_steps_per_second": 0.574,
78
+ "step": 69
79
+ },
80
+ {
81
+ "epoch": 3.0444444444444443,
82
+ "grad_norm": 112.69408416748047,
83
+ "learning_rate": 3.787878787878788e-05,
84
+ "loss": 0.4417,
85
+ "step": 70
86
+ },
87
+ {
88
+ "epoch": 3.488888888888889,
89
+ "grad_norm": 51.07742691040039,
90
+ "learning_rate": 3.535353535353535e-05,
91
+ "loss": 0.3974,
92
+ "step": 80
93
+ },
94
+ {
95
+ "epoch": 3.9333333333333336,
96
+ "grad_norm": 114.08860778808594,
97
+ "learning_rate": 3.282828282828283e-05,
98
+ "loss": 0.4123,
99
+ "step": 90
100
+ },
101
+ {
102
+ "epoch": 4.0,
103
+ "eval_accuracy": 0.8045977011494253,
104
+ "eval_loss": 0.41477170586586,
105
+ "eval_runtime": 67.1988,
106
+ "eval_samples_per_second": 9.063,
107
+ "eval_steps_per_second": 0.58,
108
+ "step": 92
109
+ },
110
+ {
111
+ "epoch": 4.355555555555555,
112
+ "grad_norm": 57.1572265625,
113
+ "learning_rate": 3.0303030303030306e-05,
114
+ "loss": 0.2962,
115
+ "step": 100
116
+ },
117
+ {
118
+ "epoch": 4.8,
119
+ "grad_norm": 73.67029571533203,
120
+ "learning_rate": 2.777777777777778e-05,
121
+ "loss": 0.3301,
122
+ "step": 110
123
+ },
124
+ {
125
+ "epoch": 5.0,
126
+ "eval_accuracy": 0.8735632183908046,
127
+ "eval_loss": 0.35200509428977966,
128
+ "eval_runtime": 67.892,
129
+ "eval_samples_per_second": 8.97,
130
+ "eval_steps_per_second": 0.574,
131
+ "step": 115
132
+ },
133
+ {
134
+ "epoch": 5.222222222222222,
135
+ "grad_norm": 72.7608871459961,
136
+ "learning_rate": 2.5252525252525256e-05,
137
+ "loss": 0.2722,
138
+ "step": 120
139
+ },
140
+ {
141
+ "epoch": 5.666666666666667,
142
+ "grad_norm": 54.74464797973633,
143
+ "learning_rate": 2.272727272727273e-05,
144
+ "loss": 0.2907,
145
+ "step": 130
146
+ },
147
+ {
148
+ "epoch": 6.0,
149
+ "eval_accuracy": 0.8440065681444991,
150
+ "eval_loss": 0.441454142332077,
151
+ "eval_runtime": 67.5009,
152
+ "eval_samples_per_second": 9.022,
153
+ "eval_steps_per_second": 0.578,
154
+ "step": 138
155
+ },
156
+ {
157
+ "epoch": 6.088888888888889,
158
+ "grad_norm": 79.50174713134766,
159
+ "learning_rate": 2.0202020202020203e-05,
160
+ "loss": 0.2261,
161
+ "step": 140
162
+ },
163
+ {
164
+ "epoch": 6.533333333333333,
165
+ "grad_norm": 89.56454467773438,
166
+ "learning_rate": 1.7676767676767676e-05,
167
+ "loss": 0.2502,
168
+ "step": 150
169
+ },
170
+ {
171
+ "epoch": 6.977777777777778,
172
+ "grad_norm": 181.8550567626953,
173
+ "learning_rate": 1.5151515151515153e-05,
174
+ "loss": 0.2809,
175
+ "step": 160
176
+ },
177
+ {
178
+ "epoch": 7.0,
179
+ "eval_accuracy": 0.7520525451559934,
180
+ "eval_loss": 0.5785913467407227,
181
+ "eval_runtime": 74.2006,
182
+ "eval_samples_per_second": 8.207,
183
+ "eval_steps_per_second": 0.526,
184
+ "step": 161
185
+ },
186
+ {
187
+ "epoch": 7.4,
188
+ "grad_norm": 53.69293212890625,
189
+ "learning_rate": 1.2626262626262628e-05,
190
+ "loss": 0.2154,
191
+ "step": 170
192
+ },
193
+ {
194
+ "epoch": 7.844444444444444,
195
+ "grad_norm": 48.94661331176758,
196
+ "learning_rate": 1.0101010101010101e-05,
197
+ "loss": 0.2243,
198
+ "step": 180
199
+ },
200
+ {
201
+ "epoch": 8.0,
202
+ "eval_accuracy": 0.8752052545155994,
203
+ "eval_loss": 0.4724029004573822,
204
+ "eval_runtime": 70.7275,
205
+ "eval_samples_per_second": 8.611,
206
+ "eval_steps_per_second": 0.551,
207
+ "step": 184
208
+ },
209
+ {
210
+ "epoch": 8.266666666666667,
211
+ "grad_norm": 52.60847854614258,
212
+ "learning_rate": 7.5757575757575764e-06,
213
+ "loss": 0.1612,
214
+ "step": 190
215
+ },
216
+ {
217
+ "epoch": 8.71111111111111,
218
+ "grad_norm": 54.77922058105469,
219
+ "learning_rate": 5.050505050505051e-06,
220
+ "loss": 0.1968,
221
+ "step": 200
222
+ },
223
+ {
224
+ "epoch": 9.0,
225
+ "eval_accuracy": 0.8702791461412152,
226
+ "eval_loss": 0.5452057719230652,
227
+ "eval_runtime": 69.5328,
228
+ "eval_samples_per_second": 8.758,
229
+ "eval_steps_per_second": 0.561,
230
+ "step": 207
231
+ },
232
+ {
233
+ "epoch": 9.133333333333333,
234
+ "grad_norm": 76.0404281616211,
235
+ "learning_rate": 2.5252525252525253e-06,
236
+ "loss": 0.1506,
237
+ "step": 210
238
+ },
239
+ {
240
+ "epoch": 9.577777777777778,
241
+ "grad_norm": 52.908023834228516,
242
+ "learning_rate": 0.0,
243
+ "loss": 0.1601,
244
+ "step": 220
245
+ },
246
+ {
247
+ "epoch": 9.577777777777778,
248
+ "eval_accuracy": 0.8440065681444991,
249
+ "eval_loss": 0.5386197566986084,
250
+ "eval_runtime": 71.1162,
251
+ "eval_samples_per_second": 8.563,
252
+ "eval_steps_per_second": 0.548,
253
+ "step": 220
254
+ },
255
+ {
256
+ "epoch": 9.577777777777778,
257
+ "step": 220,
258
+ "total_flos": 2.7968752299762893e+17,
259
+ "train_loss": 0.335261548649181,
260
+ "train_runtime": 2511.8857,
261
+ "train_samples_per_second": 5.729,
262
+ "train_steps_per_second": 0.088
263
+ }
264
+ ],
265
+ "logging_steps": 10,
266
+ "max_steps": 220,
267
+ "num_input_tokens_seen": 0,
268
+ "num_train_epochs": 10,
269
+ "save_steps": 500,
270
+ "stateful_callbacks": {
271
+ "TrainerControl": {
272
+ "args": {
273
+ "should_epoch_stop": false,
274
+ "should_evaluate": false,
275
+ "should_log": false,
276
+ "should_save": true,
277
+ "should_training_stop": true
278
+ },
279
+ "attributes": {}
280
+ }
281
+ },
282
+ "total_flos": 2.7968752299762893e+17,
283
+ "train_batch_size": 16,
284
+ "trial_name": null,
285
+ "trial_params": null
286
+ }