Amanaccessassist commited on
Commit
4d57eca
1 Parent(s): 616f020

End of training

Browse files
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: google/vit-base-patch16-224-in21k
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: finetune-tomato-leaf
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # finetune-tomato-leaf
17
+
18
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.3585
21
+ - Accuracy: 0.9720
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 64
42
+ - eval_batch_size: 64
43
+ - seed: 42
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 5
47
+ - mixed_precision_training: Native AMP
48
+
49
+ ### Training results
50
+
51
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
52
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|
53
+ | 1.0819 | 1.0 | 175 | 0.9895 | 0.9018 |
54
+ | 0.6466 | 2.0 | 350 | 0.5825 | 0.9593 |
55
+ | 0.4737 | 3.0 | 525 | 0.4544 | 0.9608 |
56
+ | 0.3983 | 4.0 | 700 | 0.3788 | 0.9715 |
57
+ | 0.3876 | 5.0 | 875 | 0.3585 | 0.9720 |
58
+
59
+
60
+ ### Framework versions
61
+
62
+ - Transformers 4.41.1
63
+ - Pytorch 2.1.2
64
+ - Datasets 2.19.1
65
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.9720244150559512,
4
+ "eval_loss": 0.35846731066703796,
5
+ "eval_runtime": 21.8971,
6
+ "eval_samples_per_second": 89.784,
7
+ "eval_steps_per_second": 1.416,
8
+ "total_flos": 4.315877010121421e+18,
9
+ "train_loss": 0.7534563433783394,
10
+ "train_runtime": 1829.0504,
11
+ "train_samples_per_second": 30.447,
12
+ "train_steps_per_second": 0.478
13
+ }
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Bacterial Spot",
13
+ "1": "Early Blight",
14
+ "2": "Healthy",
15
+ "3": "Late Blight",
16
+ "4": "Leaf Mold",
17
+ "5": "Mosaic Virus",
18
+ "6": "Spetor Spot",
19
+ "7": "Spidder Mites",
20
+ "8": "Target Spot",
21
+ "9": "Uknown",
22
+ "10": "Yellow Leaf Curl Virus"
23
+ },
24
+ "image_size": 224,
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "Bacterial Spot": 0,
29
+ "Early Blight": 1,
30
+ "Healthy": 2,
31
+ "Late Blight": 3,
32
+ "Leaf Mold": 4,
33
+ "Mosaic Virus": 5,
34
+ "Spetor Spot": 6,
35
+ "Spidder Mites": 7,
36
+ "Target Spot": 8,
37
+ "Uknown": 9,
38
+ "Yellow Leaf Curl Virus": 10
39
+ },
40
+ "layer_norm_eps": 1e-12,
41
+ "model_type": "vit",
42
+ "num_attention_heads": 12,
43
+ "num_channels": 3,
44
+ "num_hidden_layers": 12,
45
+ "patch_size": 16,
46
+ "problem_type": "single_label_classification",
47
+ "qkv_bias": true,
48
+ "torch_dtype": "float32",
49
+ "transformers_version": "4.41.1"
50
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "eval_accuracy": 0.9720244150559512,
4
+ "eval_loss": 0.35846731066703796,
5
+ "eval_runtime": 21.8971,
6
+ "eval_samples_per_second": 89.784,
7
+ "eval_steps_per_second": 1.416
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a764bbec4e826e2a62e217a8eb440791f1eb27f0a46bee605beb6f870bf6fa0
3
+ size 343251660
preprocessor_config.json ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_valid_processor_keys": [
3
+ "images",
4
+ "do_resize",
5
+ "size",
6
+ "resample",
7
+ "do_rescale",
8
+ "rescale_factor",
9
+ "do_normalize",
10
+ "image_mean",
11
+ "image_std",
12
+ "return_tensors",
13
+ "data_format",
14
+ "input_data_format"
15
+ ],
16
+ "do_normalize": true,
17
+ "do_rescale": true,
18
+ "do_resize": true,
19
+ "image_mean": [
20
+ 0.5,
21
+ 0.5,
22
+ 0.5
23
+ ],
24
+ "image_processor_type": "ViTFeatureExtractor",
25
+ "image_std": [
26
+ 0.5,
27
+ 0.5,
28
+ 0.5
29
+ ],
30
+ "resample": 2,
31
+ "rescale_factor": 0.00392156862745098,
32
+ "size": {
33
+ "height": 224,
34
+ "width": 224
35
+ }
36
+ }
runs/Jun02_13-02-08_3c6311641236/events.out.tfevents.1717333330.3c6311641236.34.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:41467ef49c7131d41a543d88e31b949a03e5772fb082676d4bc9ecfbf70cfb34
3
+ size 25549
runs/Jun02_13-02-08_3c6311641236/events.out.tfevents.1717335181.3c6311641236.34.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcf18832b2498d05b76f8e286383b82fc641aa3a7bc538f1fc52e0e712c59d31
3
+ size 411
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 5.0,
3
+ "total_flos": 4.315877010121421e+18,
4
+ "train_loss": 0.7534563433783394,
5
+ "train_runtime": 1829.0504,
6
+ "train_samples_per_second": 30.447,
7
+ "train_steps_per_second": 0.478
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,705 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.35846731066703796,
3
+ "best_model_checkpoint": "finetune-tomato-leaf/checkpoint-875",
4
+ "epoch": 5.0,
5
+ "eval_steps": 100,
6
+ "global_step": 875,
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.05714285714285714,
13
+ "grad_norm": 66266.859375,
14
+ "learning_rate": 1.9771428571428574e-05,
15
+ "loss": 2.3535,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.11428571428571428,
20
+ "grad_norm": 82785.25,
21
+ "learning_rate": 1.9542857142857143e-05,
22
+ "loss": 2.2735,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.17142857142857143,
27
+ "grad_norm": 76933.2109375,
28
+ "learning_rate": 1.9314285714285718e-05,
29
+ "loss": 2.1921,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.22857142857142856,
34
+ "grad_norm": 88895.1796875,
35
+ "learning_rate": 1.9085714285714287e-05,
36
+ "loss": 2.1107,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.2857142857142857,
41
+ "grad_norm": 85212.125,
42
+ "learning_rate": 1.885714285714286e-05,
43
+ "loss": 1.9926,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.34285714285714286,
48
+ "grad_norm": 90773.2109375,
49
+ "learning_rate": 1.8628571428571428e-05,
50
+ "loss": 1.8996,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 0.4,
55
+ "grad_norm": 85021.5234375,
56
+ "learning_rate": 1.8400000000000003e-05,
57
+ "loss": 1.7758,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 0.45714285714285713,
62
+ "grad_norm": 93720.375,
63
+ "learning_rate": 1.8171428571428572e-05,
64
+ "loss": 1.6423,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 0.5142857142857142,
69
+ "grad_norm": 94810.765625,
70
+ "learning_rate": 1.7942857142857144e-05,
71
+ "loss": 1.5665,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 0.5714285714285714,
76
+ "grad_norm": 97387.890625,
77
+ "learning_rate": 1.7714285714285717e-05,
78
+ "loss": 1.4395,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 0.6285714285714286,
83
+ "grad_norm": 155846.140625,
84
+ "learning_rate": 1.748571428571429e-05,
85
+ "loss": 1.4227,
86
+ "step": 110
87
+ },
88
+ {
89
+ "epoch": 0.6857142857142857,
90
+ "grad_norm": 86622.5859375,
91
+ "learning_rate": 1.7257142857142857e-05,
92
+ "loss": 1.3027,
93
+ "step": 120
94
+ },
95
+ {
96
+ "epoch": 0.7428571428571429,
97
+ "grad_norm": 89916.921875,
98
+ "learning_rate": 1.702857142857143e-05,
99
+ "loss": 1.2367,
100
+ "step": 130
101
+ },
102
+ {
103
+ "epoch": 0.8,
104
+ "grad_norm": 117233.484375,
105
+ "learning_rate": 1.6800000000000002e-05,
106
+ "loss": 1.2059,
107
+ "step": 140
108
+ },
109
+ {
110
+ "epoch": 0.8571428571428571,
111
+ "grad_norm": 110025.3203125,
112
+ "learning_rate": 1.6571428571428574e-05,
113
+ "loss": 1.1757,
114
+ "step": 150
115
+ },
116
+ {
117
+ "epoch": 0.9142857142857143,
118
+ "grad_norm": 104192.2734375,
119
+ "learning_rate": 1.6342857142857146e-05,
120
+ "loss": 1.0949,
121
+ "step": 160
122
+ },
123
+ {
124
+ "epoch": 0.9714285714285714,
125
+ "grad_norm": 125921.359375,
126
+ "learning_rate": 1.6114285714285715e-05,
127
+ "loss": 1.0819,
128
+ "step": 170
129
+ },
130
+ {
131
+ "epoch": 1.0,
132
+ "eval_accuracy": 0.9018311291963378,
133
+ "eval_loss": 0.9894934892654419,
134
+ "eval_runtime": 21.9196,
135
+ "eval_samples_per_second": 89.692,
136
+ "eval_steps_per_second": 1.414,
137
+ "step": 175
138
+ },
139
+ {
140
+ "epoch": 1.0285714285714285,
141
+ "grad_norm": 120913.9296875,
142
+ "learning_rate": 1.5885714285714287e-05,
143
+ "loss": 1.014,
144
+ "step": 180
145
+ },
146
+ {
147
+ "epoch": 1.0857142857142856,
148
+ "grad_norm": 108828.4609375,
149
+ "learning_rate": 1.5657142857142856e-05,
150
+ "loss": 1.0122,
151
+ "step": 190
152
+ },
153
+ {
154
+ "epoch": 1.1428571428571428,
155
+ "grad_norm": 114912.9296875,
156
+ "learning_rate": 1.542857142857143e-05,
157
+ "loss": 0.9622,
158
+ "step": 200
159
+ },
160
+ {
161
+ "epoch": 1.2,
162
+ "grad_norm": 126387.203125,
163
+ "learning_rate": 1.5200000000000002e-05,
164
+ "loss": 0.9023,
165
+ "step": 210
166
+ },
167
+ {
168
+ "epoch": 1.2571428571428571,
169
+ "grad_norm": 145092.53125,
170
+ "learning_rate": 1.4971428571428572e-05,
171
+ "loss": 0.8747,
172
+ "step": 220
173
+ },
174
+ {
175
+ "epoch": 1.3142857142857143,
176
+ "grad_norm": 148149.9375,
177
+ "learning_rate": 1.4742857142857143e-05,
178
+ "loss": 0.8614,
179
+ "step": 230
180
+ },
181
+ {
182
+ "epoch": 1.3714285714285714,
183
+ "grad_norm": 118238.6875,
184
+ "learning_rate": 1.4514285714285717e-05,
185
+ "loss": 0.835,
186
+ "step": 240
187
+ },
188
+ {
189
+ "epoch": 1.4285714285714286,
190
+ "grad_norm": 117691.6953125,
191
+ "learning_rate": 1.4285714285714287e-05,
192
+ "loss": 0.8084,
193
+ "step": 250
194
+ },
195
+ {
196
+ "epoch": 1.4857142857142858,
197
+ "grad_norm": 161266.21875,
198
+ "learning_rate": 1.4057142857142858e-05,
199
+ "loss": 0.7982,
200
+ "step": 260
201
+ },
202
+ {
203
+ "epoch": 1.5428571428571427,
204
+ "grad_norm": 101406.703125,
205
+ "learning_rate": 1.382857142857143e-05,
206
+ "loss": 0.8023,
207
+ "step": 270
208
+ },
209
+ {
210
+ "epoch": 1.6,
211
+ "grad_norm": 125123.390625,
212
+ "learning_rate": 1.3600000000000002e-05,
213
+ "loss": 0.714,
214
+ "step": 280
215
+ },
216
+ {
217
+ "epoch": 1.657142857142857,
218
+ "grad_norm": 101578.0703125,
219
+ "learning_rate": 1.3371428571428572e-05,
220
+ "loss": 0.7169,
221
+ "step": 290
222
+ },
223
+ {
224
+ "epoch": 1.7142857142857144,
225
+ "grad_norm": 165960.28125,
226
+ "learning_rate": 1.3142857142857145e-05,
227
+ "loss": 0.6705,
228
+ "step": 300
229
+ },
230
+ {
231
+ "epoch": 1.7714285714285714,
232
+ "grad_norm": 161066.1875,
233
+ "learning_rate": 1.2914285714285715e-05,
234
+ "loss": 0.7121,
235
+ "step": 310
236
+ },
237
+ {
238
+ "epoch": 1.8285714285714287,
239
+ "grad_norm": 308346.46875,
240
+ "learning_rate": 1.2685714285714286e-05,
241
+ "loss": 0.6873,
242
+ "step": 320
243
+ },
244
+ {
245
+ "epoch": 1.8857142857142857,
246
+ "grad_norm": 135629.84375,
247
+ "learning_rate": 1.245714285714286e-05,
248
+ "loss": 0.6417,
249
+ "step": 330
250
+ },
251
+ {
252
+ "epoch": 1.9428571428571428,
253
+ "grad_norm": 134140.0,
254
+ "learning_rate": 1.222857142857143e-05,
255
+ "loss": 0.6366,
256
+ "step": 340
257
+ },
258
+ {
259
+ "epoch": 2.0,
260
+ "grad_norm": 365796.21875,
261
+ "learning_rate": 1.2e-05,
262
+ "loss": 0.6466,
263
+ "step": 350
264
+ },
265
+ {
266
+ "epoch": 2.0,
267
+ "eval_accuracy": 0.9593082400813835,
268
+ "eval_loss": 0.5825250148773193,
269
+ "eval_runtime": 21.8245,
270
+ "eval_samples_per_second": 90.082,
271
+ "eval_steps_per_second": 1.42,
272
+ "step": 350
273
+ },
274
+ {
275
+ "epoch": 2.057142857142857,
276
+ "grad_norm": 110862.375,
277
+ "learning_rate": 1.177142857142857e-05,
278
+ "loss": 0.6206,
279
+ "step": 360
280
+ },
281
+ {
282
+ "epoch": 2.1142857142857143,
283
+ "grad_norm": 99193.8984375,
284
+ "learning_rate": 1.1542857142857145e-05,
285
+ "loss": 0.5719,
286
+ "step": 370
287
+ },
288
+ {
289
+ "epoch": 2.1714285714285713,
290
+ "grad_norm": 133490.75,
291
+ "learning_rate": 1.1314285714285715e-05,
292
+ "loss": 0.5888,
293
+ "step": 380
294
+ },
295
+ {
296
+ "epoch": 2.2285714285714286,
297
+ "grad_norm": 134935.203125,
298
+ "learning_rate": 1.1085714285714286e-05,
299
+ "loss": 0.6034,
300
+ "step": 390
301
+ },
302
+ {
303
+ "epoch": 2.2857142857142856,
304
+ "grad_norm": 129637.0703125,
305
+ "learning_rate": 1.0857142857142858e-05,
306
+ "loss": 0.5734,
307
+ "step": 400
308
+ },
309
+ {
310
+ "epoch": 2.342857142857143,
311
+ "grad_norm": 174524.84375,
312
+ "learning_rate": 1.062857142857143e-05,
313
+ "loss": 0.5673,
314
+ "step": 410
315
+ },
316
+ {
317
+ "epoch": 2.4,
318
+ "grad_norm": 88518.9921875,
319
+ "learning_rate": 1.04e-05,
320
+ "loss": 0.5314,
321
+ "step": 420
322
+ },
323
+ {
324
+ "epoch": 2.4571428571428573,
325
+ "grad_norm": 137873.953125,
326
+ "learning_rate": 1.0171428571428573e-05,
327
+ "loss": 0.5602,
328
+ "step": 430
329
+ },
330
+ {
331
+ "epoch": 2.5142857142857142,
332
+ "grad_norm": 156413.375,
333
+ "learning_rate": 9.942857142857145e-06,
334
+ "loss": 0.5819,
335
+ "step": 440
336
+ },
337
+ {
338
+ "epoch": 2.571428571428571,
339
+ "grad_norm": 137907.96875,
340
+ "learning_rate": 9.714285714285715e-06,
341
+ "loss": 0.524,
342
+ "step": 450
343
+ },
344
+ {
345
+ "epoch": 2.6285714285714286,
346
+ "grad_norm": 161790.703125,
347
+ "learning_rate": 9.485714285714287e-06,
348
+ "loss": 0.4902,
349
+ "step": 460
350
+ },
351
+ {
352
+ "epoch": 2.685714285714286,
353
+ "grad_norm": 118504.765625,
354
+ "learning_rate": 9.257142857142858e-06,
355
+ "loss": 0.5091,
356
+ "step": 470
357
+ },
358
+ {
359
+ "epoch": 2.742857142857143,
360
+ "grad_norm": 135314.796875,
361
+ "learning_rate": 9.028571428571428e-06,
362
+ "loss": 0.4945,
363
+ "step": 480
364
+ },
365
+ {
366
+ "epoch": 2.8,
367
+ "grad_norm": 135834.125,
368
+ "learning_rate": 8.8e-06,
369
+ "loss": 0.4792,
370
+ "step": 490
371
+ },
372
+ {
373
+ "epoch": 2.857142857142857,
374
+ "grad_norm": 161810.28125,
375
+ "learning_rate": 8.571428571428571e-06,
376
+ "loss": 0.4867,
377
+ "step": 500
378
+ },
379
+ {
380
+ "epoch": 2.914285714285714,
381
+ "grad_norm": 120542.2890625,
382
+ "learning_rate": 8.342857142857143e-06,
383
+ "loss": 0.4809,
384
+ "step": 510
385
+ },
386
+ {
387
+ "epoch": 2.9714285714285715,
388
+ "grad_norm": 132218.109375,
389
+ "learning_rate": 8.114285714285715e-06,
390
+ "loss": 0.4737,
391
+ "step": 520
392
+ },
393
+ {
394
+ "epoch": 3.0,
395
+ "eval_accuracy": 0.9608341810783316,
396
+ "eval_loss": 0.4544333815574646,
397
+ "eval_runtime": 21.6981,
398
+ "eval_samples_per_second": 90.607,
399
+ "eval_steps_per_second": 1.429,
400
+ "step": 525
401
+ },
402
+ {
403
+ "epoch": 3.0285714285714285,
404
+ "grad_norm": 175208.0625,
405
+ "learning_rate": 7.885714285714286e-06,
406
+ "loss": 0.4208,
407
+ "step": 530
408
+ },
409
+ {
410
+ "epoch": 3.085714285714286,
411
+ "grad_norm": 152119.046875,
412
+ "learning_rate": 7.657142857142858e-06,
413
+ "loss": 0.4432,
414
+ "step": 540
415
+ },
416
+ {
417
+ "epoch": 3.142857142857143,
418
+ "grad_norm": 147346.734375,
419
+ "learning_rate": 7.428571428571429e-06,
420
+ "loss": 0.4572,
421
+ "step": 550
422
+ },
423
+ {
424
+ "epoch": 3.2,
425
+ "grad_norm": 124751.4609375,
426
+ "learning_rate": 7.2000000000000005e-06,
427
+ "loss": 0.4745,
428
+ "step": 560
429
+ },
430
+ {
431
+ "epoch": 3.257142857142857,
432
+ "grad_norm": 147328.890625,
433
+ "learning_rate": 6.971428571428573e-06,
434
+ "loss": 0.466,
435
+ "step": 570
436
+ },
437
+ {
438
+ "epoch": 3.314285714285714,
439
+ "grad_norm": 226765.96875,
440
+ "learning_rate": 6.742857142857143e-06,
441
+ "loss": 0.467,
442
+ "step": 580
443
+ },
444
+ {
445
+ "epoch": 3.3714285714285714,
446
+ "grad_norm": 126136.609375,
447
+ "learning_rate": 6.514285714285715e-06,
448
+ "loss": 0.4399,
449
+ "step": 590
450
+ },
451
+ {
452
+ "epoch": 3.4285714285714284,
453
+ "grad_norm": 133291.390625,
454
+ "learning_rate": 6.285714285714286e-06,
455
+ "loss": 0.4362,
456
+ "step": 600
457
+ },
458
+ {
459
+ "epoch": 3.4857142857142858,
460
+ "grad_norm": 210495.234375,
461
+ "learning_rate": 6.057142857142858e-06,
462
+ "loss": 0.4548,
463
+ "step": 610
464
+ },
465
+ {
466
+ "epoch": 3.5428571428571427,
467
+ "grad_norm": 143375.640625,
468
+ "learning_rate": 5.828571428571429e-06,
469
+ "loss": 0.4342,
470
+ "step": 620
471
+ },
472
+ {
473
+ "epoch": 3.6,
474
+ "grad_norm": 164240.890625,
475
+ "learning_rate": 5.600000000000001e-06,
476
+ "loss": 0.4189,
477
+ "step": 630
478
+ },
479
+ {
480
+ "epoch": 3.657142857142857,
481
+ "grad_norm": 200663.953125,
482
+ "learning_rate": 5.371428571428572e-06,
483
+ "loss": 0.4396,
484
+ "step": 640
485
+ },
486
+ {
487
+ "epoch": 3.7142857142857144,
488
+ "grad_norm": 100999.9453125,
489
+ "learning_rate": 5.142857142857142e-06,
490
+ "loss": 0.4061,
491
+ "step": 650
492
+ },
493
+ {
494
+ "epoch": 3.7714285714285714,
495
+ "grad_norm": 117663.09375,
496
+ "learning_rate": 4.9142857142857145e-06,
497
+ "loss": 0.3983,
498
+ "step": 660
499
+ },
500
+ {
501
+ "epoch": 3.8285714285714287,
502
+ "grad_norm": 124319.609375,
503
+ "learning_rate": 4.685714285714286e-06,
504
+ "loss": 0.448,
505
+ "step": 670
506
+ },
507
+ {
508
+ "epoch": 3.8857142857142857,
509
+ "grad_norm": 187423.625,
510
+ "learning_rate": 4.457142857142858e-06,
511
+ "loss": 0.3981,
512
+ "step": 680
513
+ },
514
+ {
515
+ "epoch": 3.942857142857143,
516
+ "grad_norm": 179787.3125,
517
+ "learning_rate": 4.228571428571429e-06,
518
+ "loss": 0.4109,
519
+ "step": 690
520
+ },
521
+ {
522
+ "epoch": 4.0,
523
+ "grad_norm": 115739.109375,
524
+ "learning_rate": 4.000000000000001e-06,
525
+ "loss": 0.3983,
526
+ "step": 700
527
+ },
528
+ {
529
+ "epoch": 4.0,
530
+ "eval_accuracy": 0.9715157680569685,
531
+ "eval_loss": 0.3787924349308014,
532
+ "eval_runtime": 21.6761,
533
+ "eval_samples_per_second": 90.699,
534
+ "eval_steps_per_second": 1.43,
535
+ "step": 700
536
+ },
537
+ {
538
+ "epoch": 4.057142857142857,
539
+ "grad_norm": 100285.75,
540
+ "learning_rate": 3.771428571428572e-06,
541
+ "loss": 0.3988,
542
+ "step": 710
543
+ },
544
+ {
545
+ "epoch": 4.114285714285714,
546
+ "grad_norm": 119137.453125,
547
+ "learning_rate": 3.542857142857143e-06,
548
+ "loss": 0.3963,
549
+ "step": 720
550
+ },
551
+ {
552
+ "epoch": 4.171428571428572,
553
+ "grad_norm": 101105.1015625,
554
+ "learning_rate": 3.314285714285714e-06,
555
+ "loss": 0.4028,
556
+ "step": 730
557
+ },
558
+ {
559
+ "epoch": 4.228571428571429,
560
+ "grad_norm": 231164.015625,
561
+ "learning_rate": 3.085714285714286e-06,
562
+ "loss": 0.4107,
563
+ "step": 740
564
+ },
565
+ {
566
+ "epoch": 4.285714285714286,
567
+ "grad_norm": 106757.0859375,
568
+ "learning_rate": 2.8571428571428573e-06,
569
+ "loss": 0.3895,
570
+ "step": 750
571
+ },
572
+ {
573
+ "epoch": 4.3428571428571425,
574
+ "grad_norm": 144770.203125,
575
+ "learning_rate": 2.6285714285714286e-06,
576
+ "loss": 0.4163,
577
+ "step": 760
578
+ },
579
+ {
580
+ "epoch": 4.4,
581
+ "grad_norm": 164616.515625,
582
+ "learning_rate": 2.4000000000000003e-06,
583
+ "loss": 0.4121,
584
+ "step": 770
585
+ },
586
+ {
587
+ "epoch": 4.457142857142857,
588
+ "grad_norm": 92120.4140625,
589
+ "learning_rate": 2.1714285714285716e-06,
590
+ "loss": 0.379,
591
+ "step": 780
592
+ },
593
+ {
594
+ "epoch": 4.514285714285714,
595
+ "grad_norm": 111853.0234375,
596
+ "learning_rate": 1.942857142857143e-06,
597
+ "loss": 0.4009,
598
+ "step": 790
599
+ },
600
+ {
601
+ "epoch": 4.571428571428571,
602
+ "grad_norm": 181065.359375,
603
+ "learning_rate": 1.7142857142857145e-06,
604
+ "loss": 0.3857,
605
+ "step": 800
606
+ },
607
+ {
608
+ "epoch": 4.628571428571428,
609
+ "grad_norm": 165270.3125,
610
+ "learning_rate": 1.4857142857142858e-06,
611
+ "loss": 0.4084,
612
+ "step": 810
613
+ },
614
+ {
615
+ "epoch": 4.685714285714286,
616
+ "grad_norm": 195606.078125,
617
+ "learning_rate": 1.2571428571428573e-06,
618
+ "loss": 0.391,
619
+ "step": 820
620
+ },
621
+ {
622
+ "epoch": 4.742857142857143,
623
+ "grad_norm": 146015.765625,
624
+ "learning_rate": 1.0285714285714286e-06,
625
+ "loss": 0.4011,
626
+ "step": 830
627
+ },
628
+ {
629
+ "epoch": 4.8,
630
+ "grad_norm": 165905.390625,
631
+ "learning_rate": 8.000000000000001e-07,
632
+ "loss": 0.3932,
633
+ "step": 840
634
+ },
635
+ {
636
+ "epoch": 4.857142857142857,
637
+ "grad_norm": 185854.59375,
638
+ "learning_rate": 5.714285714285715e-07,
639
+ "loss": 0.3896,
640
+ "step": 850
641
+ },
642
+ {
643
+ "epoch": 4.914285714285715,
644
+ "grad_norm": 212310.71875,
645
+ "learning_rate": 3.428571428571429e-07,
646
+ "loss": 0.3811,
647
+ "step": 860
648
+ },
649
+ {
650
+ "epoch": 4.9714285714285715,
651
+ "grad_norm": 198072.859375,
652
+ "learning_rate": 1.142857142857143e-07,
653
+ "loss": 0.3876,
654
+ "step": 870
655
+ },
656
+ {
657
+ "epoch": 5.0,
658
+ "eval_accuracy": 0.9720244150559512,
659
+ "eval_loss": 0.35846731066703796,
660
+ "eval_runtime": 21.7929,
661
+ "eval_samples_per_second": 90.213,
662
+ "eval_steps_per_second": 1.422,
663
+ "step": 875
664
+ },
665
+ {
666
+ "epoch": 5.0,
667
+ "step": 875,
668
+ "total_flos": 4.315877010121421e+18,
669
+ "train_loss": 0.7534563433783394,
670
+ "train_runtime": 1829.0504,
671
+ "train_samples_per_second": 30.447,
672
+ "train_steps_per_second": 0.478
673
+ }
674
+ ],
675
+ "logging_steps": 10,
676
+ "max_steps": 875,
677
+ "num_input_tokens_seen": 0,
678
+ "num_train_epochs": 5,
679
+ "save_steps": 100,
680
+ "stateful_callbacks": {
681
+ "EarlyStoppingCallback": {
682
+ "args": {
683
+ "early_stopping_patience": 3,
684
+ "early_stopping_threshold": 0.0
685
+ },
686
+ "attributes": {
687
+ "early_stopping_patience_counter": 0
688
+ }
689
+ },
690
+ "TrainerControl": {
691
+ "args": {
692
+ "should_epoch_stop": false,
693
+ "should_evaluate": false,
694
+ "should_log": false,
695
+ "should_save": true,
696
+ "should_training_stop": true
697
+ },
698
+ "attributes": {}
699
+ }
700
+ },
701
+ "total_flos": 4.315877010121421e+18,
702
+ "train_batch_size": 64,
703
+ "trial_name": null,
704
+ "trial_params": null
705
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3852a406835d68d13ce4fbc9718ab66e58693287fe4f90debdab2eb8e75032c
3
+ size 5112