abhijitgayen commited on
Commit
a1a6284
1 Parent(s): 9e917ca

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - image-classification
6
+ - generated_from_trainer
7
+ metrics:
8
+ - accuracy
9
+ model-index:
10
+ - name: vit-base-beans-demo-v5
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # vit-base-beans-demo-v5
18
+
19
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k).
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.0816
22
+ - Accuracy: 0.9819
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 0.0002
42
+ - train_batch_size: 16
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
46
+ - lr_scheduler_type: linear
47
+ - num_epochs: 4
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | 0.5092 | 0.28 | 100 | 0.6420 | 0.7681 |
54
+ | 0.5076 | 0.56 | 200 | 0.4069 | 0.8722 |
55
+ | 0.3291 | 0.83 | 300 | 0.4342 | 0.8569 |
56
+ | 0.108 | 1.11 | 400 | 0.2410 | 0.9292 |
57
+ | 0.0378 | 1.39 | 500 | 0.3107 | 0.9139 |
58
+ | 0.1488 | 1.67 | 600 | 0.1984 | 0.9389 |
59
+ | 0.0532 | 1.94 | 700 | 0.1714 | 0.9514 |
60
+ | 0.0122 | 2.22 | 800 | 0.1334 | 0.9611 |
61
+ | 0.0529 | 2.5 | 900 | 0.1139 | 0.9653 |
62
+ | 0.0221 | 2.78 | 1000 | 0.0875 | 0.9736 |
63
+ | 0.0052 | 3.06 | 1100 | 0.0816 | 0.9819 |
64
+ | 0.0045 | 3.33 | 1200 | 0.0873 | 0.9792 |
65
+ | 0.0113 | 3.61 | 1300 | 0.0882 | 0.9833 |
66
+ | 0.0043 | 3.89 | 1400 | 0.0865 | 0.9806 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.35.2
72
+ - Pytorch 2.1.0+cu118
73
+ - Datasets 2.15.0
74
+ - Tokenizers 0.15.0
all_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ <<<<<<< HEAD
4
+ "total_flos": 6.311528820941783e+18,
5
+ "train_loss": 0.2221095090903772,
6
+ "train_runtime": 4823.2045,
7
+ "train_samples_per_second": 4.777,
8
+ "train_steps_per_second": 0.299
9
+ =======
10
+ "total_flos": 1.7854794491756544e+18,
11
+ "train_loss": 0.18370533613229378,
12
+ "train_runtime": 2041.1421,
13
+ "train_samples_per_second": 11.288,
14
+ "train_steps_per_second": 0.705
15
+ >>>>>>> parent of c5d9224 (Upload folder using huggingface_hub)
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": "crack",
13
+ "1": "scratch",
14
+ "2": "tire flat",
15
+ "3": "dent",
16
+ "4": "glass shatter",
17
+ "5": "lamp broken"
18
+ },
19
+ "image_size": 224,
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "crack": "0",
24
+ "dent": "3",
25
+ "glass shatter": "4",
26
+ "lamp broken": "5",
27
+ "scratch": "1",
28
+ "tire flat": "2"
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.35.2"
40
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4252d3637df68b30ca44504a816992750218c3b023eaf0579e48d7e360a50110
3
+ size 343236280
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTFeatureExtractor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "total_flos": 1.7854794491756544e+18,
4
+ "train_loss": 0.18370533613229378,
5
+ "train_runtime": 2041.1421,
6
+ "train_samples_per_second": 11.288,
7
+ "train_steps_per_second": 0.705
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,1043 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.08164331316947937,
3
+ "best_model_checkpoint": "./vit-base-beans-demo-v5/checkpoint-1100",
4
+ "epoch": 4.0,
5
+ "eval_steps": 100,
6
+ "global_step": 1440,
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.03,
13
+ "learning_rate": 0.00019861111111111113,
14
+ "loss": 1.5566,
15
+ "step": 10
16
+ },
17
+ {
18
+ "epoch": 0.06,
19
+ "learning_rate": 0.00019722222222222225,
20
+ "loss": 1.262,
21
+ "step": 20
22
+ },
23
+ {
24
+ "epoch": 0.08,
25
+ "learning_rate": 0.00019583333333333334,
26
+ "loss": 1.091,
27
+ "step": 30
28
+ },
29
+ {
30
+ "epoch": 0.11,
31
+ "learning_rate": 0.00019444444444444446,
32
+ "loss": 0.7922,
33
+ "step": 40
34
+ },
35
+ {
36
+ "epoch": 0.14,
37
+ "learning_rate": 0.00019305555555555558,
38
+ "loss": 0.8375,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.17,
43
+ "learning_rate": 0.00019166666666666667,
44
+ "loss": 0.7567,
45
+ "step": 60
46
+ },
47
+ {
48
+ "epoch": 0.19,
49
+ "learning_rate": 0.00019027777777777776,
50
+ "loss": 0.6015,
51
+ "step": 70
52
+ },
53
+ {
54
+ "epoch": 0.22,
55
+ "learning_rate": 0.00018888888888888888,
56
+ "loss": 0.7216,
57
+ "step": 80
58
+ },
59
+ {
60
+ "epoch": 0.25,
61
+ "learning_rate": 0.0001875,
62
+ "loss": 0.6877,
63
+ "step": 90
64
+ },
65
+ {
66
+ "epoch": 0.28,
67
+ "learning_rate": 0.00018611111111111112,
68
+ "loss": 0.5092,
69
+ "step": 100
70
+ },
71
+ {
72
+ "epoch": 0.28,
73
+ "eval_accuracy": 0.7680555555555556,
74
+ "eval_loss": 0.6419699788093567,
75
+ "eval_runtime": 22.1712,
76
+ "eval_samples_per_second": 32.475,
77
+ "eval_steps_per_second": 4.059,
78
+ "step": 100
79
+ },
80
+ {
81
+ "epoch": 0.31,
82
+ "learning_rate": 0.00018472222222222224,
83
+ "loss": 0.4847,
84
+ "step": 110
85
+ },
86
+ {
87
+ "epoch": 0.33,
88
+ "learning_rate": 0.00018333333333333334,
89
+ "loss": 0.6076,
90
+ "step": 120
91
+ },
92
+ {
93
+ "epoch": 0.36,
94
+ "learning_rate": 0.00018194444444444445,
95
+ "loss": 0.5853,
96
+ "step": 130
97
+ },
98
+ {
99
+ "epoch": 0.39,
100
+ "learning_rate": 0.00018055555555555557,
101
+ "loss": 0.5133,
102
+ "step": 140
103
+ },
104
+ {
105
+ "epoch": 0.42,
106
+ "learning_rate": 0.0001791666666666667,
107
+ "loss": 0.4949,
108
+ "step": 150
109
+ },
110
+ {
111
+ "epoch": 0.44,
112
+ "learning_rate": 0.00017777777777777779,
113
+ "loss": 0.5219,
114
+ "step": 160
115
+ },
116
+ {
117
+ "epoch": 0.47,
118
+ "learning_rate": 0.0001763888888888889,
119
+ "loss": 0.4862,
120
+ "step": 170
121
+ },
122
+ {
123
+ "epoch": 0.5,
124
+ "learning_rate": 0.000175,
125
+ "loss": 0.5873,
126
+ "step": 180
127
+ },
128
+ {
129
+ "epoch": 0.53,
130
+ "learning_rate": 0.00017361111111111112,
131
+ "loss": 0.4319,
132
+ "step": 190
133
+ },
134
+ {
135
+ "epoch": 0.56,
136
+ "learning_rate": 0.00017222222222222224,
137
+ "loss": 0.5076,
138
+ "step": 200
139
+ },
140
+ {
141
+ "epoch": 0.56,
142
+ "eval_accuracy": 0.8722222222222222,
143
+ "eval_loss": 0.4068766236305237,
144
+ "eval_runtime": 22.7196,
145
+ "eval_samples_per_second": 31.691,
146
+ "eval_steps_per_second": 3.961,
147
+ "step": 200
148
+ },
149
+ {
150
+ "epoch": 0.58,
151
+ "learning_rate": 0.00017083333333333333,
152
+ "loss": 0.4323,
153
+ "step": 210
154
+ },
155
+ {
156
+ "epoch": 0.61,
157
+ "learning_rate": 0.00016944444444444445,
158
+ "loss": 0.361,
159
+ "step": 220
160
+ },
161
+ {
162
+ "epoch": 0.64,
163
+ "learning_rate": 0.00016805555555555557,
164
+ "loss": 0.4156,
165
+ "step": 230
166
+ },
167
+ {
168
+ "epoch": 0.67,
169
+ "learning_rate": 0.0001666666666666667,
170
+ "loss": 0.4297,
171
+ "step": 240
172
+ },
173
+ {
174
+ "epoch": 0.69,
175
+ "learning_rate": 0.00016527777777777778,
176
+ "loss": 0.6522,
177
+ "step": 250
178
+ },
179
+ {
180
+ "epoch": 0.72,
181
+ "learning_rate": 0.0001638888888888889,
182
+ "loss": 0.4157,
183
+ "step": 260
184
+ },
185
+ {
186
+ "epoch": 0.75,
187
+ "learning_rate": 0.00016250000000000002,
188
+ "loss": 0.3354,
189
+ "step": 270
190
+ },
191
+ {
192
+ "epoch": 0.78,
193
+ "learning_rate": 0.0001611111111111111,
194
+ "loss": 0.3883,
195
+ "step": 280
196
+ },
197
+ {
198
+ "epoch": 0.81,
199
+ "learning_rate": 0.00015972222222222223,
200
+ "loss": 0.4386,
201
+ "step": 290
202
+ },
203
+ {
204
+ "epoch": 0.83,
205
+ "learning_rate": 0.00015833333333333332,
206
+ "loss": 0.3291,
207
+ "step": 300
208
+ },
209
+ {
210
+ "epoch": 0.83,
211
+ "eval_accuracy": 0.8569444444444444,
212
+ "eval_loss": 0.4342160224914551,
213
+ "eval_runtime": 21.9024,
214
+ "eval_samples_per_second": 32.873,
215
+ "eval_steps_per_second": 4.109,
216
+ "step": 300
217
+ },
218
+ {
219
+ "epoch": 0.86,
220
+ "learning_rate": 0.00015694444444444444,
221
+ "loss": 0.4767,
222
+ "step": 310
223
+ },
224
+ {
225
+ "epoch": 0.89,
226
+ "learning_rate": 0.00015555555555555556,
227
+ "loss": 0.3492,
228
+ "step": 320
229
+ },
230
+ {
231
+ "epoch": 0.92,
232
+ "learning_rate": 0.00015416666666666668,
233
+ "loss": 0.4947,
234
+ "step": 330
235
+ },
236
+ {
237
+ "epoch": 0.94,
238
+ "learning_rate": 0.00015277777777777777,
239
+ "loss": 0.4482,
240
+ "step": 340
241
+ },
242
+ {
243
+ "epoch": 0.97,
244
+ "learning_rate": 0.0001513888888888889,
245
+ "loss": 0.3367,
246
+ "step": 350
247
+ },
248
+ {
249
+ "epoch": 1.0,
250
+ "learning_rate": 0.00015000000000000001,
251
+ "loss": 0.2316,
252
+ "step": 360
253
+ },
254
+ {
255
+ "epoch": 1.03,
256
+ "learning_rate": 0.00014861111111111113,
257
+ "loss": 0.2207,
258
+ "step": 370
259
+ },
260
+ {
261
+ "epoch": 1.06,
262
+ "learning_rate": 0.00014722222222222223,
263
+ "loss": 0.1652,
264
+ "step": 380
265
+ },
266
+ {
267
+ "epoch": 1.08,
268
+ "learning_rate": 0.00014583333333333335,
269
+ "loss": 0.2019,
270
+ "step": 390
271
+ },
272
+ {
273
+ "epoch": 1.11,
274
+ "learning_rate": 0.00014444444444444444,
275
+ "loss": 0.108,
276
+ "step": 400
277
+ },
278
+ {
279
+ "epoch": 1.11,
280
+ "eval_accuracy": 0.9291666666666667,
281
+ "eval_loss": 0.24096721410751343,
282
+ "eval_runtime": 21.4632,
283
+ "eval_samples_per_second": 33.546,
284
+ "eval_steps_per_second": 4.193,
285
+ "step": 400
286
+ },
287
+ {
288
+ "epoch": 1.14,
289
+ "learning_rate": 0.00014305555555555556,
290
+ "loss": 0.1746,
291
+ "step": 410
292
+ },
293
+ {
294
+ "epoch": 1.17,
295
+ "learning_rate": 0.00014166666666666668,
296
+ "loss": 0.0908,
297
+ "step": 420
298
+ },
299
+ {
300
+ "epoch": 1.19,
301
+ "learning_rate": 0.00014027777777777777,
302
+ "loss": 0.0816,
303
+ "step": 430
304
+ },
305
+ {
306
+ "epoch": 1.22,
307
+ "learning_rate": 0.0001388888888888889,
308
+ "loss": 0.1607,
309
+ "step": 440
310
+ },
311
+ {
312
+ "epoch": 1.25,
313
+ "learning_rate": 0.0001375,
314
+ "loss": 0.0993,
315
+ "step": 450
316
+ },
317
+ {
318
+ "epoch": 1.28,
319
+ "learning_rate": 0.00013611111111111113,
320
+ "loss": 0.1251,
321
+ "step": 460
322
+ },
323
+ {
324
+ "epoch": 1.31,
325
+ "learning_rate": 0.00013472222222222225,
326
+ "loss": 0.1353,
327
+ "step": 470
328
+ },
329
+ {
330
+ "epoch": 1.33,
331
+ "learning_rate": 0.00013333333333333334,
332
+ "loss": 0.0739,
333
+ "step": 480
334
+ },
335
+ {
336
+ "epoch": 1.36,
337
+ "learning_rate": 0.00013194444444444446,
338
+ "loss": 0.06,
339
+ "step": 490
340
+ },
341
+ {
342
+ "epoch": 1.39,
343
+ "learning_rate": 0.00013055555555555555,
344
+ "loss": 0.0378,
345
+ "step": 500
346
+ },
347
+ {
348
+ "epoch": 1.39,
349
+ "eval_accuracy": 0.9138888888888889,
350
+ "eval_loss": 0.31065165996551514,
351
+ "eval_runtime": 21.6753,
352
+ "eval_samples_per_second": 33.217,
353
+ "eval_steps_per_second": 4.152,
354
+ "step": 500
355
+ },
356
+ {
357
+ "epoch": 1.42,
358
+ "learning_rate": 0.00012916666666666667,
359
+ "loss": 0.0966,
360
+ "step": 510
361
+ },
362
+ {
363
+ "epoch": 1.44,
364
+ "learning_rate": 0.00012777777777777776,
365
+ "loss": 0.0644,
366
+ "step": 520
367
+ },
368
+ {
369
+ "epoch": 1.47,
370
+ "learning_rate": 0.00012638888888888888,
371
+ "loss": 0.0791,
372
+ "step": 530
373
+ },
374
+ {
375
+ "epoch": 1.5,
376
+ "learning_rate": 0.000125,
377
+ "loss": 0.1598,
378
+ "step": 540
379
+ },
380
+ {
381
+ "epoch": 1.53,
382
+ "learning_rate": 0.00012361111111111112,
383
+ "loss": 0.1561,
384
+ "step": 550
385
+ },
386
+ {
387
+ "epoch": 1.56,
388
+ "learning_rate": 0.00012222222222222224,
389
+ "loss": 0.1597,
390
+ "step": 560
391
+ },
392
+ {
393
+ "epoch": 1.58,
394
+ "learning_rate": 0.00012083333333333333,
395
+ "loss": 0.2064,
396
+ "step": 570
397
+ },
398
+ {
399
+ "epoch": 1.61,
400
+ "learning_rate": 0.00011944444444444445,
401
+ "loss": 0.1435,
402
+ "step": 580
403
+ },
404
+ {
405
+ "epoch": 1.64,
406
+ "learning_rate": 0.00011805555555555556,
407
+ "loss": 0.0582,
408
+ "step": 590
409
+ },
410
+ {
411
+ "epoch": 1.67,
412
+ "learning_rate": 0.00011666666666666668,
413
+ "loss": 0.1488,
414
+ "step": 600
415
+ },
416
+ {
417
+ "epoch": 1.67,
418
+ "eval_accuracy": 0.9388888888888889,
419
+ "eval_loss": 0.19844678044319153,
420
+ "eval_runtime": 21.7891,
421
+ "eval_samples_per_second": 33.044,
422
+ "eval_steps_per_second": 4.131,
423
+ "step": 600
424
+ },
425
+ {
426
+ "epoch": 1.69,
427
+ "learning_rate": 0.00011527777777777777,
428
+ "loss": 0.1309,
429
+ "step": 610
430
+ },
431
+ {
432
+ "epoch": 1.72,
433
+ "learning_rate": 0.00011388888888888889,
434
+ "loss": 0.097,
435
+ "step": 620
436
+ },
437
+ {
438
+ "epoch": 1.75,
439
+ "learning_rate": 0.00011250000000000001,
440
+ "loss": 0.1493,
441
+ "step": 630
442
+ },
443
+ {
444
+ "epoch": 1.78,
445
+ "learning_rate": 0.00011111111111111112,
446
+ "loss": 0.1808,
447
+ "step": 640
448
+ },
449
+ {
450
+ "epoch": 1.81,
451
+ "learning_rate": 0.00010972222222222224,
452
+ "loss": 0.1028,
453
+ "step": 650
454
+ },
455
+ {
456
+ "epoch": 1.83,
457
+ "learning_rate": 0.00010833333333333333,
458
+ "loss": 0.096,
459
+ "step": 660
460
+ },
461
+ {
462
+ "epoch": 1.86,
463
+ "learning_rate": 0.00010694444444444445,
464
+ "loss": 0.0943,
465
+ "step": 670
466
+ },
467
+ {
468
+ "epoch": 1.89,
469
+ "learning_rate": 0.00010555555555555557,
470
+ "loss": 0.116,
471
+ "step": 680
472
+ },
473
+ {
474
+ "epoch": 1.92,
475
+ "learning_rate": 0.00010416666666666667,
476
+ "loss": 0.1912,
477
+ "step": 690
478
+ },
479
+ {
480
+ "epoch": 1.94,
481
+ "learning_rate": 0.00010277777777777778,
482
+ "loss": 0.0532,
483
+ "step": 700
484
+ },
485
+ {
486
+ "epoch": 1.94,
487
+ "eval_accuracy": 0.9513888888888888,
488
+ "eval_loss": 0.17138923704624176,
489
+ "eval_runtime": 23.0226,
490
+ "eval_samples_per_second": 31.274,
491
+ "eval_steps_per_second": 3.909,
492
+ "step": 700
493
+ },
494
+ {
495
+ "epoch": 1.97,
496
+ "learning_rate": 0.00010138888888888889,
497
+ "loss": 0.08,
498
+ "step": 710
499
+ },
500
+ {
501
+ "epoch": 2.0,
502
+ "learning_rate": 0.0001,
503
+ "loss": 0.0874,
504
+ "step": 720
505
+ },
506
+ {
507
+ "epoch": 2.03,
508
+ "learning_rate": 9.861111111111112e-05,
509
+ "loss": 0.0968,
510
+ "step": 730
511
+ },
512
+ {
513
+ "epoch": 2.06,
514
+ "learning_rate": 9.722222222222223e-05,
515
+ "loss": 0.0607,
516
+ "step": 740
517
+ },
518
+ {
519
+ "epoch": 2.08,
520
+ "learning_rate": 9.583333333333334e-05,
521
+ "loss": 0.0303,
522
+ "step": 750
523
+ },
524
+ {
525
+ "epoch": 2.11,
526
+ "learning_rate": 9.444444444444444e-05,
527
+ "loss": 0.0113,
528
+ "step": 760
529
+ },
530
+ {
531
+ "epoch": 2.14,
532
+ "learning_rate": 9.305555555555556e-05,
533
+ "loss": 0.1197,
534
+ "step": 770
535
+ },
536
+ {
537
+ "epoch": 2.17,
538
+ "learning_rate": 9.166666666666667e-05,
539
+ "loss": 0.0256,
540
+ "step": 780
541
+ },
542
+ {
543
+ "epoch": 2.19,
544
+ "learning_rate": 9.027777777777779e-05,
545
+ "loss": 0.0141,
546
+ "step": 790
547
+ },
548
+ {
549
+ "epoch": 2.22,
550
+ "learning_rate": 8.888888888888889e-05,
551
+ "loss": 0.0122,
552
+ "step": 800
553
+ },
554
+ {
555
+ "epoch": 2.22,
556
+ "eval_accuracy": 0.9611111111111111,
557
+ "eval_loss": 0.1333748996257782,
558
+ "eval_runtime": 22.6484,
559
+ "eval_samples_per_second": 31.79,
560
+ "eval_steps_per_second": 3.974,
561
+ "step": 800
562
+ },
563
+ {
564
+ "epoch": 2.25,
565
+ "learning_rate": 8.75e-05,
566
+ "loss": 0.0222,
567
+ "step": 810
568
+ },
569
+ {
570
+ "epoch": 2.28,
571
+ "learning_rate": 8.611111111111112e-05,
572
+ "loss": 0.0101,
573
+ "step": 820
574
+ },
575
+ {
576
+ "epoch": 2.31,
577
+ "learning_rate": 8.472222222222222e-05,
578
+ "loss": 0.042,
579
+ "step": 830
580
+ },
581
+ {
582
+ "epoch": 2.33,
583
+ "learning_rate": 8.333333333333334e-05,
584
+ "loss": 0.0232,
585
+ "step": 840
586
+ },
587
+ {
588
+ "epoch": 2.36,
589
+ "learning_rate": 8.194444444444445e-05,
590
+ "loss": 0.1049,
591
+ "step": 850
592
+ },
593
+ {
594
+ "epoch": 2.39,
595
+ "learning_rate": 8.055555555555556e-05,
596
+ "loss": 0.0191,
597
+ "step": 860
598
+ },
599
+ {
600
+ "epoch": 2.42,
601
+ "learning_rate": 7.916666666666666e-05,
602
+ "loss": 0.0778,
603
+ "step": 870
604
+ },
605
+ {
606
+ "epoch": 2.44,
607
+ "learning_rate": 7.777777777777778e-05,
608
+ "loss": 0.0533,
609
+ "step": 880
610
+ },
611
+ {
612
+ "epoch": 2.47,
613
+ "learning_rate": 7.638888888888889e-05,
614
+ "loss": 0.0567,
615
+ "step": 890
616
+ },
617
+ {
618
+ "epoch": 2.5,
619
+ "learning_rate": 7.500000000000001e-05,
620
+ "loss": 0.0529,
621
+ "step": 900
622
+ },
623
+ {
624
+ "epoch": 2.5,
625
+ "eval_accuracy": 0.9652777777777778,
626
+ "eval_loss": 0.11391060799360275,
627
+ "eval_runtime": 21.5745,
628
+ "eval_samples_per_second": 33.373,
629
+ "eval_steps_per_second": 4.172,
630
+ "step": 900
631
+ },
632
+ {
633
+ "epoch": 2.53,
634
+ "learning_rate": 7.361111111111111e-05,
635
+ "loss": 0.0184,
636
+ "step": 910
637
+ },
638
+ {
639
+ "epoch": 2.56,
640
+ "learning_rate": 7.222222222222222e-05,
641
+ "loss": 0.0247,
642
+ "step": 920
643
+ },
644
+ {
645
+ "epoch": 2.58,
646
+ "learning_rate": 7.083333333333334e-05,
647
+ "loss": 0.0075,
648
+ "step": 930
649
+ },
650
+ {
651
+ "epoch": 2.61,
652
+ "learning_rate": 6.944444444444444e-05,
653
+ "loss": 0.0601,
654
+ "step": 940
655
+ },
656
+ {
657
+ "epoch": 2.64,
658
+ "learning_rate": 6.805555555555556e-05,
659
+ "loss": 0.0394,
660
+ "step": 950
661
+ },
662
+ {
663
+ "epoch": 2.67,
664
+ "learning_rate": 6.666666666666667e-05,
665
+ "loss": 0.0079,
666
+ "step": 960
667
+ },
668
+ {
669
+ "epoch": 2.69,
670
+ "learning_rate": 6.527777777777778e-05,
671
+ "loss": 0.0113,
672
+ "step": 970
673
+ },
674
+ {
675
+ "epoch": 2.72,
676
+ "learning_rate": 6.388888888888888e-05,
677
+ "loss": 0.0417,
678
+ "step": 980
679
+ },
680
+ {
681
+ "epoch": 2.75,
682
+ "learning_rate": 6.25e-05,
683
+ "loss": 0.0658,
684
+ "step": 990
685
+ },
686
+ {
687
+ "epoch": 2.78,
688
+ "learning_rate": 6.111111111111112e-05,
689
+ "loss": 0.0221,
690
+ "step": 1000
691
+ },
692
+ {
693
+ "epoch": 2.78,
694
+ "eval_accuracy": 0.9736111111111111,
695
+ "eval_loss": 0.08747294545173645,
696
+ "eval_runtime": 21.8071,
697
+ "eval_samples_per_second": 33.017,
698
+ "eval_steps_per_second": 4.127,
699
+ "step": 1000
700
+ },
701
+ {
702
+ "epoch": 2.81,
703
+ "learning_rate": 5.972222222222223e-05,
704
+ "loss": 0.0223,
705
+ "step": 1010
706
+ },
707
+ {
708
+ "epoch": 2.83,
709
+ "learning_rate": 5.833333333333334e-05,
710
+ "loss": 0.0361,
711
+ "step": 1020
712
+ },
713
+ {
714
+ "epoch": 2.86,
715
+ "learning_rate": 5.6944444444444445e-05,
716
+ "loss": 0.0065,
717
+ "step": 1030
718
+ },
719
+ {
720
+ "epoch": 2.89,
721
+ "learning_rate": 5.555555555555556e-05,
722
+ "loss": 0.0062,
723
+ "step": 1040
724
+ },
725
+ {
726
+ "epoch": 2.92,
727
+ "learning_rate": 5.4166666666666664e-05,
728
+ "loss": 0.0083,
729
+ "step": 1050
730
+ },
731
+ {
732
+ "epoch": 2.94,
733
+ "learning_rate": 5.2777777777777784e-05,
734
+ "loss": 0.0077,
735
+ "step": 1060
736
+ },
737
+ {
738
+ "epoch": 2.97,
739
+ "learning_rate": 5.138888888888889e-05,
740
+ "loss": 0.0123,
741
+ "step": 1070
742
+ },
743
+ {
744
+ "epoch": 3.0,
745
+ "learning_rate": 5e-05,
746
+ "loss": 0.0266,
747
+ "step": 1080
748
+ },
749
+ {
750
+ "epoch": 3.03,
751
+ "learning_rate": 4.8611111111111115e-05,
752
+ "loss": 0.0058,
753
+ "step": 1090
754
+ },
755
+ {
756
+ "epoch": 3.06,
757
+ "learning_rate": 4.722222222222222e-05,
758
+ "loss": 0.0052,
759
+ "step": 1100
760
+ },
761
+ {
762
+ "epoch": 3.06,
763
+ "eval_accuracy": 0.9819444444444444,
764
+ "eval_loss": 0.08164331316947937,
765
+ "eval_runtime": 21.3086,
766
+ "eval_samples_per_second": 33.789,
767
+ "eval_steps_per_second": 4.224,
768
+ "step": 1100
769
+ },
770
+ {
771
+ "epoch": 3.08,
772
+ "learning_rate": 4.5833333333333334e-05,
773
+ "loss": 0.0049,
774
+ "step": 1110
775
+ },
776
+ {
777
+ "epoch": 3.11,
778
+ "learning_rate": 4.4444444444444447e-05,
779
+ "loss": 0.0053,
780
+ "step": 1120
781
+ },
782
+ {
783
+ "epoch": 3.14,
784
+ "learning_rate": 4.305555555555556e-05,
785
+ "loss": 0.0295,
786
+ "step": 1130
787
+ },
788
+ {
789
+ "epoch": 3.17,
790
+ "learning_rate": 4.166666666666667e-05,
791
+ "loss": 0.0044,
792
+ "step": 1140
793
+ },
794
+ {
795
+ "epoch": 3.19,
796
+ "learning_rate": 4.027777777777778e-05,
797
+ "loss": 0.0058,
798
+ "step": 1150
799
+ },
800
+ {
801
+ "epoch": 3.22,
802
+ "learning_rate": 3.888888888888889e-05,
803
+ "loss": 0.0052,
804
+ "step": 1160
805
+ },
806
+ {
807
+ "epoch": 3.25,
808
+ "learning_rate": 3.7500000000000003e-05,
809
+ "loss": 0.0043,
810
+ "step": 1170
811
+ },
812
+ {
813
+ "epoch": 3.28,
814
+ "learning_rate": 3.611111111111111e-05,
815
+ "loss": 0.0045,
816
+ "step": 1180
817
+ },
818
+ {
819
+ "epoch": 3.31,
820
+ "learning_rate": 3.472222222222222e-05,
821
+ "loss": 0.0043,
822
+ "step": 1190
823
+ },
824
+ {
825
+ "epoch": 3.33,
826
+ "learning_rate": 3.3333333333333335e-05,
827
+ "loss": 0.0045,
828
+ "step": 1200
829
+ },
830
+ {
831
+ "epoch": 3.33,
832
+ "eval_accuracy": 0.9791666666666666,
833
+ "eval_loss": 0.08730719983577728,
834
+ "eval_runtime": 21.963,
835
+ "eval_samples_per_second": 32.782,
836
+ "eval_steps_per_second": 4.098,
837
+ "step": 1200
838
+ },
839
+ {
840
+ "epoch": 3.36,
841
+ "learning_rate": 3.194444444444444e-05,
842
+ "loss": 0.0044,
843
+ "step": 1210
844
+ },
845
+ {
846
+ "epoch": 3.39,
847
+ "learning_rate": 3.055555555555556e-05,
848
+ "loss": 0.0042,
849
+ "step": 1220
850
+ },
851
+ {
852
+ "epoch": 3.42,
853
+ "learning_rate": 2.916666666666667e-05,
854
+ "loss": 0.0392,
855
+ "step": 1230
856
+ },
857
+ {
858
+ "epoch": 3.44,
859
+ "learning_rate": 2.777777777777778e-05,
860
+ "loss": 0.0042,
861
+ "step": 1240
862
+ },
863
+ {
864
+ "epoch": 3.47,
865
+ "learning_rate": 2.6388888888888892e-05,
866
+ "loss": 0.0045,
867
+ "step": 1250
868
+ },
869
+ {
870
+ "epoch": 3.5,
871
+ "learning_rate": 2.5e-05,
872
+ "loss": 0.0043,
873
+ "step": 1260
874
+ },
875
+ {
876
+ "epoch": 3.53,
877
+ "learning_rate": 2.361111111111111e-05,
878
+ "loss": 0.0044,
879
+ "step": 1270
880
+ },
881
+ {
882
+ "epoch": 3.56,
883
+ "learning_rate": 2.2222222222222223e-05,
884
+ "loss": 0.0041,
885
+ "step": 1280
886
+ },
887
+ {
888
+ "epoch": 3.58,
889
+ "learning_rate": 2.0833333333333336e-05,
890
+ "loss": 0.0043,
891
+ "step": 1290
892
+ },
893
+ {
894
+ "epoch": 3.61,
895
+ "learning_rate": 1.9444444444444445e-05,
896
+ "loss": 0.0113,
897
+ "step": 1300
898
+ },
899
+ {
900
+ "epoch": 3.61,
901
+ "eval_accuracy": 0.9833333333333333,
902
+ "eval_loss": 0.08817147463560104,
903
+ "eval_runtime": 22.6142,
904
+ "eval_samples_per_second": 31.838,
905
+ "eval_steps_per_second": 3.98,
906
+ "step": 1300
907
+ },
908
+ {
909
+ "epoch": 3.64,
910
+ "learning_rate": 1.8055555555555555e-05,
911
+ "loss": 0.0038,
912
+ "step": 1310
913
+ },
914
+ {
915
+ "epoch": 3.67,
916
+ "learning_rate": 1.6666666666666667e-05,
917
+ "loss": 0.0041,
918
+ "step": 1320
919
+ },
920
+ {
921
+ "epoch": 3.69,
922
+ "learning_rate": 1.527777777777778e-05,
923
+ "loss": 0.0039,
924
+ "step": 1330
925
+ },
926
+ {
927
+ "epoch": 3.72,
928
+ "learning_rate": 1.388888888888889e-05,
929
+ "loss": 0.0037,
930
+ "step": 1340
931
+ },
932
+ {
933
+ "epoch": 3.75,
934
+ "learning_rate": 1.25e-05,
935
+ "loss": 0.0042,
936
+ "step": 1350
937
+ },
938
+ {
939
+ "epoch": 3.78,
940
+ "learning_rate": 1.1111111111111112e-05,
941
+ "loss": 0.006,
942
+ "step": 1360
943
+ },
944
+ {
945
+ "epoch": 3.81,
946
+ "learning_rate": 9.722222222222223e-06,
947
+ "loss": 0.0036,
948
+ "step": 1370
949
+ },
950
+ {
951
+ "epoch": 3.83,
952
+ "learning_rate": 8.333333333333334e-06,
953
+ "loss": 0.004,
954
+ "step": 1380
955
+ },
956
+ {
957
+ "epoch": 3.86,
958
+ "learning_rate": 6.944444444444445e-06,
959
+ "loss": 0.0035,
960
+ "step": 1390
961
+ },
962
+ {
963
+ "epoch": 3.89,
964
+ "learning_rate": 5.555555555555556e-06,
965
+ "loss": 0.0043,
966
+ "step": 1400
967
+ },
968
+ {
969
+ "epoch": 3.89,
970
+ "eval_accuracy": 0.9805555555555555,
971
+ "eval_loss": 0.08652874827384949,
972
+ "eval_runtime": 21.5822,
973
+ "eval_samples_per_second": 33.361,
974
+ "eval_steps_per_second": 4.17,
975
+ "step": 1400
976
+ },
977
+ {
978
+ "epoch": 3.92,
979
+ "learning_rate": 4.166666666666667e-06,
980
+ "loss": 0.0043,
981
+ "step": 1410
982
+ },
983
+ {
984
+ "epoch": 3.94,
985
+ "learning_rate": 2.777777777777778e-06,
986
+ "loss": 0.0041,
987
+ "step": 1420
988
+ },
989
+ {
990
+ "epoch": 3.97,
991
+ "learning_rate": 1.388888888888889e-06,
992
+ "loss": 0.0164,
993
+ "step": 1430
994
+ },
995
+ {
996
+ "epoch": 4.0,
997
+ "learning_rate": 0.0,
998
+ "loss": 0.0038,
999
+ "step": 1440
1000
+ },
1001
+ {
1002
+ "epoch": 4.0,
1003
+ "step": 1440,
1004
+ <<<<<<< HEAD
1005
+ "total_flos": 6.311528820941783e+18,
1006
+ "train_loss": 0.2221095090903772,
1007
+ "train_runtime": 4823.2045,
1008
+ "train_samples_per_second": 4.777,
1009
+ "train_steps_per_second": 0.299
1010
+ },
1011
+ {
1012
+ "epoch": 4.0,
1013
+ "eval_accuracy": 0.9791666666666666,
1014
+ "eval_loss": 0.10265839099884033,
1015
+ "eval_runtime": 48.2725,
1016
+ "eval_samples_per_second": 14.915,
1017
+ "eval_steps_per_second": 1.864,
1018
+ =======
1019
+ "total_flos": 1.7854794491756544e+18,
1020
+ "train_loss": 0.18370533613229378,
1021
+ "train_runtime": 2041.1421,
1022
+ "train_samples_per_second": 11.288,
1023
+ "train_steps_per_second": 0.705
1024
+ },
1025
+ {
1026
+ "epoch": 4.0,
1027
+ "eval_accuracy": 0.9819444444444444,
1028
+ "eval_loss": 0.08164331316947937,
1029
+ "eval_runtime": 32.0666,
1030
+ "eval_samples_per_second": 22.453,
1031
+ "eval_steps_per_second": 2.807,
1032
+ >>>>>>> parent of c5d9224 (Upload folder using huggingface_hub)
1033
+ "step": 1440
1034
+ }
1035
+ ],
1036
+ "logging_steps": 10,
1037
+ "max_steps": 1440,
1038
+ "num_train_epochs": 4,
1039
+ "save_steps": 100,
1040
+ "total_flos": 1.7854794491756544e+18,
1041
+ "trial_name": null,
1042
+ "trial_params": null
1043
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c20b47502997ac4f38c5e0edecd127812be57f39efb243ab3bd064a3f07f1c0
3
+ size 4600