Ivanrs commited on
Commit
8846388
·
verified ·
1 Parent(s): 530f7d4

vit-finetune-kidney-stone-Michel_Daudon_-w256_1k_v1-_MIX-pretrain

Browse files
README.md ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: google/vit-base-patch16-224-in21k
5
+ tags:
6
+ - generated_from_trainer
7
+ datasets:
8
+ - imagefolder
9
+ metrics:
10
+ - accuracy
11
+ - precision
12
+ - recall
13
+ - f1
14
+ model-index:
15
+ - name: vit-finetune-kidney-stone-Michel_Daudon_-w256_1k_v1-_MIX-pretrain
16
+ results:
17
+ - task:
18
+ name: Image Classification
19
+ type: image-classification
20
+ dataset:
21
+ name: imagefolder
22
+ type: imagefolder
23
+ config: default
24
+ split: test
25
+ args: default
26
+ metrics:
27
+ - name: Accuracy
28
+ type: accuracy
29
+ value: 0.84625
30
+ - name: Precision
31
+ type: precision
32
+ value: 0.884106022518103
33
+ - name: Recall
34
+ type: recall
35
+ value: 0.84625
36
+ - name: F1
37
+ type: f1
38
+ value: 0.8469228019366851
39
+ ---
40
+
41
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
42
+ should probably proofread and complete it, then remove this comment. -->
43
+
44
+ # vit-finetune-kidney-stone-Michel_Daudon_-w256_1k_v1-_MIX-pretrain
45
+
46
+ 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 imagefolder dataset.
47
+ It achieves the following results on the evaluation set:
48
+ - Loss: 0.5559
49
+ - Accuracy: 0.8462
50
+ - Precision: 0.8841
51
+ - Recall: 0.8462
52
+ - F1: 0.8469
53
+
54
+ ## Model description
55
+
56
+ More information needed
57
+
58
+ ## Intended uses & limitations
59
+
60
+ More information needed
61
+
62
+ ## Training and evaluation data
63
+
64
+ More information needed
65
+
66
+ ## Training procedure
67
+
68
+ ### Training hyperparameters
69
+
70
+ The following hyperparameters were used during training:
71
+ - learning_rate: 0.0002
72
+ - train_batch_size: 32
73
+ - eval_batch_size: 8
74
+ - seed: 42
75
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
76
+ - lr_scheduler_type: linear
77
+ - num_epochs: 1
78
+ - mixed_precision_training: Native AMP
79
+
80
+ ### Training results
81
+
82
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | Precision | Recall | F1 |
83
+ |:-------------:|:------:|:----:|:---------------:|:--------:|:---------:|:------:|:------:|
84
+ | 0.2482 | 0.3333 | 100 | 0.6577 | 0.7796 | 0.7999 | 0.7796 | 0.7806 |
85
+ | 0.0618 | 0.6667 | 200 | 0.5559 | 0.8462 | 0.8841 | 0.8462 | 0.8469 |
86
+ | 0.0682 | 1.0 | 300 | 0.5754 | 0.8608 | 0.8893 | 0.8608 | 0.8625 |
87
+
88
+
89
+ ### Framework versions
90
+
91
+ - Transformers 4.48.2
92
+ - Pytorch 2.6.0+cu126
93
+ - Datasets 3.2.0
94
+ - Tokenizers 0.21.0
all_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_accuracy": 0.84625,
4
+ "eval_f1": 0.8469228019366851,
5
+ "eval_loss": 0.5559307932853699,
6
+ "eval_precision": 0.884106022518103,
7
+ "eval_recall": 0.84625,
8
+ "eval_runtime": 19.265,
9
+ "eval_samples_per_second": 124.578,
10
+ "eval_steps_per_second": 15.572,
11
+ "total_flos": 7.43949770489856e+17,
12
+ "train_loss": 0.28470630645751954,
13
+ "train_runtime": 153.6917,
14
+ "train_samples_per_second": 62.463,
15
+ "train_steps_per_second": 1.952
16
+ }
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "MIX-Subtype_IVa",
13
+ "1": "MIX-Subtype_IVa2",
14
+ "2": "MIX-Subtype_IVc",
15
+ "3": "MIX-Subtype_IVd",
16
+ "4": "MIX-Subtype_Ia",
17
+ "5": "MIX-Subtype_Va"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "MIX-Subtype_IVa": "0",
24
+ "MIX-Subtype_IVa2": "1",
25
+ "MIX-Subtype_IVc": "2",
26
+ "MIX-Subtype_IVd": "3",
27
+ "MIX-Subtype_Ia": "4",
28
+ "MIX-Subtype_Va": "5"
29
+ },
30
+ "layer_norm_eps": 1e-12,
31
+ "model_type": "vit",
32
+ "num_attention_heads": 12,
33
+ "num_channels": 3,
34
+ "num_hidden_layers": 12,
35
+ "patch_size": 16,
36
+ "problem_type": "single_label_classification",
37
+ "qkv_bias": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.48.2"
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f0ba34ce82d72cb125e8b9fd6d3041974bce3b1c13e67ad619108aa1d6d8269
3
+ size 343236280
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "ViTFeatureExtractor",
12
+ "image_std": [
13
+ 0.5,
14
+ 0.5,
15
+ 0.5
16
+ ],
17
+ "resample": 2,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "height": 224,
21
+ "width": 224
22
+ }
23
+ }
test_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "eval_accuracy": 0.84625,
4
+ "eval_f1": 0.8469228019366851,
5
+ "eval_loss": 0.5559307932853699,
6
+ "eval_precision": 0.884106022518103,
7
+ "eval_recall": 0.84625,
8
+ "eval_runtime": 19.265,
9
+ "eval_samples_per_second": 124.578,
10
+ "eval_steps_per_second": 15.572
11
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "total_flos": 7.43949770489856e+17,
4
+ "train_loss": 0.28470630645751954,
5
+ "train_runtime": 153.6917,
6
+ "train_samples_per_second": 62.463,
7
+ "train_steps_per_second": 1.952
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,498 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5559307932853699,
3
+ "best_model_checkpoint": "vit-finetune-kidney-stone-Michel_Daudon_-w256_1k_v1-_MIX-pretrain\\checkpoint-200",
4
+ "epoch": 1.0,
5
+ "eval_steps": 100,
6
+ "global_step": 300,
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.016666666666666666,
13
+ "grad_norm": 1.4179848432540894,
14
+ "learning_rate": 0.00019666666666666666,
15
+ "loss": 1.714,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.03333333333333333,
20
+ "grad_norm": 1.9304280281066895,
21
+ "learning_rate": 0.00019333333333333333,
22
+ "loss": 1.4884,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.05,
27
+ "grad_norm": 2.225105047225952,
28
+ "learning_rate": 0.00019,
29
+ "loss": 1.2053,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.06666666666666667,
34
+ "grad_norm": 2.4343421459198,
35
+ "learning_rate": 0.0001866666666666667,
36
+ "loss": 1.0324,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.08333333333333333,
41
+ "grad_norm": 2.346322536468506,
42
+ "learning_rate": 0.00018333333333333334,
43
+ "loss": 0.808,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.1,
48
+ "grad_norm": 2.257009506225586,
49
+ "learning_rate": 0.00018,
50
+ "loss": 0.8625,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.11666666666666667,
55
+ "grad_norm": 2.1560170650482178,
56
+ "learning_rate": 0.00017666666666666666,
57
+ "loss": 0.6244,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.13333333333333333,
62
+ "grad_norm": 2.3126962184906006,
63
+ "learning_rate": 0.00017333333333333334,
64
+ "loss": 0.5893,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.15,
69
+ "grad_norm": 1.8004573583602905,
70
+ "learning_rate": 0.00017,
71
+ "loss": 0.4622,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.16666666666666666,
76
+ "grad_norm": 2.819410562515259,
77
+ "learning_rate": 0.0001666666666666667,
78
+ "loss": 0.4573,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.18333333333333332,
83
+ "grad_norm": 2.2983713150024414,
84
+ "learning_rate": 0.00016333333333333334,
85
+ "loss": 0.4021,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.2,
90
+ "grad_norm": 2.6218581199645996,
91
+ "learning_rate": 0.00016,
92
+ "loss": 0.3694,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.21666666666666667,
97
+ "grad_norm": 2.648026704788208,
98
+ "learning_rate": 0.00015666666666666666,
99
+ "loss": 0.2777,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.23333333333333334,
104
+ "grad_norm": 2.6357874870300293,
105
+ "learning_rate": 0.00015333333333333334,
106
+ "loss": 0.2628,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.25,
111
+ "grad_norm": 3.158283233642578,
112
+ "learning_rate": 0.00015000000000000001,
113
+ "loss": 0.3337,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.26666666666666666,
118
+ "grad_norm": 5.21614933013916,
119
+ "learning_rate": 0.00014666666666666666,
120
+ "loss": 0.3956,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.2833333333333333,
125
+ "grad_norm": 2.671994924545288,
126
+ "learning_rate": 0.00014333333333333334,
127
+ "loss": 0.37,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.3,
132
+ "grad_norm": 2.011404514312744,
133
+ "learning_rate": 0.00014,
134
+ "loss": 0.2296,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.31666666666666665,
139
+ "grad_norm": 1.9885761737823486,
140
+ "learning_rate": 0.00013666666666666666,
141
+ "loss": 0.2728,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.3333333333333333,
146
+ "grad_norm": 1.5279067754745483,
147
+ "learning_rate": 0.00013333333333333334,
148
+ "loss": 0.2482,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 0.3333333333333333,
153
+ "eval_accuracy": 0.7795833333333333,
154
+ "eval_f1": 0.7806179277793751,
155
+ "eval_loss": 0.6576546430587769,
156
+ "eval_precision": 0.7999354429920874,
157
+ "eval_recall": 0.7795833333333333,
158
+ "eval_runtime": 19.7967,
159
+ "eval_samples_per_second": 121.232,
160
+ "eval_steps_per_second": 15.154,
161
+ "step": 100
162
+ },
163
+ {
164
+ "epoch": 0.35,
165
+ "grad_norm": 2.1997885704040527,
166
+ "learning_rate": 0.00013000000000000002,
167
+ "loss": 0.4241,
168
+ "step": 105
169
+ },
170
+ {
171
+ "epoch": 0.36666666666666664,
172
+ "grad_norm": 3.4247164726257324,
173
+ "learning_rate": 0.00012666666666666666,
174
+ "loss": 0.187,
175
+ "step": 110
176
+ },
177
+ {
178
+ "epoch": 0.38333333333333336,
179
+ "grad_norm": 2.9750123023986816,
180
+ "learning_rate": 0.00012333333333333334,
181
+ "loss": 0.3264,
182
+ "step": 115
183
+ },
184
+ {
185
+ "epoch": 0.4,
186
+ "grad_norm": 2.9790356159210205,
187
+ "learning_rate": 0.00012,
188
+ "loss": 0.1827,
189
+ "step": 120
190
+ },
191
+ {
192
+ "epoch": 0.4166666666666667,
193
+ "grad_norm": 1.8905974626541138,
194
+ "learning_rate": 0.00011666666666666668,
195
+ "loss": 0.165,
196
+ "step": 125
197
+ },
198
+ {
199
+ "epoch": 0.43333333333333335,
200
+ "grad_norm": 4.040646076202393,
201
+ "learning_rate": 0.00011333333333333334,
202
+ "loss": 0.2466,
203
+ "step": 130
204
+ },
205
+ {
206
+ "epoch": 0.45,
207
+ "grad_norm": 0.6521934866905212,
208
+ "learning_rate": 0.00011000000000000002,
209
+ "loss": 0.2282,
210
+ "step": 135
211
+ },
212
+ {
213
+ "epoch": 0.4666666666666667,
214
+ "grad_norm": 2.284358263015747,
215
+ "learning_rate": 0.00010666666666666667,
216
+ "loss": 0.1581,
217
+ "step": 140
218
+ },
219
+ {
220
+ "epoch": 0.48333333333333334,
221
+ "grad_norm": 0.49103227257728577,
222
+ "learning_rate": 0.00010333333333333334,
223
+ "loss": 0.1934,
224
+ "step": 145
225
+ },
226
+ {
227
+ "epoch": 0.5,
228
+ "grad_norm": 1.3040047883987427,
229
+ "learning_rate": 0.0001,
230
+ "loss": 0.1119,
231
+ "step": 150
232
+ },
233
+ {
234
+ "epoch": 0.5166666666666667,
235
+ "grad_norm": 1.6007143259048462,
236
+ "learning_rate": 9.666666666666667e-05,
237
+ "loss": 0.0865,
238
+ "step": 155
239
+ },
240
+ {
241
+ "epoch": 0.5333333333333333,
242
+ "grad_norm": 0.6166821122169495,
243
+ "learning_rate": 9.333333333333334e-05,
244
+ "loss": 0.1555,
245
+ "step": 160
246
+ },
247
+ {
248
+ "epoch": 0.55,
249
+ "grad_norm": 2.3195834159851074,
250
+ "learning_rate": 9e-05,
251
+ "loss": 0.1275,
252
+ "step": 165
253
+ },
254
+ {
255
+ "epoch": 0.5666666666666667,
256
+ "grad_norm": 0.710364043712616,
257
+ "learning_rate": 8.666666666666667e-05,
258
+ "loss": 0.088,
259
+ "step": 170
260
+ },
261
+ {
262
+ "epoch": 0.5833333333333334,
263
+ "grad_norm": 1.3730980157852173,
264
+ "learning_rate": 8.333333333333334e-05,
265
+ "loss": 0.0854,
266
+ "step": 175
267
+ },
268
+ {
269
+ "epoch": 0.6,
270
+ "grad_norm": 0.7241602540016174,
271
+ "learning_rate": 8e-05,
272
+ "loss": 0.1393,
273
+ "step": 180
274
+ },
275
+ {
276
+ "epoch": 0.6166666666666667,
277
+ "grad_norm": 3.2363064289093018,
278
+ "learning_rate": 7.666666666666667e-05,
279
+ "loss": 0.1338,
280
+ "step": 185
281
+ },
282
+ {
283
+ "epoch": 0.6333333333333333,
284
+ "grad_norm": 1.0160473585128784,
285
+ "learning_rate": 7.333333333333333e-05,
286
+ "loss": 0.0984,
287
+ "step": 190
288
+ },
289
+ {
290
+ "epoch": 0.65,
291
+ "grad_norm": 0.2477673441171646,
292
+ "learning_rate": 7e-05,
293
+ "loss": 0.0561,
294
+ "step": 195
295
+ },
296
+ {
297
+ "epoch": 0.6666666666666666,
298
+ "grad_norm": 0.2991069555282593,
299
+ "learning_rate": 6.666666666666667e-05,
300
+ "loss": 0.0618,
301
+ "step": 200
302
+ },
303
+ {
304
+ "epoch": 0.6666666666666666,
305
+ "eval_accuracy": 0.84625,
306
+ "eval_f1": 0.8469228019366851,
307
+ "eval_loss": 0.5559307932853699,
308
+ "eval_precision": 0.884106022518103,
309
+ "eval_recall": 0.84625,
310
+ "eval_runtime": 20.5047,
311
+ "eval_samples_per_second": 117.046,
312
+ "eval_steps_per_second": 14.631,
313
+ "step": 200
314
+ },
315
+ {
316
+ "epoch": 0.6833333333333333,
317
+ "grad_norm": 0.15350663661956787,
318
+ "learning_rate": 6.333333333333333e-05,
319
+ "loss": 0.0543,
320
+ "step": 205
321
+ },
322
+ {
323
+ "epoch": 0.7,
324
+ "grad_norm": 1.7129825353622437,
325
+ "learning_rate": 6e-05,
326
+ "loss": 0.0677,
327
+ "step": 210
328
+ },
329
+ {
330
+ "epoch": 0.7166666666666667,
331
+ "grad_norm": 2.104109525680542,
332
+ "learning_rate": 5.666666666666667e-05,
333
+ "loss": 0.0893,
334
+ "step": 215
335
+ },
336
+ {
337
+ "epoch": 0.7333333333333333,
338
+ "grad_norm": 5.767698764801025,
339
+ "learning_rate": 5.333333333333333e-05,
340
+ "loss": 0.1437,
341
+ "step": 220
342
+ },
343
+ {
344
+ "epoch": 0.75,
345
+ "grad_norm": 3.647834062576294,
346
+ "learning_rate": 5e-05,
347
+ "loss": 0.1503,
348
+ "step": 225
349
+ },
350
+ {
351
+ "epoch": 0.7666666666666667,
352
+ "grad_norm": 0.184550940990448,
353
+ "learning_rate": 4.666666666666667e-05,
354
+ "loss": 0.0744,
355
+ "step": 230
356
+ },
357
+ {
358
+ "epoch": 0.7833333333333333,
359
+ "grad_norm": 1.2284187078475952,
360
+ "learning_rate": 4.3333333333333334e-05,
361
+ "loss": 0.072,
362
+ "step": 235
363
+ },
364
+ {
365
+ "epoch": 0.8,
366
+ "grad_norm": 5.161174297332764,
367
+ "learning_rate": 4e-05,
368
+ "loss": 0.1732,
369
+ "step": 240
370
+ },
371
+ {
372
+ "epoch": 0.8166666666666667,
373
+ "grad_norm": 0.4599807560443878,
374
+ "learning_rate": 3.6666666666666666e-05,
375
+ "loss": 0.0408,
376
+ "step": 245
377
+ },
378
+ {
379
+ "epoch": 0.8333333333333334,
380
+ "grad_norm": 0.9615724682807922,
381
+ "learning_rate": 3.3333333333333335e-05,
382
+ "loss": 0.0557,
383
+ "step": 250
384
+ },
385
+ {
386
+ "epoch": 0.85,
387
+ "grad_norm": 0.1104474663734436,
388
+ "learning_rate": 3e-05,
389
+ "loss": 0.064,
390
+ "step": 255
391
+ },
392
+ {
393
+ "epoch": 0.8666666666666667,
394
+ "grad_norm": 0.5136594772338867,
395
+ "learning_rate": 2.6666666666666667e-05,
396
+ "loss": 0.0332,
397
+ "step": 260
398
+ },
399
+ {
400
+ "epoch": 0.8833333333333333,
401
+ "grad_norm": 0.2807674705982208,
402
+ "learning_rate": 2.3333333333333336e-05,
403
+ "loss": 0.0511,
404
+ "step": 265
405
+ },
406
+ {
407
+ "epoch": 0.9,
408
+ "grad_norm": 0.11207906901836395,
409
+ "learning_rate": 2e-05,
410
+ "loss": 0.0321,
411
+ "step": 270
412
+ },
413
+ {
414
+ "epoch": 0.9166666666666666,
415
+ "grad_norm": 1.635079264640808,
416
+ "learning_rate": 1.6666666666666667e-05,
417
+ "loss": 0.0359,
418
+ "step": 275
419
+ },
420
+ {
421
+ "epoch": 0.9333333333333333,
422
+ "grad_norm": 3.3569858074188232,
423
+ "learning_rate": 1.3333333333333333e-05,
424
+ "loss": 0.0801,
425
+ "step": 280
426
+ },
427
+ {
428
+ "epoch": 0.95,
429
+ "grad_norm": 0.09712553024291992,
430
+ "learning_rate": 1e-05,
431
+ "loss": 0.0307,
432
+ "step": 285
433
+ },
434
+ {
435
+ "epoch": 0.9666666666666667,
436
+ "grad_norm": 1.7963075637817383,
437
+ "learning_rate": 6.666666666666667e-06,
438
+ "loss": 0.0354,
439
+ "step": 290
440
+ },
441
+ {
442
+ "epoch": 0.9833333333333333,
443
+ "grad_norm": 0.11726801097393036,
444
+ "learning_rate": 3.3333333333333333e-06,
445
+ "loss": 0.0687,
446
+ "step": 295
447
+ },
448
+ {
449
+ "epoch": 1.0,
450
+ "grad_norm": 0.5698795318603516,
451
+ "learning_rate": 0.0,
452
+ "loss": 0.0682,
453
+ "step": 300
454
+ },
455
+ {
456
+ "epoch": 1.0,
457
+ "eval_accuracy": 0.8608333333333333,
458
+ "eval_f1": 0.8625159015933601,
459
+ "eval_loss": 0.5754431486129761,
460
+ "eval_precision": 0.889319369142825,
461
+ "eval_recall": 0.8608333333333333,
462
+ "eval_runtime": 19.3194,
463
+ "eval_samples_per_second": 124.228,
464
+ "eval_steps_per_second": 15.528,
465
+ "step": 300
466
+ },
467
+ {
468
+ "epoch": 1.0,
469
+ "step": 300,
470
+ "total_flos": 7.43949770489856e+17,
471
+ "train_loss": 0.28470630645751954,
472
+ "train_runtime": 153.6917,
473
+ "train_samples_per_second": 62.463,
474
+ "train_steps_per_second": 1.952
475
+ }
476
+ ],
477
+ "logging_steps": 5,
478
+ "max_steps": 300,
479
+ "num_input_tokens_seen": 0,
480
+ "num_train_epochs": 1,
481
+ "save_steps": 100,
482
+ "stateful_callbacks": {
483
+ "TrainerControl": {
484
+ "args": {
485
+ "should_epoch_stop": false,
486
+ "should_evaluate": false,
487
+ "should_log": false,
488
+ "should_save": true,
489
+ "should_training_stop": true
490
+ },
491
+ "attributes": {}
492
+ }
493
+ },
494
+ "total_flos": 7.43949770489856e+17,
495
+ "train_batch_size": 32,
496
+ "trial_name": null,
497
+ "trial_params": null
498
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5c0a15ad866eb039d9f18f5a22a9046f238bfdb3810ed1594e8af2a12136532
3
+ size 5432