bryanrsmith
commited on
Commit
•
b199fc2
1
Parent(s):
f0b6338
Upload folder using huggingface_hub
Browse files- README.md +42 -0
- checkpoint-26/config.json +41 -0
- checkpoint-26/model.safetensors +3 -0
- checkpoint-26/optimizer.pt +3 -0
- checkpoint-26/rng_state.pth +3 -0
- checkpoint-26/scheduler.pt +3 -0
- checkpoint-26/trainer_state.json +195 -0
- checkpoint-26/training_args.bin +3 -0
- config.json +41 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
- training_params.json +29 -0
README.md
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- image-classification
|
6 |
+
widget:
|
7 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
8 |
+
example_title: Tiger
|
9 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
10 |
+
example_title: Teapot
|
11 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
12 |
+
example_title: Palace
|
13 |
+
datasets:
|
14 |
+
- 99spokes/autotrain-data-autotrain-uzhlw-t4qte
|
15 |
+
---
|
16 |
+
|
17 |
+
# Model Trained Using AutoTrain
|
18 |
+
|
19 |
+
- Problem type: Image Classification
|
20 |
+
|
21 |
+
## Validation Metricsg
|
22 |
+
loss: nan
|
23 |
+
|
24 |
+
f1_macro: 0.029761904761904757
|
25 |
+
|
26 |
+
f1_micro: 0.09803921568627451
|
27 |
+
|
28 |
+
f1_weighted: 0.01750700280112045
|
29 |
+
|
30 |
+
precision_macro: 0.016339869281045753
|
31 |
+
|
32 |
+
precision_micro: 0.09803921568627451
|
33 |
+
|
34 |
+
precision_weighted: 0.009611687812379853
|
35 |
+
|
36 |
+
recall_macro: 0.16666666666666666
|
37 |
+
|
38 |
+
recall_micro: 0.09803921568627451
|
39 |
+
|
40 |
+
recall_weighted: 0.09803921568627451
|
41 |
+
|
42 |
+
accuracy: 0.09803921568627451
|
checkpoint-26/config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224",
|
3 |
+
"_num_labels": 6,
|
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": "action",
|
14 |
+
"1": "frameset",
|
15 |
+
"2": "geometry",
|
16 |
+
"3": "placeholder",
|
17 |
+
"4": "studio-other",
|
18 |
+
"5": "studio-side"
|
19 |
+
},
|
20 |
+
"image_size": 224,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"action": 0,
|
25 |
+
"frameset": 1,
|
26 |
+
"geometry": 2,
|
27 |
+
"placeholder": 3,
|
28 |
+
"studio-other": 4,
|
29 |
+
"studio-side": 5
|
30 |
+
},
|
31 |
+
"layer_norm_eps": 1e-12,
|
32 |
+
"model_type": "vit",
|
33 |
+
"num_attention_heads": 12,
|
34 |
+
"num_channels": 3,
|
35 |
+
"num_hidden_layers": 12,
|
36 |
+
"patch_size": 16,
|
37 |
+
"problem_type": "single_label_classification",
|
38 |
+
"qkv_bias": true,
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.36.1"
|
41 |
+
}
|
checkpoint-26/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afa3c4bcb6efe3b174f1d4e47c826c83076e78cce01af7d6bc9517f162aca9c8
|
3 |
+
size 343236280
|
checkpoint-26/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7408943bf8079afc3f4881204d828175f0b6c5943f072e01adb3c296db16fa23
|
3 |
+
size 1640
|
checkpoint-26/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ae4ec8aa9025d8f5cdead058339d64ce3ce1525941810f3ea2dbece8ca6b856b
|
3 |
+
size 14244
|
checkpoint-26/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8e6fbcd3c00a10aa00f162b699415671dae438033522565f55888b4b3a057c0d
|
3 |
+
size 1064
|
checkpoint-26/trainer_state.json
ADDED
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": NaN,
|
3 |
+
"best_model_checkpoint": "/tmp/model/checkpoint-26",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 26,
|
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.04,
|
13 |
+
"learning_rate": 0.0,
|
14 |
+
"loss": 0.0,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.08,
|
19 |
+
"learning_rate": 0.0,
|
20 |
+
"loss": 0.0,
|
21 |
+
"step": 2
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.12,
|
25 |
+
"learning_rate": 0.0,
|
26 |
+
"loss": 0.0,
|
27 |
+
"step": 3
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.15,
|
31 |
+
"learning_rate": 0.0,
|
32 |
+
"loss": 0.0,
|
33 |
+
"step": 4
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.19,
|
37 |
+
"learning_rate": 0.0,
|
38 |
+
"loss": 0.0,
|
39 |
+
"step": 5
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.23,
|
43 |
+
"learning_rate": 0.0,
|
44 |
+
"loss": 0.0,
|
45 |
+
"step": 6
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.27,
|
49 |
+
"learning_rate": 0.0,
|
50 |
+
"loss": 0.0,
|
51 |
+
"step": 7
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.31,
|
55 |
+
"learning_rate": 0.0,
|
56 |
+
"loss": 0.0,
|
57 |
+
"step": 8
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.35,
|
61 |
+
"learning_rate": 0.0,
|
62 |
+
"loss": 0.0,
|
63 |
+
"step": 9
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.38,
|
67 |
+
"learning_rate": 0.0,
|
68 |
+
"loss": 0.0,
|
69 |
+
"step": 10
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.42,
|
73 |
+
"learning_rate": 0.0,
|
74 |
+
"loss": 0.0,
|
75 |
+
"step": 11
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.46,
|
79 |
+
"learning_rate": 0.0,
|
80 |
+
"loss": 0.0,
|
81 |
+
"step": 12
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.5,
|
85 |
+
"learning_rate": 0.0,
|
86 |
+
"loss": 0.0,
|
87 |
+
"step": 13
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.54,
|
91 |
+
"learning_rate": 0.0,
|
92 |
+
"loss": 0.0,
|
93 |
+
"step": 14
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.58,
|
97 |
+
"learning_rate": 0.0,
|
98 |
+
"loss": 0.0,
|
99 |
+
"step": 15
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.62,
|
103 |
+
"learning_rate": 0.0,
|
104 |
+
"loss": 0.0,
|
105 |
+
"step": 16
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 0.65,
|
109 |
+
"learning_rate": 0.0,
|
110 |
+
"loss": 0.0,
|
111 |
+
"step": 17
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 0.69,
|
115 |
+
"learning_rate": 0.0,
|
116 |
+
"loss": 0.0,
|
117 |
+
"step": 18
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 0.73,
|
121 |
+
"learning_rate": 0.0,
|
122 |
+
"loss": 0.0,
|
123 |
+
"step": 19
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 0.77,
|
127 |
+
"learning_rate": 0.0,
|
128 |
+
"loss": 0.0,
|
129 |
+
"step": 20
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.81,
|
133 |
+
"learning_rate": 0.0,
|
134 |
+
"loss": 0.0,
|
135 |
+
"step": 21
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.85,
|
139 |
+
"learning_rate": 0.0,
|
140 |
+
"loss": 0.0,
|
141 |
+
"step": 22
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 0.88,
|
145 |
+
"learning_rate": 0.0,
|
146 |
+
"loss": 0.0,
|
147 |
+
"step": 23
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 0.92,
|
151 |
+
"learning_rate": 0.0,
|
152 |
+
"loss": 0.0,
|
153 |
+
"step": 24
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 0.96,
|
157 |
+
"learning_rate": 0.0,
|
158 |
+
"loss": 0.0,
|
159 |
+
"step": 25
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 1.0,
|
163 |
+
"learning_rate": 0.0,
|
164 |
+
"loss": 0.0,
|
165 |
+
"step": 26
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 1.0,
|
169 |
+
"eval_accuracy": 0.09803921568627451,
|
170 |
+
"eval_f1_macro": 0.029761904761904757,
|
171 |
+
"eval_f1_micro": 0.09803921568627451,
|
172 |
+
"eval_f1_weighted": 0.01750700280112045,
|
173 |
+
"eval_loss": NaN,
|
174 |
+
"eval_precision_macro": 0.016339869281045753,
|
175 |
+
"eval_precision_micro": 0.09803921568627451,
|
176 |
+
"eval_precision_weighted": 0.009611687812379853,
|
177 |
+
"eval_recall_macro": 0.16666666666666666,
|
178 |
+
"eval_recall_micro": 0.09803921568627451,
|
179 |
+
"eval_recall_weighted": 0.09803921568627451,
|
180 |
+
"eval_runtime": 0.3417,
|
181 |
+
"eval_samples_per_second": 149.24,
|
182 |
+
"eval_steps_per_second": 11.705,
|
183 |
+
"step": 26
|
184 |
+
}
|
185 |
+
],
|
186 |
+
"logging_steps": 1,
|
187 |
+
"max_steps": 260,
|
188 |
+
"num_input_tokens_seen": 0,
|
189 |
+
"num_train_epochs": 10,
|
190 |
+
"save_steps": 500,
|
191 |
+
"total_flos": 1.557644831963136e+16,
|
192 |
+
"train_batch_size": 8,
|
193 |
+
"trial_name": null,
|
194 |
+
"trial_params": null
|
195 |
+
}
|
checkpoint-26/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ac2d083666a693c33c8d1831e9e44c7a20b3498f12d9b02f7c9ceb6de7f5ae26
|
3 |
+
size 4728
|
config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224",
|
3 |
+
"_num_labels": 6,
|
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": "action",
|
14 |
+
"1": "frameset",
|
15 |
+
"2": "geometry",
|
16 |
+
"3": "placeholder",
|
17 |
+
"4": "studio-other",
|
18 |
+
"5": "studio-side"
|
19 |
+
},
|
20 |
+
"image_size": 224,
|
21 |
+
"initializer_range": 0.02,
|
22 |
+
"intermediate_size": 3072,
|
23 |
+
"label2id": {
|
24 |
+
"action": 0,
|
25 |
+
"frameset": 1,
|
26 |
+
"geometry": 2,
|
27 |
+
"placeholder": 3,
|
28 |
+
"studio-other": 4,
|
29 |
+
"studio-side": 5
|
30 |
+
},
|
31 |
+
"layer_norm_eps": 1e-12,
|
32 |
+
"model_type": "vit",
|
33 |
+
"num_attention_heads": 12,
|
34 |
+
"num_channels": 3,
|
35 |
+
"num_hidden_layers": 12,
|
36 |
+
"patch_size": 16,
|
37 |
+
"problem_type": "single_label_classification",
|
38 |
+
"qkv_bias": true,
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"transformers_version": "4.36.1"
|
41 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:afa3c4bcb6efe3b174f1d4e47c826c83076e78cce01af7d6bc9517f162aca9c8
|
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": "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:ac2d083666a693c33c8d1831e9e44c7a20b3498f12d9b02f7c9ceb6de7f5ae26
|
3 |
+
size 4728
|
training_params.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "99spokes/autotrain-data-autotrain-uzhlw-t4qte",
|
3 |
+
"model": "google/vit-base-patch16-224",
|
4 |
+
"username": "99spokes",
|
5 |
+
"lr": 0.0001,
|
6 |
+
"epochs": 10,
|
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": "/tmp/model",
|
19 |
+
"auto_find_batch_size": false,
|
20 |
+
"mixed_precision": "fp16",
|
21 |
+
"save_total_limit": 1,
|
22 |
+
"save_strategy": "epoch",
|
23 |
+
"push_to_hub": true,
|
24 |
+
"repo_id": "99spokes/autotrain-uzhlw-t4qte",
|
25 |
+
"evaluation_strategy": "epoch",
|
26 |
+
"image_column": "autotrain_image",
|
27 |
+
"target_column": "autotrain_label",
|
28 |
+
"log": "none"
|
29 |
+
}
|