sagarpatelcompstak
commited on
Commit
•
6a41621
1
Parent(s):
257c4cb
Upload folder using huggingface_hub
Browse files- README.md +41 -0
- checkpoint-52/config.json +35 -0
- checkpoint-52/model.safetensors +3 -0
- checkpoint-52/optimizer.pt +3 -0
- checkpoint-52/rng_state.pth +3 -0
- checkpoint-52/scheduler.pt +3 -0
- checkpoint-52/trainer_state.json +442 -0
- checkpoint-52/training_args.bin +3 -0
- config.json +35 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- runs/Sep20_16-50-49_r-sagarpatelcompstak-image-test-bt88x9ys-5eca3-pvrvg/events.out.tfevents.1726851051.r-sagarpatelcompstak-image-test-bt88x9ys-5eca3-pvrvg.306.0 +2 -2
- runs/Sep20_16-50-49_r-sagarpatelcompstak-image-test-bt88x9ys-5eca3-pvrvg/events.out.tfevents.1726852895.r-sagarpatelcompstak-image-test-bt88x9ys-5eca3-pvrvg.306.1 +3 -0
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
base_model: google/vit-base-patch16-384
|
7 |
+
widget:
|
8 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
9 |
+
example_title: Tiger
|
10 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
11 |
+
example_title: Teapot
|
12 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
13 |
+
example_title: Palace
|
14 |
+
---
|
15 |
+
|
16 |
+
# Model Trained Using AutoTrain
|
17 |
+
|
18 |
+
- Problem type: Image Classification
|
19 |
+
|
20 |
+
## Validation Metrics
|
21 |
+
loss: 0.4414389729499817
|
22 |
+
|
23 |
+
f1_macro: 0.7110579479000531
|
24 |
+
|
25 |
+
f1_micro: 0.8431372549019608
|
26 |
+
|
27 |
+
f1_weighted: 0.8393376489351722
|
28 |
+
|
29 |
+
precision_macro: 0.7435897435897436
|
30 |
+
|
31 |
+
precision_micro: 0.8431372549019608
|
32 |
+
|
33 |
+
precision_weighted: 0.8471593765711413
|
34 |
+
|
35 |
+
recall_macro: 0.7005005005005005
|
36 |
+
|
37 |
+
recall_micro: 0.8431372549019608
|
38 |
+
|
39 |
+
recall_weighted: 0.8431372549019608
|
40 |
+
|
41 |
+
accuracy: 0.8431372549019608
|
checkpoint-52/config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-384",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"architectures": [
|
5 |
+
"ViTForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"encoder_stride": 16,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "lease",
|
14 |
+
"1": "sales",
|
15 |
+
"2": "unknown"
|
16 |
+
},
|
17 |
+
"image_size": 384,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"lease": 0,
|
22 |
+
"sales": 1,
|
23 |
+
"unknown": 2
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-12,
|
26 |
+
"model_type": "vit",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_channels": 3,
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"patch_size": 16,
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"qkv_bias": true,
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.44.2"
|
35 |
+
}
|
checkpoint-52/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fc72ca9591b25927de10abef21b4b9145ab3953d33eddd8a6157e87a17a0eb6
|
3 |
+
size 344394412
|
checkpoint-52/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bd8f464c59ec2a07fbb3ca2d84e76ba64d66a900d4d8c230ea663ca860f3c02c
|
3 |
+
size 688904186
|
checkpoint-52/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ad9701ddd4ccb4ec88c3b8df2924521afd4ed927612e565481fa5b056dd3b307
|
3 |
+
size 13990
|
checkpoint-52/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac4d887354fdd5611366e9191d8bd621741074e8571062229b7b4b0379dc934d
|
3 |
+
size 1064
|
checkpoint-52/trainer_state.json
ADDED
@@ -0,0 +1,442 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.4414389729499817,
|
3 |
+
"best_model_checkpoint": "autotrain-5fp4q-xo5q8/checkpoint-52",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 52,
|
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.038461538461538464,
|
13 |
+
"grad_norm": 22.706926345825195,
|
14 |
+
"learning_rate": 6.25e-06,
|
15 |
+
"loss": 1.7992,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.07692307692307693,
|
20 |
+
"grad_norm": 14.82021427154541,
|
21 |
+
"learning_rate": 1.25e-05,
|
22 |
+
"loss": 1.6176,
|
23 |
+
"step": 2
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.11538461538461539,
|
27 |
+
"grad_norm": 21.29955291748047,
|
28 |
+
"learning_rate": 1.8750000000000002e-05,
|
29 |
+
"loss": 1.6712,
|
30 |
+
"step": 3
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.15384615384615385,
|
34 |
+
"grad_norm": 10.56375503540039,
|
35 |
+
"learning_rate": 2.5e-05,
|
36 |
+
"loss": 1.1576,
|
37 |
+
"step": 4
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.19230769230769232,
|
41 |
+
"grad_norm": 12.371294021606445,
|
42 |
+
"learning_rate": 3.125e-05,
|
43 |
+
"loss": 1.1625,
|
44 |
+
"step": 5
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.23076923076923078,
|
48 |
+
"grad_norm": 10.228344917297363,
|
49 |
+
"learning_rate": 3.7500000000000003e-05,
|
50 |
+
"loss": 0.9789,
|
51 |
+
"step": 6
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.2692307692307692,
|
55 |
+
"grad_norm": 7.665449619293213,
|
56 |
+
"learning_rate": 4.375e-05,
|
57 |
+
"loss": 0.6949,
|
58 |
+
"step": 7
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.3076923076923077,
|
62 |
+
"grad_norm": 4.8355607986450195,
|
63 |
+
"learning_rate": 5e-05,
|
64 |
+
"loss": 0.3715,
|
65 |
+
"step": 8
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.34615384615384615,
|
69 |
+
"grad_norm": 3.644941806793213,
|
70 |
+
"learning_rate": 4.928571428571429e-05,
|
71 |
+
"loss": 0.2734,
|
72 |
+
"step": 9
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.38461538461538464,
|
76 |
+
"grad_norm": 10.93883228302002,
|
77 |
+
"learning_rate": 4.8571428571428576e-05,
|
78 |
+
"loss": 1.1038,
|
79 |
+
"step": 10
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.4230769230769231,
|
83 |
+
"grad_norm": 1.8329538106918335,
|
84 |
+
"learning_rate": 4.785714285714286e-05,
|
85 |
+
"loss": 0.0594,
|
86 |
+
"step": 11
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.46153846153846156,
|
90 |
+
"grad_norm": 6.308378219604492,
|
91 |
+
"learning_rate": 4.714285714285714e-05,
|
92 |
+
"loss": 0.5268,
|
93 |
+
"step": 12
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.5,
|
97 |
+
"grad_norm": 11.916308403015137,
|
98 |
+
"learning_rate": 4.642857142857143e-05,
|
99 |
+
"loss": 1.3736,
|
100 |
+
"step": 13
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.5384615384615384,
|
104 |
+
"grad_norm": 7.456629276275635,
|
105 |
+
"learning_rate": 4.5714285714285716e-05,
|
106 |
+
"loss": 1.0286,
|
107 |
+
"step": 14
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.5769230769230769,
|
111 |
+
"grad_norm": 8.702776908874512,
|
112 |
+
"learning_rate": 4.5e-05,
|
113 |
+
"loss": 0.7341,
|
114 |
+
"step": 15
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.6153846153846154,
|
118 |
+
"grad_norm": 13.713752746582031,
|
119 |
+
"learning_rate": 4.428571428571428e-05,
|
120 |
+
"loss": 1.0677,
|
121 |
+
"step": 16
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.6538461538461539,
|
125 |
+
"grad_norm": 9.722982406616211,
|
126 |
+
"learning_rate": 4.3571428571428576e-05,
|
127 |
+
"loss": 0.9429,
|
128 |
+
"step": 17
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.6923076923076923,
|
132 |
+
"grad_norm": 4.836060523986816,
|
133 |
+
"learning_rate": 4.2857142857142856e-05,
|
134 |
+
"loss": 0.4127,
|
135 |
+
"step": 18
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.7307692307692307,
|
139 |
+
"grad_norm": 5.4703497886657715,
|
140 |
+
"learning_rate": 4.214285714285714e-05,
|
141 |
+
"loss": 0.4774,
|
142 |
+
"step": 19
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.7692307692307693,
|
146 |
+
"grad_norm": 3.5811495780944824,
|
147 |
+
"learning_rate": 4.1428571428571437e-05,
|
148 |
+
"loss": 0.4939,
|
149 |
+
"step": 20
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.8076923076923077,
|
153 |
+
"grad_norm": 7.475313186645508,
|
154 |
+
"learning_rate": 4.0714285714285717e-05,
|
155 |
+
"loss": 0.8256,
|
156 |
+
"step": 21
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.8461538461538461,
|
160 |
+
"grad_norm": 5.056193828582764,
|
161 |
+
"learning_rate": 4e-05,
|
162 |
+
"loss": 0.5561,
|
163 |
+
"step": 22
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.8846153846153846,
|
167 |
+
"grad_norm": 3.139153242111206,
|
168 |
+
"learning_rate": 3.928571428571429e-05,
|
169 |
+
"loss": 0.2875,
|
170 |
+
"step": 23
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.9230769230769231,
|
174 |
+
"grad_norm": 7.5760884284973145,
|
175 |
+
"learning_rate": 3.857142857142858e-05,
|
176 |
+
"loss": 0.5746,
|
177 |
+
"step": 24
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.9615384615384616,
|
181 |
+
"grad_norm": 7.418881893157959,
|
182 |
+
"learning_rate": 3.785714285714286e-05,
|
183 |
+
"loss": 0.7306,
|
184 |
+
"step": 25
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 1.0,
|
188 |
+
"grad_norm": 8.691544532775879,
|
189 |
+
"learning_rate": 3.7142857142857143e-05,
|
190 |
+
"loss": 0.2932,
|
191 |
+
"step": 26
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 1.0,
|
195 |
+
"eval_accuracy": 0.8627450980392157,
|
196 |
+
"eval_f1_macro": 0.7521367521367521,
|
197 |
+
"eval_f1_micro": 0.8627450980392157,
|
198 |
+
"eval_f1_weighted": 0.8526897938662645,
|
199 |
+
"eval_loss": 0.4614105522632599,
|
200 |
+
"eval_precision_macro": 0.8204607046070461,
|
201 |
+
"eval_precision_micro": 0.8627450980392157,
|
202 |
+
"eval_precision_weighted": 0.8576040172166427,
|
203 |
+
"eval_recall_macro": 0.7095095095095095,
|
204 |
+
"eval_recall_micro": 0.8627450980392157,
|
205 |
+
"eval_recall_weighted": 0.8627450980392157,
|
206 |
+
"eval_runtime": 42.7222,
|
207 |
+
"eval_samples_per_second": 1.194,
|
208 |
+
"eval_steps_per_second": 0.094,
|
209 |
+
"step": 26
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 1.0384615384615385,
|
213 |
+
"grad_norm": 5.2084550857543945,
|
214 |
+
"learning_rate": 3.642857142857143e-05,
|
215 |
+
"loss": 0.4819,
|
216 |
+
"step": 27
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 1.0769230769230769,
|
220 |
+
"grad_norm": 5.608432292938232,
|
221 |
+
"learning_rate": 3.571428571428572e-05,
|
222 |
+
"loss": 0.5022,
|
223 |
+
"step": 28
|
224 |
+
},
|
225 |
+
{
|
226 |
+
"epoch": 1.1153846153846154,
|
227 |
+
"grad_norm": 2.5721189975738525,
|
228 |
+
"learning_rate": 3.5e-05,
|
229 |
+
"loss": 0.2137,
|
230 |
+
"step": 29
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 1.1538461538461537,
|
234 |
+
"grad_norm": 3.4027936458587646,
|
235 |
+
"learning_rate": 3.428571428571429e-05,
|
236 |
+
"loss": 0.2027,
|
237 |
+
"step": 30
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"epoch": 1.1923076923076923,
|
241 |
+
"grad_norm": 6.340023517608643,
|
242 |
+
"learning_rate": 3.357142857142857e-05,
|
243 |
+
"loss": 0.4467,
|
244 |
+
"step": 31
|
245 |
+
},
|
246 |
+
{
|
247 |
+
"epoch": 1.2307692307692308,
|
248 |
+
"grad_norm": 4.974024295806885,
|
249 |
+
"learning_rate": 3.285714285714286e-05,
|
250 |
+
"loss": 0.3403,
|
251 |
+
"step": 32
|
252 |
+
},
|
253 |
+
{
|
254 |
+
"epoch": 1.2692307692307692,
|
255 |
+
"grad_norm": 0.9552409052848816,
|
256 |
+
"learning_rate": 3.2142857142857144e-05,
|
257 |
+
"loss": 0.0516,
|
258 |
+
"step": 33
|
259 |
+
},
|
260 |
+
{
|
261 |
+
"epoch": 1.3076923076923077,
|
262 |
+
"grad_norm": 2.218487024307251,
|
263 |
+
"learning_rate": 3.142857142857143e-05,
|
264 |
+
"loss": 0.1517,
|
265 |
+
"step": 34
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"epoch": 1.3461538461538463,
|
269 |
+
"grad_norm": 4.473520278930664,
|
270 |
+
"learning_rate": 3.071428571428572e-05,
|
271 |
+
"loss": 0.2437,
|
272 |
+
"step": 35
|
273 |
+
},
|
274 |
+
{
|
275 |
+
"epoch": 1.3846153846153846,
|
276 |
+
"grad_norm": 0.7838555574417114,
|
277 |
+
"learning_rate": 3e-05,
|
278 |
+
"loss": 0.0439,
|
279 |
+
"step": 36
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 1.4230769230769231,
|
283 |
+
"grad_norm": 5.70513391494751,
|
284 |
+
"learning_rate": 2.9285714285714288e-05,
|
285 |
+
"loss": 0.4307,
|
286 |
+
"step": 37
|
287 |
+
},
|
288 |
+
{
|
289 |
+
"epoch": 1.4615384615384617,
|
290 |
+
"grad_norm": 6.128334999084473,
|
291 |
+
"learning_rate": 2.857142857142857e-05,
|
292 |
+
"loss": 0.3735,
|
293 |
+
"step": 38
|
294 |
+
},
|
295 |
+
{
|
296 |
+
"epoch": 1.5,
|
297 |
+
"grad_norm": 3.746047019958496,
|
298 |
+
"learning_rate": 2.785714285714286e-05,
|
299 |
+
"loss": 0.2421,
|
300 |
+
"step": 39
|
301 |
+
},
|
302 |
+
{
|
303 |
+
"epoch": 1.5384615384615383,
|
304 |
+
"grad_norm": 9.368988990783691,
|
305 |
+
"learning_rate": 2.714285714285714e-05,
|
306 |
+
"loss": 1.0537,
|
307 |
+
"step": 40
|
308 |
+
},
|
309 |
+
{
|
310 |
+
"epoch": 1.5769230769230769,
|
311 |
+
"grad_norm": 4.9520087242126465,
|
312 |
+
"learning_rate": 2.642857142857143e-05,
|
313 |
+
"loss": 0.4067,
|
314 |
+
"step": 41
|
315 |
+
},
|
316 |
+
{
|
317 |
+
"epoch": 1.6153846153846154,
|
318 |
+
"grad_norm": 5.346065044403076,
|
319 |
+
"learning_rate": 2.5714285714285714e-05,
|
320 |
+
"loss": 0.3763,
|
321 |
+
"step": 42
|
322 |
+
},
|
323 |
+
{
|
324 |
+
"epoch": 1.6538461538461537,
|
325 |
+
"grad_norm": 4.066850185394287,
|
326 |
+
"learning_rate": 2.5e-05,
|
327 |
+
"loss": 0.2232,
|
328 |
+
"step": 43
|
329 |
+
},
|
330 |
+
{
|
331 |
+
"epoch": 1.6923076923076923,
|
332 |
+
"grad_norm": 0.366755872964859,
|
333 |
+
"learning_rate": 2.4285714285714288e-05,
|
334 |
+
"loss": 0.0149,
|
335 |
+
"step": 44
|
336 |
+
},
|
337 |
+
{
|
338 |
+
"epoch": 1.7307692307692308,
|
339 |
+
"grad_norm": 6.567800521850586,
|
340 |
+
"learning_rate": 2.357142857142857e-05,
|
341 |
+
"loss": 0.8362,
|
342 |
+
"step": 45
|
343 |
+
},
|
344 |
+
{
|
345 |
+
"epoch": 1.7692307692307692,
|
346 |
+
"grad_norm": 14.717028617858887,
|
347 |
+
"learning_rate": 2.2857142857142858e-05,
|
348 |
+
"loss": 1.7882,
|
349 |
+
"step": 46
|
350 |
+
},
|
351 |
+
{
|
352 |
+
"epoch": 1.8076923076923077,
|
353 |
+
"grad_norm": 3.6191389560699463,
|
354 |
+
"learning_rate": 2.214285714285714e-05,
|
355 |
+
"loss": 0.113,
|
356 |
+
"step": 47
|
357 |
+
},
|
358 |
+
{
|
359 |
+
"epoch": 1.8461538461538463,
|
360 |
+
"grad_norm": 7.102859973907471,
|
361 |
+
"learning_rate": 2.1428571428571428e-05,
|
362 |
+
"loss": 0.7773,
|
363 |
+
"step": 48
|
364 |
+
},
|
365 |
+
{
|
366 |
+
"epoch": 1.8846153846153846,
|
367 |
+
"grad_norm": 4.499615669250488,
|
368 |
+
"learning_rate": 2.0714285714285718e-05,
|
369 |
+
"loss": 0.2393,
|
370 |
+
"step": 49
|
371 |
+
},
|
372 |
+
{
|
373 |
+
"epoch": 1.9230769230769231,
|
374 |
+
"grad_norm": 5.825705528259277,
|
375 |
+
"learning_rate": 2e-05,
|
376 |
+
"loss": 0.4396,
|
377 |
+
"step": 50
|
378 |
+
},
|
379 |
+
{
|
380 |
+
"epoch": 1.9615384615384617,
|
381 |
+
"grad_norm": 4.1611504554748535,
|
382 |
+
"learning_rate": 1.928571428571429e-05,
|
383 |
+
"loss": 0.1598,
|
384 |
+
"step": 51
|
385 |
+
},
|
386 |
+
{
|
387 |
+
"epoch": 2.0,
|
388 |
+
"grad_norm": 17.309432983398438,
|
389 |
+
"learning_rate": 1.8571428571428572e-05,
|
390 |
+
"loss": 0.6843,
|
391 |
+
"step": 52
|
392 |
+
},
|
393 |
+
{
|
394 |
+
"epoch": 2.0,
|
395 |
+
"eval_accuracy": 0.8431372549019608,
|
396 |
+
"eval_f1_macro": 0.7110579479000531,
|
397 |
+
"eval_f1_micro": 0.8431372549019608,
|
398 |
+
"eval_f1_weighted": 0.8393376489351722,
|
399 |
+
"eval_loss": 0.4414389729499817,
|
400 |
+
"eval_precision_macro": 0.7435897435897436,
|
401 |
+
"eval_precision_micro": 0.8431372549019608,
|
402 |
+
"eval_precision_weighted": 0.8471593765711413,
|
403 |
+
"eval_recall_macro": 0.7005005005005005,
|
404 |
+
"eval_recall_micro": 0.8431372549019608,
|
405 |
+
"eval_recall_weighted": 0.8431372549019608,
|
406 |
+
"eval_runtime": 43.3611,
|
407 |
+
"eval_samples_per_second": 1.176,
|
408 |
+
"eval_steps_per_second": 0.092,
|
409 |
+
"step": 52
|
410 |
+
}
|
411 |
+
],
|
412 |
+
"logging_steps": 1,
|
413 |
+
"max_steps": 78,
|
414 |
+
"num_input_tokens_seen": 0,
|
415 |
+
"num_train_epochs": 3,
|
416 |
+
"save_steps": 500,
|
417 |
+
"stateful_callbacks": {
|
418 |
+
"EarlyStoppingCallback": {
|
419 |
+
"args": {
|
420 |
+
"early_stopping_patience": 5,
|
421 |
+
"early_stopping_threshold": 0.01
|
422 |
+
},
|
423 |
+
"attributes": {
|
424 |
+
"early_stopping_patience_counter": 0
|
425 |
+
}
|
426 |
+
},
|
427 |
+
"TrainerControl": {
|
428 |
+
"args": {
|
429 |
+
"should_epoch_stop": false,
|
430 |
+
"should_evaluate": false,
|
431 |
+
"should_log": false,
|
432 |
+
"should_save": true,
|
433 |
+
"should_training_stop": false
|
434 |
+
},
|
435 |
+
"attributes": {}
|
436 |
+
}
|
437 |
+
},
|
438 |
+
"total_flos": 9.23173154118697e+16,
|
439 |
+
"train_batch_size": 8,
|
440 |
+
"trial_name": null,
|
441 |
+
"trial_params": null
|
442 |
+
}
|
checkpoint-52/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0dfa800ceea7a6384696a513e8142077f5fdece9f19f7b2a6591f864a2feb58d
|
3 |
+
size 5240
|
config.json
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-384",
|
3 |
+
"_num_labels": 3,
|
4 |
+
"architectures": [
|
5 |
+
"ViTForImageClassification"
|
6 |
+
],
|
7 |
+
"attention_probs_dropout_prob": 0.0,
|
8 |
+
"encoder_stride": 16,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.0,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "lease",
|
14 |
+
"1": "sales",
|
15 |
+
"2": "unknown"
|
16 |
+
},
|
17 |
+
"image_size": 384,
|
18 |
+
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 3072,
|
20 |
+
"label2id": {
|
21 |
+
"lease": 0,
|
22 |
+
"sales": 1,
|
23 |
+
"unknown": 2
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-12,
|
26 |
+
"model_type": "vit",
|
27 |
+
"num_attention_heads": 12,
|
28 |
+
"num_channels": 3,
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"patch_size": 16,
|
31 |
+
"problem_type": "single_label_classification",
|
32 |
+
"qkv_bias": true,
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.44.2"
|
35 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fc72ca9591b25927de10abef21b4b9145ab3953d33eddd8a6157e87a17a0eb6
|
3 |
+
size 344394412
|
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": "ViTImageProcessor",
|
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": 384,
|
20 |
+
"width": 384
|
21 |
+
}
|
22 |
+
}
|
runs/Sep20_16-50-49_r-sagarpatelcompstak-image-test-bt88x9ys-5eca3-pvrvg/events.out.tfevents.1726851051.r-sagarpatelcompstak-image-test-bt88x9ys-5eca3-pvrvg.306.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e60fabf764344e550aa104afa1f2ce61b0b2b10ea73066b3ce08adc43a38b70
|
3 |
+
size 23955
|
runs/Sep20_16-50-49_r-sagarpatelcompstak-image-test-bt88x9ys-5eca3-pvrvg/events.out.tfevents.1726852895.r-sagarpatelcompstak-image-test-bt88x9ys-5eca3-pvrvg.306.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f0cfa507486a1ee941f4ac27cd491abe883c80592d061f717820002a5a6b224
|
3 |
+
size 906
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0dfa800ceea7a6384696a513e8142077f5fdece9f19f7b2a6591f864a2feb58d
|
3 |
+
size 5240
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "autotrain-5fp4q-xo5q8/autotrain-data",
|
3 |
+
"model": "google/vit-base-patch16-384",
|
4 |
+
"username": "sagarpatelcompstak",
|
5 |
+
"lr": 5e-05,
|
6 |
+
"epochs": 3,
|
7 |
+
"batch_size": 8,
|
8 |
+
"warmup_ratio": 0.1,
|
9 |
+
"gradient_accumulation": 1,
|
10 |
+
"optimizer": "adamw_torch",
|
11 |
+
"scheduler": "linear",
|
12 |
+
"weight_decay": 0.0,
|
13 |
+
"max_grad_norm": 1.0,
|
14 |
+
"seed": 42,
|
15 |
+
"train_split": "train",
|
16 |
+
"valid_split": "validation",
|
17 |
+
"logging_steps": -1,
|
18 |
+
"project_name": "autotrain-5fp4q-xo5q8",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "fp16",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"push_to_hub": true,
|
23 |
+
"eval_strategy": "epoch",
|
24 |
+
"image_column": "autotrain_image",
|
25 |
+
"target_column": "autotrain_label",
|
26 |
+
"log": "tensorboard",
|
27 |
+
"early_stopping_patience": 5,
|
28 |
+
"early_stopping_threshold": 0.01
|
29 |
+
}
|