selmamalak
commited on
Commit
•
c121ebe
1
Parent(s):
691bcde
End of training
Browse files- README.md +5 -5
- all_results.json +16 -0
- eval_results.json +11 -0
- train_results.json +8 -0
- trainer_state.json +673 -0
README.md
CHANGED
@@ -23,11 +23,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
23 |
|
24 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the medmnist-v2 dataset.
|
25 |
It achieves the following results on the evaluation set:
|
26 |
-
- Loss: 0.
|
27 |
-
- Accuracy: 0.
|
28 |
-
- Precision: 0.
|
29 |
-
- Recall: 0.
|
30 |
-
- F1: 0.
|
31 |
|
32 |
## Model description
|
33 |
|
|
|
23 |
|
24 |
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the medmnist-v2 dataset.
|
25 |
It achieves the following results on the evaluation set:
|
26 |
+
- Loss: 0.1773
|
27 |
+
- Accuracy: 0.9359
|
28 |
+
- Precision: 0.9474
|
29 |
+
- Recall: 0.9179
|
30 |
+
- F1: 0.9295
|
31 |
|
32 |
## Model description
|
33 |
|
all_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.898305084745763,
|
3 |
+
"eval_accuracy": 0.9358974358974359,
|
4 |
+
"eval_f1": 0.9294978984950513,
|
5 |
+
"eval_loss": 0.17731864750385284,
|
6 |
+
"eval_precision": 0.9474449814649711,
|
7 |
+
"eval_recall": 0.917948717948718,
|
8 |
+
"eval_runtime": 2.7939,
|
9 |
+
"eval_samples_per_second": 223.344,
|
10 |
+
"eval_steps_per_second": 13.959,
|
11 |
+
"total_flos": 3.6369520534486057e+18,
|
12 |
+
"train_loss": 0.20677236253268097,
|
13 |
+
"train_runtime": 441.3046,
|
14 |
+
"train_samples_per_second": 106.684,
|
15 |
+
"train_steps_per_second": 1.654
|
16 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.898305084745763,
|
3 |
+
"eval_accuracy": 0.9358974358974359,
|
4 |
+
"eval_f1": 0.9294978984950513,
|
5 |
+
"eval_loss": 0.17731864750385284,
|
6 |
+
"eval_precision": 0.9474449814649711,
|
7 |
+
"eval_recall": 0.917948717948718,
|
8 |
+
"eval_runtime": 2.7939,
|
9 |
+
"eval_samples_per_second": 223.344,
|
10 |
+
"eval_steps_per_second": 13.959
|
11 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.898305084745763,
|
3 |
+
"total_flos": 3.6369520534486057e+18,
|
4 |
+
"train_loss": 0.20677236253268097,
|
5 |
+
"train_runtime": 441.3046,
|
6 |
+
"train_samples_per_second": 106.684,
|
7 |
+
"train_steps_per_second": 1.654
|
8 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,673 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9637404580152672,
|
3 |
+
"best_model_checkpoint": "vit-base-patch16-224-in21k-finetuned-lora-medmnistv2/checkpoint-516",
|
4 |
+
"epoch": 9.898305084745763,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 730,
|
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.13559322033898305,
|
13 |
+
"grad_norm": 0.33258745074272156,
|
14 |
+
"learning_rate": 0.004931506849315068,
|
15 |
+
"loss": 0.4697,
|
16 |
+
"step": 10
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.2711864406779661,
|
20 |
+
"grad_norm": 0.4260016679763794,
|
21 |
+
"learning_rate": 0.0048630136986301375,
|
22 |
+
"loss": 0.4209,
|
23 |
+
"step": 20
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.4067796610169492,
|
27 |
+
"grad_norm": 0.335248202085495,
|
28 |
+
"learning_rate": 0.004794520547945206,
|
29 |
+
"loss": 0.3029,
|
30 |
+
"step": 30
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.5423728813559322,
|
34 |
+
"grad_norm": 1.0114984512329102,
|
35 |
+
"learning_rate": 0.004726027397260274,
|
36 |
+
"loss": 0.2765,
|
37 |
+
"step": 40
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.6779661016949152,
|
41 |
+
"grad_norm": 0.7004571557044983,
|
42 |
+
"learning_rate": 0.004657534246575342,
|
43 |
+
"loss": 0.2801,
|
44 |
+
"step": 50
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.8135593220338984,
|
48 |
+
"grad_norm": 0.4206073582172394,
|
49 |
+
"learning_rate": 0.004589041095890411,
|
50 |
+
"loss": 0.2222,
|
51 |
+
"step": 60
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.9491525423728814,
|
55 |
+
"grad_norm": 0.49781563878059387,
|
56 |
+
"learning_rate": 0.00452054794520548,
|
57 |
+
"loss": 0.2447,
|
58 |
+
"step": 70
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.9898305084745763,
|
62 |
+
"eval_accuracy": 0.9351145038167938,
|
63 |
+
"eval_f1": 0.9199611845888442,
|
64 |
+
"eval_loss": 0.15377819538116455,
|
65 |
+
"eval_precision": 0.9013226562633677,
|
66 |
+
"eval_recall": 0.9466247738741311,
|
67 |
+
"eval_runtime": 2.598,
|
68 |
+
"eval_samples_per_second": 201.69,
|
69 |
+
"eval_steps_per_second": 12.702,
|
70 |
+
"step": 73
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 1.0847457627118644,
|
74 |
+
"grad_norm": 2.9151036739349365,
|
75 |
+
"learning_rate": 0.004452054794520548,
|
76 |
+
"loss": 0.2175,
|
77 |
+
"step": 80
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 1.2203389830508475,
|
81 |
+
"grad_norm": 0.7062793374061584,
|
82 |
+
"learning_rate": 0.004383561643835616,
|
83 |
+
"loss": 0.2292,
|
84 |
+
"step": 90
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 1.3559322033898304,
|
88 |
+
"grad_norm": 0.6493266820907593,
|
89 |
+
"learning_rate": 0.004315068493150685,
|
90 |
+
"loss": 0.2363,
|
91 |
+
"step": 100
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"epoch": 1.4915254237288136,
|
95 |
+
"grad_norm": 0.487130343914032,
|
96 |
+
"learning_rate": 0.0042465753424657535,
|
97 |
+
"loss": 0.1594,
|
98 |
+
"step": 110
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 1.6271186440677967,
|
102 |
+
"grad_norm": 1.8056527376174927,
|
103 |
+
"learning_rate": 0.004178082191780822,
|
104 |
+
"loss": 0.2788,
|
105 |
+
"step": 120
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 1.7627118644067796,
|
109 |
+
"grad_norm": 1.6562355756759644,
|
110 |
+
"learning_rate": 0.00410958904109589,
|
111 |
+
"loss": 0.317,
|
112 |
+
"step": 130
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 1.8983050847457628,
|
116 |
+
"grad_norm": 3.5319395065307617,
|
117 |
+
"learning_rate": 0.004041095890410959,
|
118 |
+
"loss": 0.3466,
|
119 |
+
"step": 140
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 1.993220338983051,
|
123 |
+
"eval_accuracy": 0.9122137404580153,
|
124 |
+
"eval_f1": 0.87496628280942,
|
125 |
+
"eval_loss": 0.24509698152542114,
|
126 |
+
"eval_precision": 0.9197011276895048,
|
127 |
+
"eval_recall": 0.846558126249643,
|
128 |
+
"eval_runtime": 2.2021,
|
129 |
+
"eval_samples_per_second": 237.954,
|
130 |
+
"eval_steps_per_second": 14.986,
|
131 |
+
"step": 147
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 2.0338983050847457,
|
135 |
+
"grad_norm": 1.5860559940338135,
|
136 |
+
"learning_rate": 0.003972602739726027,
|
137 |
+
"loss": 0.4163,
|
138 |
+
"step": 150
|
139 |
+
},
|
140 |
+
{
|
141 |
+
"epoch": 2.169491525423729,
|
142 |
+
"grad_norm": 3.2184932231903076,
|
143 |
+
"learning_rate": 0.003904109589041096,
|
144 |
+
"loss": 0.3898,
|
145 |
+
"step": 160
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"epoch": 2.305084745762712,
|
149 |
+
"grad_norm": 0.8964293003082275,
|
150 |
+
"learning_rate": 0.0038356164383561643,
|
151 |
+
"loss": 0.5784,
|
152 |
+
"step": 170
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 2.440677966101695,
|
156 |
+
"grad_norm": 0.6328169703483582,
|
157 |
+
"learning_rate": 0.003767123287671233,
|
158 |
+
"loss": 0.3161,
|
159 |
+
"step": 180
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 2.576271186440678,
|
163 |
+
"grad_norm": 0.5992427468299866,
|
164 |
+
"learning_rate": 0.0036986301369863013,
|
165 |
+
"loss": 0.2642,
|
166 |
+
"step": 190
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"epoch": 2.711864406779661,
|
170 |
+
"grad_norm": 0.802533745765686,
|
171 |
+
"learning_rate": 0.00363013698630137,
|
172 |
+
"loss": 0.3049,
|
173 |
+
"step": 200
|
174 |
+
},
|
175 |
+
{
|
176 |
+
"epoch": 2.847457627118644,
|
177 |
+
"grad_norm": 0.41971662640571594,
|
178 |
+
"learning_rate": 0.003561643835616438,
|
179 |
+
"loss": 0.2395,
|
180 |
+
"step": 210
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"epoch": 2.983050847457627,
|
184 |
+
"grad_norm": 1.329890489578247,
|
185 |
+
"learning_rate": 0.003493150684931507,
|
186 |
+
"loss": 0.2074,
|
187 |
+
"step": 220
|
188 |
+
},
|
189 |
+
{
|
190 |
+
"epoch": 2.9966101694915253,
|
191 |
+
"eval_accuracy": 0.9427480916030534,
|
192 |
+
"eval_f1": 0.9203211483486406,
|
193 |
+
"eval_loss": 0.17114438116550446,
|
194 |
+
"eval_precision": 0.9537988351547674,
|
195 |
+
"eval_recall": 0.8961439588688946,
|
196 |
+
"eval_runtime": 2.5606,
|
197 |
+
"eval_samples_per_second": 204.643,
|
198 |
+
"eval_steps_per_second": 12.888,
|
199 |
+
"step": 221
|
200 |
+
},
|
201 |
+
{
|
202 |
+
"epoch": 3.1186440677966103,
|
203 |
+
"grad_norm": 0.5802115797996521,
|
204 |
+
"learning_rate": 0.003424657534246575,
|
205 |
+
"loss": 0.2699,
|
206 |
+
"step": 230
|
207 |
+
},
|
208 |
+
{
|
209 |
+
"epoch": 3.2542372881355934,
|
210 |
+
"grad_norm": 0.4673289954662323,
|
211 |
+
"learning_rate": 0.003356164383561644,
|
212 |
+
"loss": 0.2138,
|
213 |
+
"step": 240
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 3.389830508474576,
|
217 |
+
"grad_norm": 0.6567840576171875,
|
218 |
+
"learning_rate": 0.003287671232876712,
|
219 |
+
"loss": 0.2106,
|
220 |
+
"step": 250
|
221 |
+
},
|
222 |
+
{
|
223 |
+
"epoch": 3.5254237288135593,
|
224 |
+
"grad_norm": 0.6320674419403076,
|
225 |
+
"learning_rate": 0.0032191780821917808,
|
226 |
+
"loss": 0.2035,
|
227 |
+
"step": 260
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 3.6610169491525424,
|
231 |
+
"grad_norm": 0.6084808707237244,
|
232 |
+
"learning_rate": 0.003150684931506849,
|
233 |
+
"loss": 0.1865,
|
234 |
+
"step": 270
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 3.7966101694915255,
|
238 |
+
"grad_norm": 0.4084516763687134,
|
239 |
+
"learning_rate": 0.003082191780821918,
|
240 |
+
"loss": 0.1982,
|
241 |
+
"step": 280
|
242 |
+
},
|
243 |
+
{
|
244 |
+
"epoch": 3.9322033898305087,
|
245 |
+
"grad_norm": 0.9839584231376648,
|
246 |
+
"learning_rate": 0.0030136986301369864,
|
247 |
+
"loss": 0.1928,
|
248 |
+
"step": 290
|
249 |
+
},
|
250 |
+
{
|
251 |
+
"epoch": 4.0,
|
252 |
+
"eval_accuracy": 0.9618320610687023,
|
253 |
+
"eval_f1": 0.9503486961795027,
|
254 |
+
"eval_loss": 0.10444469004869461,
|
255 |
+
"eval_precision": 0.9482261076217959,
|
256 |
+
"eval_recall": 0.9525278491859469,
|
257 |
+
"eval_runtime": 2.269,
|
258 |
+
"eval_samples_per_second": 230.934,
|
259 |
+
"eval_steps_per_second": 14.544,
|
260 |
+
"step": 295
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"epoch": 4.067796610169491,
|
264 |
+
"grad_norm": 0.9798701405525208,
|
265 |
+
"learning_rate": 0.002945205479452055,
|
266 |
+
"loss": 0.161,
|
267 |
+
"step": 300
|
268 |
+
},
|
269 |
+
{
|
270 |
+
"epoch": 4.203389830508475,
|
271 |
+
"grad_norm": 0.36826208233833313,
|
272 |
+
"learning_rate": 0.0028767123287671234,
|
273 |
+
"loss": 0.2181,
|
274 |
+
"step": 310
|
275 |
+
},
|
276 |
+
{
|
277 |
+
"epoch": 4.338983050847458,
|
278 |
+
"grad_norm": 0.42575180530548096,
|
279 |
+
"learning_rate": 0.002808219178082192,
|
280 |
+
"loss": 0.1731,
|
281 |
+
"step": 320
|
282 |
+
},
|
283 |
+
{
|
284 |
+
"epoch": 4.47457627118644,
|
285 |
+
"grad_norm": 0.413644939661026,
|
286 |
+
"learning_rate": 0.0027397260273972603,
|
287 |
+
"loss": 0.2078,
|
288 |
+
"step": 330
|
289 |
+
},
|
290 |
+
{
|
291 |
+
"epoch": 4.610169491525424,
|
292 |
+
"grad_norm": 0.6161473989486694,
|
293 |
+
"learning_rate": 0.002671232876712329,
|
294 |
+
"loss": 0.1798,
|
295 |
+
"step": 340
|
296 |
+
},
|
297 |
+
{
|
298 |
+
"epoch": 4.745762711864407,
|
299 |
+
"grad_norm": 0.7980164885520935,
|
300 |
+
"learning_rate": 0.0026027397260273972,
|
301 |
+
"loss": 0.1803,
|
302 |
+
"step": 350
|
303 |
+
},
|
304 |
+
{
|
305 |
+
"epoch": 4.88135593220339,
|
306 |
+
"grad_norm": 0.7662364840507507,
|
307 |
+
"learning_rate": 0.002534246575342466,
|
308 |
+
"loss": 0.2043,
|
309 |
+
"step": 360
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"epoch": 4.989830508474577,
|
313 |
+
"eval_accuracy": 0.9580152671755725,
|
314 |
+
"eval_f1": 0.9445801203776705,
|
315 |
+
"eval_loss": 0.100668765604496,
|
316 |
+
"eval_precision": 0.9491094147582697,
|
317 |
+
"eval_recall": 0.9402837284585357,
|
318 |
+
"eval_runtime": 2.3077,
|
319 |
+
"eval_samples_per_second": 227.062,
|
320 |
+
"eval_steps_per_second": 14.3,
|
321 |
+
"step": 368
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"epoch": 5.016949152542373,
|
325 |
+
"grad_norm": 0.4770575165748596,
|
326 |
+
"learning_rate": 0.002465753424657534,
|
327 |
+
"loss": 0.2144,
|
328 |
+
"step": 370
|
329 |
+
},
|
330 |
+
{
|
331 |
+
"epoch": 5.1525423728813555,
|
332 |
+
"grad_norm": 0.5560809969902039,
|
333 |
+
"learning_rate": 0.002397260273972603,
|
334 |
+
"loss": 0.196,
|
335 |
+
"step": 380
|
336 |
+
},
|
337 |
+
{
|
338 |
+
"epoch": 5.288135593220339,
|
339 |
+
"grad_norm": 0.3539073169231415,
|
340 |
+
"learning_rate": 0.002328767123287671,
|
341 |
+
"loss": 0.1493,
|
342 |
+
"step": 390
|
343 |
+
},
|
344 |
+
{
|
345 |
+
"epoch": 5.423728813559322,
|
346 |
+
"grad_norm": 0.4955459237098694,
|
347 |
+
"learning_rate": 0.00226027397260274,
|
348 |
+
"loss": 0.1548,
|
349 |
+
"step": 400
|
350 |
+
},
|
351 |
+
{
|
352 |
+
"epoch": 5.559322033898305,
|
353 |
+
"grad_norm": 0.7003247141838074,
|
354 |
+
"learning_rate": 0.002191780821917808,
|
355 |
+
"loss": 0.1623,
|
356 |
+
"step": 410
|
357 |
+
},
|
358 |
+
{
|
359 |
+
"epoch": 5.694915254237288,
|
360 |
+
"grad_norm": 0.37460166215896606,
|
361 |
+
"learning_rate": 0.0021232876712328768,
|
362 |
+
"loss": 0.1964,
|
363 |
+
"step": 420
|
364 |
+
},
|
365 |
+
{
|
366 |
+
"epoch": 5.830508474576272,
|
367 |
+
"grad_norm": 0.7236199378967285,
|
368 |
+
"learning_rate": 0.002054794520547945,
|
369 |
+
"loss": 0.2222,
|
370 |
+
"step": 430
|
371 |
+
},
|
372 |
+
{
|
373 |
+
"epoch": 5.966101694915254,
|
374 |
+
"grad_norm": 0.47040122747421265,
|
375 |
+
"learning_rate": 0.0019863013698630137,
|
376 |
+
"loss": 0.1717,
|
377 |
+
"step": 440
|
378 |
+
},
|
379 |
+
{
|
380 |
+
"epoch": 5.9932203389830505,
|
381 |
+
"eval_accuracy": 0.9618320610687023,
|
382 |
+
"eval_f1": 0.9510417639914043,
|
383 |
+
"eval_loss": 0.09301359206438065,
|
384 |
+
"eval_precision": 0.9431749353009196,
|
385 |
+
"eval_recall": 0.9597829191659526,
|
386 |
+
"eval_runtime": 2.2617,
|
387 |
+
"eval_samples_per_second": 231.684,
|
388 |
+
"eval_steps_per_second": 14.591,
|
389 |
+
"step": 442
|
390 |
+
},
|
391 |
+
{
|
392 |
+
"epoch": 6.101694915254237,
|
393 |
+
"grad_norm": 0.38825348019599915,
|
394 |
+
"learning_rate": 0.0019178082191780822,
|
395 |
+
"loss": 0.1433,
|
396 |
+
"step": 450
|
397 |
+
},
|
398 |
+
{
|
399 |
+
"epoch": 6.237288135593221,
|
400 |
+
"grad_norm": 0.5254190564155579,
|
401 |
+
"learning_rate": 0.0018493150684931506,
|
402 |
+
"loss": 0.1549,
|
403 |
+
"step": 460
|
404 |
+
},
|
405 |
+
{
|
406 |
+
"epoch": 6.372881355932203,
|
407 |
+
"grad_norm": 0.369255930185318,
|
408 |
+
"learning_rate": 0.001780821917808219,
|
409 |
+
"loss": 0.1404,
|
410 |
+
"step": 470
|
411 |
+
},
|
412 |
+
{
|
413 |
+
"epoch": 6.508474576271187,
|
414 |
+
"grad_norm": 0.5419684648513794,
|
415 |
+
"learning_rate": 0.0017123287671232876,
|
416 |
+
"loss": 0.1506,
|
417 |
+
"step": 480
|
418 |
+
},
|
419 |
+
{
|
420 |
+
"epoch": 6.6440677966101696,
|
421 |
+
"grad_norm": 0.47255194187164307,
|
422 |
+
"learning_rate": 0.001643835616438356,
|
423 |
+
"loss": 0.1852,
|
424 |
+
"step": 490
|
425 |
+
},
|
426 |
+
{
|
427 |
+
"epoch": 6.779661016949152,
|
428 |
+
"grad_norm": 0.5880511403083801,
|
429 |
+
"learning_rate": 0.0015753424657534245,
|
430 |
+
"loss": 0.1386,
|
431 |
+
"step": 500
|
432 |
+
},
|
433 |
+
{
|
434 |
+
"epoch": 6.915254237288136,
|
435 |
+
"grad_norm": 0.5441922545433044,
|
436 |
+
"learning_rate": 0.0015068493150684932,
|
437 |
+
"loss": 0.1498,
|
438 |
+
"step": 510
|
439 |
+
},
|
440 |
+
{
|
441 |
+
"epoch": 6.996610169491525,
|
442 |
+
"eval_accuracy": 0.9637404580152672,
|
443 |
+
"eval_f1": 0.9535961146766969,
|
444 |
+
"eval_loss": 0.08451908081769943,
|
445 |
+
"eval_precision": 0.9448099415204678,
|
446 |
+
"eval_recall": 0.9634866228696563,
|
447 |
+
"eval_runtime": 2.2932,
|
448 |
+
"eval_samples_per_second": 228.506,
|
449 |
+
"eval_steps_per_second": 14.391,
|
450 |
+
"step": 516
|
451 |
+
},
|
452 |
+
{
|
453 |
+
"epoch": 7.0508474576271185,
|
454 |
+
"grad_norm": 0.40786656737327576,
|
455 |
+
"learning_rate": 0.0014383561643835617,
|
456 |
+
"loss": 0.1501,
|
457 |
+
"step": 520
|
458 |
+
},
|
459 |
+
{
|
460 |
+
"epoch": 7.186440677966102,
|
461 |
+
"grad_norm": 0.5240201950073242,
|
462 |
+
"learning_rate": 0.0013698630136986301,
|
463 |
+
"loss": 0.1619,
|
464 |
+
"step": 530
|
465 |
+
},
|
466 |
+
{
|
467 |
+
"epoch": 7.322033898305085,
|
468 |
+
"grad_norm": 0.4185083210468292,
|
469 |
+
"learning_rate": 0.0013013698630136986,
|
470 |
+
"loss": 0.1485,
|
471 |
+
"step": 540
|
472 |
+
},
|
473 |
+
{
|
474 |
+
"epoch": 7.4576271186440675,
|
475 |
+
"grad_norm": 0.4574959874153137,
|
476 |
+
"learning_rate": 0.001232876712328767,
|
477 |
+
"loss": 0.1372,
|
478 |
+
"step": 550
|
479 |
+
},
|
480 |
+
{
|
481 |
+
"epoch": 7.593220338983051,
|
482 |
+
"grad_norm": 0.4783307909965515,
|
483 |
+
"learning_rate": 0.0011643835616438356,
|
484 |
+
"loss": 0.1501,
|
485 |
+
"step": 560
|
486 |
+
},
|
487 |
+
{
|
488 |
+
"epoch": 7.728813559322034,
|
489 |
+
"grad_norm": 0.36722248792648315,
|
490 |
+
"learning_rate": 0.001095890410958904,
|
491 |
+
"loss": 0.1328,
|
492 |
+
"step": 570
|
493 |
+
},
|
494 |
+
{
|
495 |
+
"epoch": 7.864406779661017,
|
496 |
+
"grad_norm": 2.2450578212738037,
|
497 |
+
"learning_rate": 0.0010273972602739725,
|
498 |
+
"loss": 0.1672,
|
499 |
+
"step": 580
|
500 |
+
},
|
501 |
+
{
|
502 |
+
"epoch": 8.0,
|
503 |
+
"grad_norm": 0.483530730009079,
|
504 |
+
"learning_rate": 0.0009589041095890411,
|
505 |
+
"loss": 0.1531,
|
506 |
+
"step": 590
|
507 |
+
},
|
508 |
+
{
|
509 |
+
"epoch": 8.0,
|
510 |
+
"eval_accuracy": 0.933206106870229,
|
511 |
+
"eval_f1": 0.9187542915365363,
|
512 |
+
"eval_loss": 0.166096031665802,
|
513 |
+
"eval_precision": 0.8974050294275013,
|
514 |
+
"eval_recall": 0.9525944968104352,
|
515 |
+
"eval_runtime": 2.4586,
|
516 |
+
"eval_samples_per_second": 213.127,
|
517 |
+
"eval_steps_per_second": 13.422,
|
518 |
+
"step": 590
|
519 |
+
},
|
520 |
+
{
|
521 |
+
"epoch": 8.135593220338983,
|
522 |
+
"grad_norm": 0.6294255256652832,
|
523 |
+
"learning_rate": 0.0008904109589041096,
|
524 |
+
"loss": 0.1786,
|
525 |
+
"step": 600
|
526 |
+
},
|
527 |
+
{
|
528 |
+
"epoch": 8.271186440677965,
|
529 |
+
"grad_norm": 0.5834006667137146,
|
530 |
+
"learning_rate": 0.000821917808219178,
|
531 |
+
"loss": 0.1564,
|
532 |
+
"step": 610
|
533 |
+
},
|
534 |
+
{
|
535 |
+
"epoch": 8.40677966101695,
|
536 |
+
"grad_norm": 1.0836858749389648,
|
537 |
+
"learning_rate": 0.0007534246575342466,
|
538 |
+
"loss": 0.1422,
|
539 |
+
"step": 620
|
540 |
+
},
|
541 |
+
{
|
542 |
+
"epoch": 8.542372881355933,
|
543 |
+
"grad_norm": 0.4150519073009491,
|
544 |
+
"learning_rate": 0.0006849315068493151,
|
545 |
+
"loss": 0.1262,
|
546 |
+
"step": 630
|
547 |
+
},
|
548 |
+
{
|
549 |
+
"epoch": 8.677966101694915,
|
550 |
+
"grad_norm": 0.4896199703216553,
|
551 |
+
"learning_rate": 0.0006164383561643835,
|
552 |
+
"loss": 0.1024,
|
553 |
+
"step": 640
|
554 |
+
},
|
555 |
+
{
|
556 |
+
"epoch": 8.813559322033898,
|
557 |
+
"grad_norm": 0.49235931038856506,
|
558 |
+
"learning_rate": 0.000547945205479452,
|
559 |
+
"loss": 0.1222,
|
560 |
+
"step": 650
|
561 |
+
},
|
562 |
+
{
|
563 |
+
"epoch": 8.94915254237288,
|
564 |
+
"grad_norm": 0.7004760503768921,
|
565 |
+
"learning_rate": 0.00047945205479452054,
|
566 |
+
"loss": 0.1451,
|
567 |
+
"step": 660
|
568 |
+
},
|
569 |
+
{
|
570 |
+
"epoch": 8.989830508474576,
|
571 |
+
"eval_accuracy": 0.9637404580152672,
|
572 |
+
"eval_f1": 0.9533823109375512,
|
573 |
+
"eval_loss": 0.07597702741622925,
|
574 |
+
"eval_precision": 0.9463719489713148,
|
575 |
+
"eval_recall": 0.9610682662096544,
|
576 |
+
"eval_runtime": 2.256,
|
577 |
+
"eval_samples_per_second": 232.27,
|
578 |
+
"eval_steps_per_second": 14.628,
|
579 |
+
"step": 663
|
580 |
+
},
|
581 |
+
{
|
582 |
+
"epoch": 9.084745762711865,
|
583 |
+
"grad_norm": 0.7847811579704285,
|
584 |
+
"learning_rate": 0.000410958904109589,
|
585 |
+
"loss": 0.1416,
|
586 |
+
"step": 670
|
587 |
+
},
|
588 |
+
{
|
589 |
+
"epoch": 9.220338983050848,
|
590 |
+
"grad_norm": 0.4217701256275177,
|
591 |
+
"learning_rate": 0.00034246575342465754,
|
592 |
+
"loss": 0.1058,
|
593 |
+
"step": 680
|
594 |
+
},
|
595 |
+
{
|
596 |
+
"epoch": 9.35593220338983,
|
597 |
+
"grad_norm": 0.39670172333717346,
|
598 |
+
"learning_rate": 0.000273972602739726,
|
599 |
+
"loss": 0.1227,
|
600 |
+
"step": 690
|
601 |
+
},
|
602 |
+
{
|
603 |
+
"epoch": 9.491525423728813,
|
604 |
+
"grad_norm": 0.448311448097229,
|
605 |
+
"learning_rate": 0.0002054794520547945,
|
606 |
+
"loss": 0.1391,
|
607 |
+
"step": 700
|
608 |
+
},
|
609 |
+
{
|
610 |
+
"epoch": 9.627118644067796,
|
611 |
+
"grad_norm": 0.2346179038286209,
|
612 |
+
"learning_rate": 0.00014383561643835618,
|
613 |
+
"loss": 0.1029,
|
614 |
+
"step": 710
|
615 |
+
},
|
616 |
+
{
|
617 |
+
"epoch": 9.76271186440678,
|
618 |
+
"grad_norm": 0.42317041754722595,
|
619 |
+
"learning_rate": 7.534246575342466e-05,
|
620 |
+
"loss": 0.1341,
|
621 |
+
"step": 720
|
622 |
+
},
|
623 |
+
{
|
624 |
+
"epoch": 9.898305084745763,
|
625 |
+
"grad_norm": 2.337646484375,
|
626 |
+
"learning_rate": 1.3698630136986302e-05,
|
627 |
+
"loss": 0.1263,
|
628 |
+
"step": 730
|
629 |
+
},
|
630 |
+
{
|
631 |
+
"epoch": 9.898305084745763,
|
632 |
+
"eval_accuracy": 0.9580152671755725,
|
633 |
+
"eval_f1": 0.9466325944854914,
|
634 |
+
"eval_loss": 0.08236818760633469,
|
635 |
+
"eval_precision": 0.9355455710135513,
|
636 |
+
"eval_recall": 0.9596305817385509,
|
637 |
+
"eval_runtime": 2.279,
|
638 |
+
"eval_samples_per_second": 229.924,
|
639 |
+
"eval_steps_per_second": 14.48,
|
640 |
+
"step": 730
|
641 |
+
},
|
642 |
+
{
|
643 |
+
"epoch": 9.898305084745763,
|
644 |
+
"step": 730,
|
645 |
+
"total_flos": 3.6369520534486057e+18,
|
646 |
+
"train_loss": 0.20677236253268097,
|
647 |
+
"train_runtime": 441.3046,
|
648 |
+
"train_samples_per_second": 106.684,
|
649 |
+
"train_steps_per_second": 1.654
|
650 |
+
}
|
651 |
+
],
|
652 |
+
"logging_steps": 10,
|
653 |
+
"max_steps": 730,
|
654 |
+
"num_input_tokens_seen": 0,
|
655 |
+
"num_train_epochs": 10,
|
656 |
+
"save_steps": 500,
|
657 |
+
"stateful_callbacks": {
|
658 |
+
"TrainerControl": {
|
659 |
+
"args": {
|
660 |
+
"should_epoch_stop": false,
|
661 |
+
"should_evaluate": false,
|
662 |
+
"should_log": false,
|
663 |
+
"should_save": true,
|
664 |
+
"should_training_stop": true
|
665 |
+
},
|
666 |
+
"attributes": {}
|
667 |
+
}
|
668 |
+
},
|
669 |
+
"total_flos": 3.6369520534486057e+18,
|
670 |
+
"train_batch_size": 16,
|
671 |
+
"trial_name": null,
|
672 |
+
"trial_params": null
|
673 |
+
}
|