Upload folder using huggingface_hub
Browse files- README.md +42 -0
- checkpoint-138/config.json +39 -0
- checkpoint-138/model.safetensors +3 -0
- checkpoint-138/optimizer.pt +3 -0
- checkpoint-138/rng_state.pth +3 -0
- checkpoint-138/scheduler.pt +3 -0
- checkpoint-138/trainer_state.json +177 -0
- checkpoint-138/training_args.bin +3 -0
- config.json +39 -0
- model.safetensors +3 -0
- preprocessor_config.json +22 -0
- training_args.bin +3 -0
- training_params.json +28 -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 |
+
- abhishek/autotrain-data-wf85-h28o-tffz2
|
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.06153846153846154
|
25 |
+
|
26 |
+
f1_micro: 0.18181818181818182
|
27 |
+
|
28 |
+
f1_weighted: 0.055944055944055944
|
29 |
+
|
30 |
+
precision_macro: 0.03636363636363636
|
31 |
+
|
32 |
+
precision_micro: 0.18181818181818182
|
33 |
+
|
34 |
+
precision_weighted: 0.03305785123966942
|
35 |
+
|
36 |
+
recall_macro: 0.2
|
37 |
+
|
38 |
+
recall_micro: 0.18181818181818182
|
39 |
+
|
40 |
+
recall_weighted: 0.18181818181818182
|
41 |
+
|
42 |
+
accuracy: 0.18181818181818182
|
checkpoint-138/config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224",
|
3 |
+
"_num_labels": 5,
|
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": "daisy",
|
14 |
+
"1": "dandelion",
|
15 |
+
"2": "rose",
|
16 |
+
"3": "sunflower",
|
17 |
+
"4": "tulip"
|
18 |
+
},
|
19 |
+
"image_size": 224,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
+
"label2id": {
|
23 |
+
"daisy": 0,
|
24 |
+
"dandelion": 1,
|
25 |
+
"rose": 2,
|
26 |
+
"sunflower": 3,
|
27 |
+
"tulip": 4
|
28 |
+
},
|
29 |
+
"layer_norm_eps": 1e-12,
|
30 |
+
"model_type": "vit",
|
31 |
+
"num_attention_heads": 12,
|
32 |
+
"num_channels": 3,
|
33 |
+
"num_hidden_layers": 12,
|
34 |
+
"patch_size": 16,
|
35 |
+
"problem_type": "single_label_classification",
|
36 |
+
"qkv_bias": true,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.36.1"
|
39 |
+
}
|
checkpoint-138/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d31e806add06bf579fb06df49955274cb273fd07791f27e6d499f30cc870ac89
|
3 |
+
size 343233204
|
checkpoint-138/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b80350a4aff45b9ee5160cb3495b181c1f342a7e1dcf39df58fd350d652959a2
|
3 |
+
size 1640
|
checkpoint-138/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c0f114b2f8139d5b4a4cae89b060e426c896fe903b3ecd1246c31df367ed83ba
|
3 |
+
size 14244
|
checkpoint-138/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:545d01d7070bc2d6047261c14171508df2ebf19a743125fc626749172ad01456
|
3 |
+
size 1064
|
checkpoint-138/trainer_state.json
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": NaN,
|
3 |
+
"best_model_checkpoint": "/tmp/model/checkpoint-138",
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 138,
|
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": 6
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.09,
|
19 |
+
"learning_rate": 0.0,
|
20 |
+
"loss": 0.0,
|
21 |
+
"step": 12
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.13,
|
25 |
+
"learning_rate": 0.0,
|
26 |
+
"loss": 0.0,
|
27 |
+
"step": 18
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.17,
|
31 |
+
"learning_rate": 0.0,
|
32 |
+
"loss": 0.0,
|
33 |
+
"step": 24
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.22,
|
37 |
+
"learning_rate": 0.0,
|
38 |
+
"loss": 0.0,
|
39 |
+
"step": 30
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.26,
|
43 |
+
"learning_rate": 0.0,
|
44 |
+
"loss": 0.0,
|
45 |
+
"step": 36
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.3,
|
49 |
+
"learning_rate": 0.0,
|
50 |
+
"loss": 0.0,
|
51 |
+
"step": 42
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.35,
|
55 |
+
"learning_rate": 0.0,
|
56 |
+
"loss": 0.0,
|
57 |
+
"step": 48
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.39,
|
61 |
+
"learning_rate": 0.0,
|
62 |
+
"loss": 0.0,
|
63 |
+
"step": 54
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.43,
|
67 |
+
"learning_rate": 0.0,
|
68 |
+
"loss": 0.0,
|
69 |
+
"step": 60
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.48,
|
73 |
+
"learning_rate": 0.0,
|
74 |
+
"loss": 0.0,
|
75 |
+
"step": 66
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.52,
|
79 |
+
"learning_rate": 0.0,
|
80 |
+
"loss": 0.0,
|
81 |
+
"step": 72
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.57,
|
85 |
+
"learning_rate": 0.0,
|
86 |
+
"loss": 0.0,
|
87 |
+
"step": 78
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.61,
|
91 |
+
"learning_rate": 0.0,
|
92 |
+
"loss": 0.0,
|
93 |
+
"step": 84
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.65,
|
97 |
+
"learning_rate": 0.0,
|
98 |
+
"loss": 0.0,
|
99 |
+
"step": 90
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.7,
|
103 |
+
"learning_rate": 0.0,
|
104 |
+
"loss": 0.0,
|
105 |
+
"step": 96
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 0.74,
|
109 |
+
"learning_rate": 0.0,
|
110 |
+
"loss": 0.0,
|
111 |
+
"step": 102
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 0.78,
|
115 |
+
"learning_rate": 0.0,
|
116 |
+
"loss": 0.0,
|
117 |
+
"step": 108
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 0.83,
|
121 |
+
"learning_rate": 0.0,
|
122 |
+
"loss": 0.0,
|
123 |
+
"step": 114
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 0.87,
|
127 |
+
"learning_rate": 0.0,
|
128 |
+
"loss": 0.0,
|
129 |
+
"step": 120
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.91,
|
133 |
+
"learning_rate": 0.0,
|
134 |
+
"loss": 0.0,
|
135 |
+
"step": 126
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.96,
|
139 |
+
"learning_rate": 0.0,
|
140 |
+
"loss": 0.0,
|
141 |
+
"step": 132
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 1.0,
|
145 |
+
"learning_rate": 0.0,
|
146 |
+
"loss": 0.0,
|
147 |
+
"step": 138
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 1.0,
|
151 |
+
"eval_accuracy": 0.18181818181818182,
|
152 |
+
"eval_f1_macro": 0.06153846153846154,
|
153 |
+
"eval_f1_micro": 0.18181818181818182,
|
154 |
+
"eval_f1_weighted": 0.055944055944055944,
|
155 |
+
"eval_loss": NaN,
|
156 |
+
"eval_precision_macro": 0.03636363636363636,
|
157 |
+
"eval_precision_micro": 0.18181818181818182,
|
158 |
+
"eval_precision_weighted": 0.03305785123966942,
|
159 |
+
"eval_recall_macro": 0.2,
|
160 |
+
"eval_recall_micro": 0.18181818181818182,
|
161 |
+
"eval_recall_weighted": 0.18181818181818182,
|
162 |
+
"eval_runtime": 2.3944,
|
163 |
+
"eval_samples_per_second": 229.707,
|
164 |
+
"eval_steps_per_second": 7.518,
|
165 |
+
"step": 138
|
166 |
+
}
|
167 |
+
],
|
168 |
+
"logging_steps": 6,
|
169 |
+
"max_steps": 138,
|
170 |
+
"num_input_tokens_seen": 0,
|
171 |
+
"num_train_epochs": 1,
|
172 |
+
"save_steps": 500,
|
173 |
+
"total_flos": 1.7017698479807693e+17,
|
174 |
+
"train_batch_size": 16,
|
175 |
+
"trial_name": null,
|
176 |
+
"trial_params": null
|
177 |
+
}
|
checkpoint-138/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3a3fcf3171b960e13d7d40d90dc3f070a51f49bdbb3fe5cd5478610bf6c90d16
|
3 |
+
size 4728
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "google/vit-base-patch16-224",
|
3 |
+
"_num_labels": 5,
|
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": "daisy",
|
14 |
+
"1": "dandelion",
|
15 |
+
"2": "rose",
|
16 |
+
"3": "sunflower",
|
17 |
+
"4": "tulip"
|
18 |
+
},
|
19 |
+
"image_size": 224,
|
20 |
+
"initializer_range": 0.02,
|
21 |
+
"intermediate_size": 3072,
|
22 |
+
"label2id": {
|
23 |
+
"daisy": 0,
|
24 |
+
"dandelion": 1,
|
25 |
+
"rose": 2,
|
26 |
+
"sunflower": 3,
|
27 |
+
"tulip": 4
|
28 |
+
},
|
29 |
+
"layer_norm_eps": 1e-12,
|
30 |
+
"model_type": "vit",
|
31 |
+
"num_attention_heads": 12,
|
32 |
+
"num_channels": 3,
|
33 |
+
"num_hidden_layers": 12,
|
34 |
+
"patch_size": 16,
|
35 |
+
"problem_type": "single_label_classification",
|
36 |
+
"qkv_bias": true,
|
37 |
+
"torch_dtype": "float32",
|
38 |
+
"transformers_version": "4.36.1"
|
39 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d31e806add06bf579fb06df49955274cb273fd07791f27e6d499f30cc870ac89
|
3 |
+
size 343233204
|
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:3a3fcf3171b960e13d7d40d90dc3f070a51f49bdbb3fe5cd5478610bf6c90d16
|
3 |
+
size 4728
|
training_params.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "abhishek/autotrain-data-wf85-h28o-tffz2",
|
3 |
+
"model": "google/vit-base-patch16-224",
|
4 |
+
"lr": 3e-05,
|
5 |
+
"epochs": 1,
|
6 |
+
"batch_size": 16,
|
7 |
+
"warmup_ratio": 0.1,
|
8 |
+
"gradient_accumulation": 1,
|
9 |
+
"optimizer": "adamw_torch",
|
10 |
+
"scheduler": "linear",
|
11 |
+
"weight_decay": 0.0,
|
12 |
+
"max_grad_norm": 1.0,
|
13 |
+
"seed": 42,
|
14 |
+
"train_split": "train",
|
15 |
+
"valid_split": "validation",
|
16 |
+
"logging_steps": -1,
|
17 |
+
"project_name": "/tmp/model",
|
18 |
+
"auto_find_batch_size": false,
|
19 |
+
"mixed_precision": "fp16",
|
20 |
+
"save_total_limit": 1,
|
21 |
+
"save_strategy": "epoch",
|
22 |
+
"push_to_hub": true,
|
23 |
+
"repo_id": "abhishek/wf85-h28o-tffz2-0",
|
24 |
+
"evaluation_strategy": "epoch",
|
25 |
+
"image_column": "autotrain_image",
|
26 |
+
"target_column": "autotrain_label",
|
27 |
+
"log": "none"
|
28 |
+
}
|