Upload folder using huggingface_hub
Browse files- checkpoint-32762/config.json +54 -0
- checkpoint-32762/model.safetensors +3 -0
- checkpoint-32762/optimizer.pt +3 -0
- checkpoint-32762/preprocessor_config.json +22 -0
- checkpoint-32762/rng_state.pth +3 -0
- checkpoint-32762/scheduler.pt +3 -0
- checkpoint-32762/trainer_state.json +508 -0
- checkpoint-32762/training_args.bin +3 -0
- config.json +54 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
checkpoint-32762/config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Abuse",
|
13 |
+
"1": "Arrest",
|
14 |
+
"2": "Arson",
|
15 |
+
"3": "Assault",
|
16 |
+
"4": "Burglary",
|
17 |
+
"5": "Explosion",
|
18 |
+
"6": "Fighting",
|
19 |
+
"7": "RoadAccidents",
|
20 |
+
"8": "Robbery",
|
21 |
+
"9": "Shooting",
|
22 |
+
"10": "Shoplifting",
|
23 |
+
"11": "Stealing",
|
24 |
+
"12": "Vandalism"
|
25 |
+
},
|
26 |
+
"image_size": 224,
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"Abuse": 0,
|
31 |
+
"Arrest": 1,
|
32 |
+
"Arson": 2,
|
33 |
+
"Assault": 3,
|
34 |
+
"Burglary": 4,
|
35 |
+
"Explosion": 5,
|
36 |
+
"Fighting": 6,
|
37 |
+
"RoadAccidents": 7,
|
38 |
+
"Robbery": 8,
|
39 |
+
"Shooting": 9,
|
40 |
+
"Shoplifting": 10,
|
41 |
+
"Stealing": 11,
|
42 |
+
"Vandalism": 12
|
43 |
+
},
|
44 |
+
"layer_norm_eps": 1e-12,
|
45 |
+
"model_type": "vit",
|
46 |
+
"num_attention_heads": 12,
|
47 |
+
"num_channels": 3,
|
48 |
+
"num_hidden_layers": 12,
|
49 |
+
"patch_size": 16,
|
50 |
+
"problem_type": "single_label_classification",
|
51 |
+
"qkv_bias": true,
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.46.1"
|
54 |
+
}
|
checkpoint-32762/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7a21cb251d8954a9b6e02a068dd53e3a9e194a0bdc80a47aeaabfda165f7d87
|
3 |
+
size 343257812
|
checkpoint-32762/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:516cbff24863a529d00dab1a53265f8d32fd69ec68725b2699843be23b5f30ad
|
3 |
+
size 686636474
|
checkpoint-32762/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": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
checkpoint-32762/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8220a9327a8d90f952a81502fc3b23c9d37ebb92d8fdc920ffb10995911ae617
|
3 |
+
size 14244
|
checkpoint-32762/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dc797ed0e1718afbd59572494545aca477ce79b4e6619295f49395370396d1f1
|
3 |
+
size 1064
|
checkpoint-32762/trainer_state.json
ADDED
@@ -0,0 +1,508 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.2096688449382782,
|
3 |
+
"best_model_checkpoint": "crime_type_cctv_image_detection/checkpoint-32762",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 32762,
|
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.030523167083816617,
|
13 |
+
"grad_norm": 1.6289677619934082,
|
14 |
+
"learning_rate": 9.862435803374908e-07,
|
15 |
+
"loss": 2.5004,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.061046334167633234,
|
20 |
+
"grad_norm": 1.8971799612045288,
|
21 |
+
"learning_rate": 9.709586696013695e-07,
|
22 |
+
"loss": 2.345,
|
23 |
+
"step": 1000
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.09156950125144984,
|
27 |
+
"grad_norm": 1.9139316082000732,
|
28 |
+
"learning_rate": 9.55673758865248e-07,
|
29 |
+
"loss": 2.2069,
|
30 |
+
"step": 1500
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.12209266833526647,
|
34 |
+
"grad_norm": 1.8688374757766724,
|
35 |
+
"learning_rate": 9.403888481291269e-07,
|
36 |
+
"loss": 2.0698,
|
37 |
+
"step": 2000
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.15261583541908308,
|
41 |
+
"grad_norm": 1.9014779329299927,
|
42 |
+
"learning_rate": 9.251039373930056e-07,
|
43 |
+
"loss": 1.9612,
|
44 |
+
"step": 2500
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.1831390025028997,
|
48 |
+
"grad_norm": 1.7769114971160889,
|
49 |
+
"learning_rate": 9.098190266568843e-07,
|
50 |
+
"loss": 1.8541,
|
51 |
+
"step": 3000
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.21366216958671633,
|
55 |
+
"grad_norm": 2.0898241996765137,
|
56 |
+
"learning_rate": 8.94534115920763e-07,
|
57 |
+
"loss": 1.7676,
|
58 |
+
"step": 3500
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.24418533667053294,
|
62 |
+
"grad_norm": 2.33831524848938,
|
63 |
+
"learning_rate": 8.792492051846416e-07,
|
64 |
+
"loss": 1.6726,
|
65 |
+
"step": 4000
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.2747085037543496,
|
69 |
+
"grad_norm": 2.054894208908081,
|
70 |
+
"learning_rate": 8.639642944485203e-07,
|
71 |
+
"loss": 1.5783,
|
72 |
+
"step": 4500
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.30523167083816616,
|
76 |
+
"grad_norm": 1.753795862197876,
|
77 |
+
"learning_rate": 8.486793837123992e-07,
|
78 |
+
"loss": 1.5028,
|
79 |
+
"step": 5000
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.3357548379219828,
|
83 |
+
"grad_norm": 2.2265961170196533,
|
84 |
+
"learning_rate": 8.333944729762778e-07,
|
85 |
+
"loss": 1.4297,
|
86 |
+
"step": 5500
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.3662780050057994,
|
90 |
+
"grad_norm": 2.771895408630371,
|
91 |
+
"learning_rate": 8.181095622401565e-07,
|
92 |
+
"loss": 1.3585,
|
93 |
+
"step": 6000
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.396801172089616,
|
97 |
+
"grad_norm": 2.154144048690796,
|
98 |
+
"learning_rate": 8.028246515040352e-07,
|
99 |
+
"loss": 1.2872,
|
100 |
+
"step": 6500
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.42732433917343265,
|
104 |
+
"grad_norm": 2.5503437519073486,
|
105 |
+
"learning_rate": 7.875397407679139e-07,
|
106 |
+
"loss": 1.2268,
|
107 |
+
"step": 7000
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.45784750625724924,
|
111 |
+
"grad_norm": 2.2123398780822754,
|
112 |
+
"learning_rate": 7.722548300317926e-07,
|
113 |
+
"loss": 1.1519,
|
114 |
+
"step": 7500
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.4883706733410659,
|
118 |
+
"grad_norm": 2.242037534713745,
|
119 |
+
"learning_rate": 7.569699192956713e-07,
|
120 |
+
"loss": 1.0919,
|
121 |
+
"step": 8000
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.5188938404248825,
|
125 |
+
"grad_norm": 2.332332134246826,
|
126 |
+
"learning_rate": 7.416850085595499e-07,
|
127 |
+
"loss": 1.0321,
|
128 |
+
"step": 8500
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.5494170075086992,
|
132 |
+
"grad_norm": 2.7607650756835938,
|
133 |
+
"learning_rate": 7.264000978234287e-07,
|
134 |
+
"loss": 0.9736,
|
135 |
+
"step": 9000
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.5799401745925157,
|
139 |
+
"grad_norm": 2.801568031311035,
|
140 |
+
"learning_rate": 7.111151870873074e-07,
|
141 |
+
"loss": 0.9213,
|
142 |
+
"step": 9500
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.6104633416763323,
|
146 |
+
"grad_norm": 2.430516481399536,
|
147 |
+
"learning_rate": 6.958302763511861e-07,
|
148 |
+
"loss": 0.8797,
|
149 |
+
"step": 10000
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.640986508760149,
|
153 |
+
"grad_norm": 2.7417266368865967,
|
154 |
+
"learning_rate": 6.805453656150648e-07,
|
155 |
+
"loss": 0.8203,
|
156 |
+
"step": 10500
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.6715096758439656,
|
160 |
+
"grad_norm": 2.2989461421966553,
|
161 |
+
"learning_rate": 6.652604548789435e-07,
|
162 |
+
"loss": 0.7796,
|
163 |
+
"step": 11000
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.7020328429277822,
|
167 |
+
"grad_norm": 2.6096231937408447,
|
168 |
+
"learning_rate": 6.499755441428222e-07,
|
169 |
+
"loss": 0.7367,
|
170 |
+
"step": 11500
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.7325560100115988,
|
174 |
+
"grad_norm": 2.67083477973938,
|
175 |
+
"learning_rate": 6.346906334067009e-07,
|
176 |
+
"loss": 0.6966,
|
177 |
+
"step": 12000
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.7630791770954154,
|
181 |
+
"grad_norm": 4.2720112800598145,
|
182 |
+
"learning_rate": 6.194057226705795e-07,
|
183 |
+
"loss": 0.6622,
|
184 |
+
"step": 12500
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 0.793602344179232,
|
188 |
+
"grad_norm": 3.059863805770874,
|
189 |
+
"learning_rate": 6.041208119344583e-07,
|
190 |
+
"loss": 0.6249,
|
191 |
+
"step": 13000
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 0.8241255112630487,
|
195 |
+
"grad_norm": 1.974647045135498,
|
196 |
+
"learning_rate": 5.88835901198337e-07,
|
197 |
+
"loss": 0.5995,
|
198 |
+
"step": 13500
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 0.8546486783468653,
|
202 |
+
"grad_norm": 2.3110132217407227,
|
203 |
+
"learning_rate": 5.735509904622157e-07,
|
204 |
+
"loss": 0.566,
|
205 |
+
"step": 14000
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 0.8851718454306818,
|
209 |
+
"grad_norm": 3.263612747192383,
|
210 |
+
"learning_rate": 5.582660797260944e-07,
|
211 |
+
"loss": 0.5407,
|
212 |
+
"step": 14500
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 0.9156950125144985,
|
216 |
+
"grad_norm": 2.5627806186676025,
|
217 |
+
"learning_rate": 5.42981168989973e-07,
|
218 |
+
"loss": 0.5123,
|
219 |
+
"step": 15000
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.9462181795983151,
|
223 |
+
"grad_norm": 3.0076727867126465,
|
224 |
+
"learning_rate": 5.276962582538518e-07,
|
225 |
+
"loss": 0.4896,
|
226 |
+
"step": 15500
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 0.9767413466821318,
|
230 |
+
"grad_norm": 2.2047181129455566,
|
231 |
+
"learning_rate": 5.124113475177305e-07,
|
232 |
+
"loss": 0.4667,
|
233 |
+
"step": 16000
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 1.0,
|
237 |
+
"eval_accuracy": 0.9708977902923956,
|
238 |
+
"eval_loss": 0.4366196095943451,
|
239 |
+
"eval_model_preparation_time": 0.0071,
|
240 |
+
"eval_runtime": 570.2956,
|
241 |
+
"eval_samples_per_second": 102.128,
|
242 |
+
"eval_steps_per_second": 12.767,
|
243 |
+
"step": 16381
|
244 |
+
},
|
245 |
+
{
|
246 |
+
"epoch": 1.0072645137659484,
|
247 |
+
"grad_norm": 2.897214412689209,
|
248 |
+
"learning_rate": 4.971264367816091e-07,
|
249 |
+
"loss": 0.4439,
|
250 |
+
"step": 16500
|
251 |
+
},
|
252 |
+
{
|
253 |
+
"epoch": 1.037787680849765,
|
254 |
+
"grad_norm": 3.3495912551879883,
|
255 |
+
"learning_rate": 4.818415260454878e-07,
|
256 |
+
"loss": 0.4262,
|
257 |
+
"step": 17000
|
258 |
+
},
|
259 |
+
{
|
260 |
+
"epoch": 1.0683108479335817,
|
261 |
+
"grad_norm": 3.911630153656006,
|
262 |
+
"learning_rate": 4.665566153093666e-07,
|
263 |
+
"loss": 0.4054,
|
264 |
+
"step": 17500
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"epoch": 1.0988340150173983,
|
268 |
+
"grad_norm": 4.00678014755249,
|
269 |
+
"learning_rate": 4.5127170457324525e-07,
|
270 |
+
"loss": 0.384,
|
271 |
+
"step": 18000
|
272 |
+
},
|
273 |
+
{
|
274 |
+
"epoch": 1.1293571821012147,
|
275 |
+
"grad_norm": 1.798572301864624,
|
276 |
+
"learning_rate": 4.359867938371239e-07,
|
277 |
+
"loss": 0.3723,
|
278 |
+
"step": 18500
|
279 |
+
},
|
280 |
+
{
|
281 |
+
"epoch": 1.1598803491850314,
|
282 |
+
"grad_norm": 2.2405691146850586,
|
283 |
+
"learning_rate": 4.207018831010027e-07,
|
284 |
+
"loss": 0.3543,
|
285 |
+
"step": 19000
|
286 |
+
},
|
287 |
+
{
|
288 |
+
"epoch": 1.190403516268848,
|
289 |
+
"grad_norm": 3.2392921447753906,
|
290 |
+
"learning_rate": 4.0541697236488137e-07,
|
291 |
+
"loss": 0.3447,
|
292 |
+
"step": 19500
|
293 |
+
},
|
294 |
+
{
|
295 |
+
"epoch": 1.2209266833526646,
|
296 |
+
"grad_norm": 2.627967119216919,
|
297 |
+
"learning_rate": 3.9013206162876005e-07,
|
298 |
+
"loss": 0.3294,
|
299 |
+
"step": 20000
|
300 |
+
},
|
301 |
+
{
|
302 |
+
"epoch": 1.2514498504364813,
|
303 |
+
"grad_norm": 2.1424882411956787,
|
304 |
+
"learning_rate": 3.7484715089263877e-07,
|
305 |
+
"loss": 0.3187,
|
306 |
+
"step": 20500
|
307 |
+
},
|
308 |
+
{
|
309 |
+
"epoch": 1.281973017520298,
|
310 |
+
"grad_norm": 1.112767219543457,
|
311 |
+
"learning_rate": 3.595622401565175e-07,
|
312 |
+
"loss": 0.3064,
|
313 |
+
"step": 21000
|
314 |
+
},
|
315 |
+
{
|
316 |
+
"epoch": 1.3124961846041145,
|
317 |
+
"grad_norm": 2.152557611465454,
|
318 |
+
"learning_rate": 3.4427732942039617e-07,
|
319 |
+
"loss": 0.295,
|
320 |
+
"step": 21500
|
321 |
+
},
|
322 |
+
{
|
323 |
+
"epoch": 1.3430193516879312,
|
324 |
+
"grad_norm": 4.538296222686768,
|
325 |
+
"learning_rate": 3.2899241868427484e-07,
|
326 |
+
"loss": 0.2905,
|
327 |
+
"step": 22000
|
328 |
+
},
|
329 |
+
{
|
330 |
+
"epoch": 1.3735425187717478,
|
331 |
+
"grad_norm": 0.9601655602455139,
|
332 |
+
"learning_rate": 3.1370750794815357e-07,
|
333 |
+
"loss": 0.2803,
|
334 |
+
"step": 22500
|
335 |
+
},
|
336 |
+
{
|
337 |
+
"epoch": 1.4040656858555645,
|
338 |
+
"grad_norm": 1.1636066436767578,
|
339 |
+
"learning_rate": 2.984225972120323e-07,
|
340 |
+
"loss": 0.2723,
|
341 |
+
"step": 23000
|
342 |
+
},
|
343 |
+
{
|
344 |
+
"epoch": 1.434588852939381,
|
345 |
+
"grad_norm": 1.609339714050293,
|
346 |
+
"learning_rate": 2.8313768647591097e-07,
|
347 |
+
"loss": 0.2675,
|
348 |
+
"step": 23500
|
349 |
+
},
|
350 |
+
{
|
351 |
+
"epoch": 1.4651120200231977,
|
352 |
+
"grad_norm": 1.2351226806640625,
|
353 |
+
"learning_rate": 2.6785277573978964e-07,
|
354 |
+
"loss": 0.263,
|
355 |
+
"step": 24000
|
356 |
+
},
|
357 |
+
{
|
358 |
+
"epoch": 1.4956351871070142,
|
359 |
+
"grad_norm": 1.3409004211425781,
|
360 |
+
"learning_rate": 2.5256786500366837e-07,
|
361 |
+
"loss": 0.2559,
|
362 |
+
"step": 24500
|
363 |
+
},
|
364 |
+
{
|
365 |
+
"epoch": 1.5261583541908308,
|
366 |
+
"grad_norm": 1.4352482557296753,
|
367 |
+
"learning_rate": 2.3728295426754707e-07,
|
368 |
+
"loss": 0.2496,
|
369 |
+
"step": 25000
|
370 |
+
},
|
371 |
+
{
|
372 |
+
"epoch": 1.5566815212746474,
|
373 |
+
"grad_norm": 0.6415064930915833,
|
374 |
+
"learning_rate": 2.2199804353142577e-07,
|
375 |
+
"loss": 0.2464,
|
376 |
+
"step": 25500
|
377 |
+
},
|
378 |
+
{
|
379 |
+
"epoch": 1.587204688358464,
|
380 |
+
"grad_norm": 2.4615440368652344,
|
381 |
+
"learning_rate": 2.0671313279530447e-07,
|
382 |
+
"loss": 0.2409,
|
383 |
+
"step": 26000
|
384 |
+
},
|
385 |
+
{
|
386 |
+
"epoch": 1.6177278554422807,
|
387 |
+
"grad_norm": 1.189958095550537,
|
388 |
+
"learning_rate": 1.9142822205918317e-07,
|
389 |
+
"loss": 0.2348,
|
390 |
+
"step": 26500
|
391 |
+
},
|
392 |
+
{
|
393 |
+
"epoch": 1.6482510225260973,
|
394 |
+
"grad_norm": 2.1903841495513916,
|
395 |
+
"learning_rate": 1.7614331132306187e-07,
|
396 |
+
"loss": 0.2311,
|
397 |
+
"step": 27000
|
398 |
+
},
|
399 |
+
{
|
400 |
+
"epoch": 1.6787741896099138,
|
401 |
+
"grad_norm": 0.8205296993255615,
|
402 |
+
"learning_rate": 1.6085840058694057e-07,
|
403 |
+
"loss": 0.2304,
|
404 |
+
"step": 27500
|
405 |
+
},
|
406 |
+
{
|
407 |
+
"epoch": 1.7092973566937304,
|
408 |
+
"grad_norm": 4.891010284423828,
|
409 |
+
"learning_rate": 1.4557348985081927e-07,
|
410 |
+
"loss": 0.2263,
|
411 |
+
"step": 28000
|
412 |
+
},
|
413 |
+
{
|
414 |
+
"epoch": 1.739820523777547,
|
415 |
+
"grad_norm": 0.6941288709640503,
|
416 |
+
"learning_rate": 1.3028857911469797e-07,
|
417 |
+
"loss": 0.2232,
|
418 |
+
"step": 28500
|
419 |
+
},
|
420 |
+
{
|
421 |
+
"epoch": 1.7703436908613637,
|
422 |
+
"grad_norm": 4.083600044250488,
|
423 |
+
"learning_rate": 1.1500366837857667e-07,
|
424 |
+
"loss": 0.2224,
|
425 |
+
"step": 29000
|
426 |
+
},
|
427 |
+
{
|
428 |
+
"epoch": 1.8008668579451803,
|
429 |
+
"grad_norm": 1.6778802871704102,
|
430 |
+
"learning_rate": 9.971875764245537e-08,
|
431 |
+
"loss": 0.2137,
|
432 |
+
"step": 29500
|
433 |
+
},
|
434 |
+
{
|
435 |
+
"epoch": 1.831390025028997,
|
436 |
+
"grad_norm": 1.4329912662506104,
|
437 |
+
"learning_rate": 8.443384690633407e-08,
|
438 |
+
"loss": 0.2173,
|
439 |
+
"step": 30000
|
440 |
+
},
|
441 |
+
{
|
442 |
+
"epoch": 1.8619131921128136,
|
443 |
+
"grad_norm": 0.7210848927497864,
|
444 |
+
"learning_rate": 6.914893617021277e-08,
|
445 |
+
"loss": 0.2148,
|
446 |
+
"step": 30500
|
447 |
+
},
|
448 |
+
{
|
449 |
+
"epoch": 1.8924363591966302,
|
450 |
+
"grad_norm": 1.2058182954788208,
|
451 |
+
"learning_rate": 5.3864025434091465e-08,
|
452 |
+
"loss": 0.2095,
|
453 |
+
"step": 31000
|
454 |
+
},
|
455 |
+
{
|
456 |
+
"epoch": 1.9229595262804469,
|
457 |
+
"grad_norm": 3.8798255920410156,
|
458 |
+
"learning_rate": 3.8579114697970164e-08,
|
459 |
+
"loss": 0.2126,
|
460 |
+
"step": 31500
|
461 |
+
},
|
462 |
+
{
|
463 |
+
"epoch": 1.9534826933642635,
|
464 |
+
"grad_norm": 1.628147840499878,
|
465 |
+
"learning_rate": 2.3294203961848864e-08,
|
466 |
+
"loss": 0.207,
|
467 |
+
"step": 32000
|
468 |
+
},
|
469 |
+
{
|
470 |
+
"epoch": 1.9840058604480801,
|
471 |
+
"grad_norm": 5.18979024887085,
|
472 |
+
"learning_rate": 8.009293225727562e-09,
|
473 |
+
"loss": 0.2087,
|
474 |
+
"step": 32500
|
475 |
+
},
|
476 |
+
{
|
477 |
+
"epoch": 2.0,
|
478 |
+
"eval_accuracy": 0.9874834744089418,
|
479 |
+
"eval_loss": 0.2096688449382782,
|
480 |
+
"eval_model_preparation_time": 0.0071,
|
481 |
+
"eval_runtime": 555.5392,
|
482 |
+
"eval_samples_per_second": 104.84,
|
483 |
+
"eval_steps_per_second": 13.106,
|
484 |
+
"step": 32762
|
485 |
+
}
|
486 |
+
],
|
487 |
+
"logging_steps": 500,
|
488 |
+
"max_steps": 32762,
|
489 |
+
"num_input_tokens_seen": 0,
|
490 |
+
"num_train_epochs": 2,
|
491 |
+
"save_steps": 500,
|
492 |
+
"stateful_callbacks": {
|
493 |
+
"TrainerControl": {
|
494 |
+
"args": {
|
495 |
+
"should_epoch_stop": false,
|
496 |
+
"should_evaluate": false,
|
497 |
+
"should_log": false,
|
498 |
+
"should_save": true,
|
499 |
+
"should_training_stop": true
|
500 |
+
},
|
501 |
+
"attributes": {}
|
502 |
+
}
|
503 |
+
},
|
504 |
+
"total_flos": 8.124797659371543e+19,
|
505 |
+
"train_batch_size": 32,
|
506 |
+
"trial_name": null,
|
507 |
+
"trial_params": null
|
508 |
+
}
|
checkpoint-32762/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b508e14632086484211a9078190429eeb9b00bcf8cfdebd39aabc2bd15411e1b
|
3 |
+
size 5176
|
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Abuse",
|
13 |
+
"1": "Arrest",
|
14 |
+
"2": "Arson",
|
15 |
+
"3": "Assault",
|
16 |
+
"4": "Burglary",
|
17 |
+
"5": "Explosion",
|
18 |
+
"6": "Fighting",
|
19 |
+
"7": "RoadAccidents",
|
20 |
+
"8": "Robbery",
|
21 |
+
"9": "Shooting",
|
22 |
+
"10": "Shoplifting",
|
23 |
+
"11": "Stealing",
|
24 |
+
"12": "Vandalism"
|
25 |
+
},
|
26 |
+
"image_size": 224,
|
27 |
+
"initializer_range": 0.02,
|
28 |
+
"intermediate_size": 3072,
|
29 |
+
"label2id": {
|
30 |
+
"Abuse": 0,
|
31 |
+
"Arrest": 1,
|
32 |
+
"Arson": 2,
|
33 |
+
"Assault": 3,
|
34 |
+
"Burglary": 4,
|
35 |
+
"Explosion": 5,
|
36 |
+
"Fighting": 6,
|
37 |
+
"RoadAccidents": 7,
|
38 |
+
"Robbery": 8,
|
39 |
+
"Shooting": 9,
|
40 |
+
"Shoplifting": 10,
|
41 |
+
"Stealing": 11,
|
42 |
+
"Vandalism": 12
|
43 |
+
},
|
44 |
+
"layer_norm_eps": 1e-12,
|
45 |
+
"model_type": "vit",
|
46 |
+
"num_attention_heads": 12,
|
47 |
+
"num_channels": 3,
|
48 |
+
"num_hidden_layers": 12,
|
49 |
+
"patch_size": 16,
|
50 |
+
"problem_type": "single_label_classification",
|
51 |
+
"qkv_bias": true,
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.46.1"
|
54 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c7a21cb251d8954a9b6e02a068dd53e3a9e194a0bdc80a47aeaabfda165f7d87
|
3 |
+
size 343257812
|
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": 224,
|
20 |
+
"width": 224
|
21 |
+
}
|
22 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b508e14632086484211a9078190429eeb9b00bcf8cfdebd39aabc2bd15411e1b
|
3 |
+
size 5176
|