hoanbklucky commited on
Commit
078f998
1 Parent(s): 4b74c6a

End of training

Browse files
Files changed (5) hide show
  1. README.md +2 -2
  2. all_results.json +10 -10
  3. eval_results.json +5 -5
  4. train_results.json +5 -5
  5. trainer_state.json +101 -101
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.3969
22
- - Accuracy: 0.8489
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.3755
22
+ - Accuracy: 0.9080
23
 
24
  ## Model description
25
 
all_results.json CHANGED
@@ -1,13 +1,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
  }
 
1
  {
2
  "epoch": 9.577777777777778,
3
+ "eval_accuracy": 0.9080459770114943,
4
+ "eval_loss": 0.37552881240844727,
5
+ "eval_runtime": 61.3305,
6
+ "eval_samples_per_second": 9.93,
7
+ "eval_steps_per_second": 0.636,
8
+ "total_flos": 2.7458744422511e+17,
9
+ "train_loss": 0.4097213279117237,
10
+ "train_runtime": 2363.2087,
11
+ "train_samples_per_second": 6.089,
12
+ "train_steps_per_second": 0.093
13
  }
eval_results.json CHANGED
@@ -1,8 +1,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
  }
 
1
  {
2
  "epoch": 9.577777777777778,
3
+ "eval_accuracy": 0.9080459770114943,
4
+ "eval_loss": 0.37552881240844727,
5
+ "eval_runtime": 61.3305,
6
+ "eval_samples_per_second": 9.93,
7
+ "eval_steps_per_second": 0.636
8
  }
train_results.json CHANGED
@@ -1,8 +1,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
  }
 
1
  {
2
  "epoch": 9.577777777777778,
3
+ "total_flos": 2.7458744422511e+17,
4
+ "train_loss": 0.4097213279117237,
5
+ "train_runtime": 2363.2087,
6
+ "train_samples_per_second": 6.089,
7
+ "train_steps_per_second": 0.093
8
  }
trainer_state.json CHANGED
@@ -1,6 +1,6 @@
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,
@@ -10,256 +10,256 @@
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,
@@ -279,7 +279,7 @@
279
  "attributes": {}
280
  }
281
  },
282
- "total_flos": 2.7968752299762893e+17,
283
  "train_batch_size": 16,
284
  "trial_name": null,
285
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.9080459770114943,
3
+ "best_model_checkpoint": "dinov2-small-imagenet1k-1-layer-finetuned-noh\\checkpoint-46",
4
  "epoch": 9.577777777777778,
5
  "eval_steps": 500,
6
  "global_step": 220,
 
10
  "log_history": [
11
  {
12
  "epoch": 0.4444444444444444,
13
+ "grad_norm": 467.71881103515625,
14
  "learning_rate": 2.272727272727273e-05,
15
+ "loss": 0.7354,
16
  "step": 10
17
  },
18
  {
19
  "epoch": 0.8888888888888888,
20
+ "grad_norm": 400.1885986328125,
21
  "learning_rate": 4.545454545454546e-05,
22
+ "loss": 0.6331,
23
  "step": 20
24
  },
25
  {
26
  "epoch": 1.0,
27
+ "eval_accuracy": 0.7651888341543513,
28
+ "eval_loss": 0.5416210889816284,
29
+ "eval_runtime": 69.3532,
30
+ "eval_samples_per_second": 8.781,
31
+ "eval_steps_per_second": 0.562,
32
  "step": 23
33
  },
34
  {
35
  "epoch": 1.3111111111111111,
36
+ "grad_norm": 38.50715255737305,
37
  "learning_rate": 4.797979797979798e-05,
38
+ "loss": 0.5552,
39
  "step": 30
40
  },
41
  {
42
  "epoch": 1.7555555555555555,
43
+ "grad_norm": 288.6549072265625,
44
  "learning_rate": 4.545454545454546e-05,
45
+ "loss": 0.4913,
46
  "step": 40
47
  },
48
  {
49
  "epoch": 2.0,
50
+ "eval_accuracy": 0.9080459770114943,
51
+ "eval_loss": 0.37552881240844727,
52
+ "eval_runtime": 62.5531,
53
+ "eval_samples_per_second": 9.736,
54
+ "eval_steps_per_second": 0.623,
55
  "step": 46
56
  },
57
  {
58
  "epoch": 2.1777777777777776,
59
+ "grad_norm": 73.34674835205078,
60
  "learning_rate": 4.292929292929293e-05,
61
+ "loss": 0.4369,
62
  "step": 50
63
  },
64
  {
65
  "epoch": 2.6222222222222222,
66
+ "grad_norm": 61.16302490234375,
67
  "learning_rate": 4.0404040404040405e-05,
68
+ "loss": 0.4642,
69
  "step": 60
70
  },
71
  {
72
  "epoch": 3.0,
73
+ "eval_accuracy": 0.6141215106732348,
74
+ "eval_loss": 0.7140535116195679,
75
+ "eval_runtime": 68.2847,
76
+ "eval_samples_per_second": 8.919,
77
+ "eval_steps_per_second": 0.571,
78
  "step": 69
79
  },
80
  {
81
  "epoch": 3.0444444444444443,
82
+ "grad_norm": 245.7981414794922,
83
  "learning_rate": 3.787878787878788e-05,
84
+ "loss": 0.4971,
85
  "step": 70
86
  },
87
  {
88
  "epoch": 3.488888888888889,
89
+ "grad_norm": 59.85107421875,
90
  "learning_rate": 3.535353535353535e-05,
91
+ "loss": 0.4248,
92
  "step": 80
93
  },
94
  {
95
  "epoch": 3.9333333333333336,
96
+ "grad_norm": 26.801841735839844,
97
  "learning_rate": 3.282828282828283e-05,
98
+ "loss": 0.4451,
99
  "step": 90
100
  },
101
  {
102
  "epoch": 4.0,
103
  "eval_accuracy": 0.8045977011494253,
104
+ "eval_loss": 0.4347776770591736,
105
+ "eval_runtime": 63.7065,
106
+ "eval_samples_per_second": 9.559,
107
+ "eval_steps_per_second": 0.612,
108
  "step": 92
109
  },
110
  {
111
  "epoch": 4.355555555555555,
112
+ "grad_norm": 125.90353393554688,
113
  "learning_rate": 3.0303030303030306e-05,
114
+ "loss": 0.3966,
115
  "step": 100
116
  },
117
  {
118
  "epoch": 4.8,
119
+ "grad_norm": 27.96786880493164,
120
  "learning_rate": 2.777777777777778e-05,
121
+ "loss": 0.4095,
122
  "step": 110
123
  },
124
  {
125
  "epoch": 5.0,
126
+ "eval_accuracy": 0.8029556650246306,
127
+ "eval_loss": 0.5060437917709351,
128
+ "eval_runtime": 66.7998,
129
+ "eval_samples_per_second": 9.117,
130
+ "eval_steps_per_second": 0.584,
131
  "step": 115
132
  },
133
  {
134
  "epoch": 5.222222222222222,
135
+ "grad_norm": 28.08486557006836,
136
  "learning_rate": 2.5252525252525256e-05,
137
+ "loss": 0.3595,
138
  "step": 120
139
  },
140
  {
141
  "epoch": 5.666666666666667,
142
+ "grad_norm": 44.42402267456055,
143
  "learning_rate": 2.272727272727273e-05,
144
+ "loss": 0.3399,
145
  "step": 130
146
  },
147
  {
148
  "epoch": 6.0,
149
+ "eval_accuracy": 0.7372742200328407,
150
+ "eval_loss": 0.546423614025116,
151
+ "eval_runtime": 63.3896,
152
+ "eval_samples_per_second": 9.607,
153
+ "eval_steps_per_second": 0.615,
154
  "step": 138
155
  },
156
  {
157
  "epoch": 6.088888888888889,
158
+ "grad_norm": 93.54395294189453,
159
  "learning_rate": 2.0202020202020203e-05,
160
+ "loss": 0.333,
161
  "step": 140
162
  },
163
  {
164
  "epoch": 6.533333333333333,
165
+ "grad_norm": 56.091121673583984,
166
  "learning_rate": 1.7676767676767676e-05,
167
+ "loss": 0.434,
168
  "step": 150
169
  },
170
  {
171
  "epoch": 6.977777777777778,
172
+ "grad_norm": 24.830839157104492,
173
  "learning_rate": 1.5151515151515153e-05,
174
+ "loss": 0.3304,
175
  "step": 160
176
  },
177
  {
178
  "epoch": 7.0,
179
+ "eval_accuracy": 0.8883415435139573,
180
+ "eval_loss": 0.32744449377059937,
181
+ "eval_runtime": 63.7561,
182
+ "eval_samples_per_second": 9.552,
183
+ "eval_steps_per_second": 0.612,
184
  "step": 161
185
  },
186
  {
187
  "epoch": 7.4,
188
+ "grad_norm": 59.196083068847656,
189
  "learning_rate": 1.2626262626262628e-05,
190
+ "loss": 0.2963,
191
  "step": 170
192
  },
193
  {
194
  "epoch": 7.844444444444444,
195
+ "grad_norm": 22.917722702026367,
196
  "learning_rate": 1.0101010101010101e-05,
197
+ "loss": 0.3539,
198
  "step": 180
199
  },
200
  {
201
  "epoch": 8.0,
202
+ "eval_accuracy": 0.8604269293924466,
203
+ "eval_loss": 0.38926875591278076,
204
+ "eval_runtime": 63.7316,
205
+ "eval_samples_per_second": 9.556,
206
+ "eval_steps_per_second": 0.612,
207
  "step": 184
208
  },
209
  {
210
  "epoch": 8.266666666666667,
211
+ "grad_norm": 87.52684783935547,
212
  "learning_rate": 7.5757575757575764e-06,
213
+ "loss": 0.2673,
214
  "step": 190
215
  },
216
  {
217
  "epoch": 8.71111111111111,
218
+ "grad_norm": 21.081283569335938,
219
  "learning_rate": 5.050505050505051e-06,
220
+ "loss": 0.2849,
221
  "step": 200
222
  },
223
  {
224
  "epoch": 9.0,
225
+ "eval_accuracy": 0.8637110016420362,
226
+ "eval_loss": 0.3758099675178528,
227
+ "eval_runtime": 62.4924,
228
+ "eval_samples_per_second": 9.745,
229
+ "eval_steps_per_second": 0.624,
230
  "step": 207
231
  },
232
  {
233
  "epoch": 9.133333333333333,
234
+ "grad_norm": 63.325809478759766,
235
  "learning_rate": 2.5252525252525253e-06,
236
+ "loss": 0.265,
237
  "step": 210
238
  },
239
  {
240
  "epoch": 9.577777777777778,
241
+ "grad_norm": 38.6427116394043,
242
  "learning_rate": 0.0,
243
+ "loss": 0.2605,
244
  "step": 220
245
  },
246
  {
247
  "epoch": 9.577777777777778,
248
+ "eval_accuracy": 0.8489326765188834,
249
+ "eval_loss": 0.3968973755836487,
250
+ "eval_runtime": 63.9436,
251
+ "eval_samples_per_second": 9.524,
252
+ "eval_steps_per_second": 0.61,
253
  "step": 220
254
  },
255
  {
256
  "epoch": 9.577777777777778,
257
  "step": 220,
258
+ "total_flos": 2.7458744422511e+17,
259
+ "train_loss": 0.4097213279117237,
260
+ "train_runtime": 2363.2087,
261
+ "train_samples_per_second": 6.089,
262
+ "train_steps_per_second": 0.093
263
  }
264
  ],
265
  "logging_steps": 10,
 
279
  "attributes": {}
280
  }
281
  },
282
+ "total_flos": 2.7458744422511e+17,
283
  "train_batch_size": 16,
284
  "trial_name": null,
285
  "trial_params": null