abhishek HF staff commited on
Commit
34d8e6d
1 Parent(s): d59357b

Upload folder using huggingface_hub

Browse files
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-i6l7-e3p1-lu90
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-275/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-275/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a890359c283254b8e3e97aaf57fda3f3ac8644b2be46df922ea626abcbf033ad
3
+ size 343233204
checkpoint-275/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be0d677ec29274c468d83ae2adfeb4ce98e9b9367881ac43da8f2606d86fb97e
3
+ size 1640
checkpoint-275/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-275/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:568b4092fe5f2747f46b3b3c6e6e0c8fe23d6f86bafcc38694a95b43c8ac044b
3
+ size 1064
checkpoint-275/trainer_state.json ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": NaN,
3
+ "best_model_checkpoint": "/tmp/model/checkpoint-275",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 275,
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.05,
13
+ "learning_rate": 0.0,
14
+ "loss": 0.0,
15
+ "step": 13
16
+ },
17
+ {
18
+ "epoch": 0.09,
19
+ "learning_rate": 0.0,
20
+ "loss": 0.0,
21
+ "step": 26
22
+ },
23
+ {
24
+ "epoch": 0.14,
25
+ "learning_rate": 0.0,
26
+ "loss": 0.0,
27
+ "step": 39
28
+ },
29
+ {
30
+ "epoch": 0.19,
31
+ "learning_rate": 0.0,
32
+ "loss": 0.0,
33
+ "step": 52
34
+ },
35
+ {
36
+ "epoch": 0.24,
37
+ "learning_rate": 0.0,
38
+ "loss": 0.0,
39
+ "step": 65
40
+ },
41
+ {
42
+ "epoch": 0.28,
43
+ "learning_rate": 0.0,
44
+ "loss": 0.0,
45
+ "step": 78
46
+ },
47
+ {
48
+ "epoch": 0.33,
49
+ "learning_rate": 0.0,
50
+ "loss": 0.0,
51
+ "step": 91
52
+ },
53
+ {
54
+ "epoch": 0.38,
55
+ "learning_rate": 0.0,
56
+ "loss": 0.0,
57
+ "step": 104
58
+ },
59
+ {
60
+ "epoch": 0.43,
61
+ "learning_rate": 0.0,
62
+ "loss": 0.0,
63
+ "step": 117
64
+ },
65
+ {
66
+ "epoch": 0.47,
67
+ "learning_rate": 0.0,
68
+ "loss": 0.0,
69
+ "step": 130
70
+ },
71
+ {
72
+ "epoch": 0.52,
73
+ "learning_rate": 0.0,
74
+ "loss": 0.0,
75
+ "step": 143
76
+ },
77
+ {
78
+ "epoch": 0.57,
79
+ "learning_rate": 0.0,
80
+ "loss": 0.0,
81
+ "step": 156
82
+ },
83
+ {
84
+ "epoch": 0.61,
85
+ "learning_rate": 0.0,
86
+ "loss": 0.0,
87
+ "step": 169
88
+ },
89
+ {
90
+ "epoch": 0.66,
91
+ "learning_rate": 0.0,
92
+ "loss": 0.0,
93
+ "step": 182
94
+ },
95
+ {
96
+ "epoch": 0.71,
97
+ "learning_rate": 0.0,
98
+ "loss": 0.0,
99
+ "step": 195
100
+ },
101
+ {
102
+ "epoch": 0.76,
103
+ "learning_rate": 0.0,
104
+ "loss": 0.0,
105
+ "step": 208
106
+ },
107
+ {
108
+ "epoch": 0.8,
109
+ "learning_rate": 0.0,
110
+ "loss": 0.0,
111
+ "step": 221
112
+ },
113
+ {
114
+ "epoch": 0.85,
115
+ "learning_rate": 0.0,
116
+ "loss": 0.0,
117
+ "step": 234
118
+ },
119
+ {
120
+ "epoch": 0.9,
121
+ "learning_rate": 0.0,
122
+ "loss": 0.0,
123
+ "step": 247
124
+ },
125
+ {
126
+ "epoch": 0.95,
127
+ "learning_rate": 0.0,
128
+ "loss": 0.0,
129
+ "step": 260
130
+ },
131
+ {
132
+ "epoch": 0.99,
133
+ "learning_rate": 0.0,
134
+ "loss": 0.0,
135
+ "step": 273
136
+ },
137
+ {
138
+ "epoch": 1.0,
139
+ "eval_accuracy": 0.18181818181818182,
140
+ "eval_f1_macro": 0.06153846153846154,
141
+ "eval_f1_micro": 0.18181818181818182,
142
+ "eval_f1_weighted": 0.055944055944055944,
143
+ "eval_loss": NaN,
144
+ "eval_precision_macro": 0.03636363636363636,
145
+ "eval_precision_micro": 0.18181818181818182,
146
+ "eval_precision_weighted": 0.03305785123966942,
147
+ "eval_recall_macro": 0.2,
148
+ "eval_recall_micro": 0.18181818181818182,
149
+ "eval_recall_weighted": 0.18181818181818182,
150
+ "eval_runtime": 2.5061,
151
+ "eval_samples_per_second": 219.463,
152
+ "eval_steps_per_second": 13.966,
153
+ "step": 275
154
+ }
155
+ ],
156
+ "logging_steps": 13,
157
+ "max_steps": 825,
158
+ "num_input_tokens_seen": 0,
159
+ "num_train_epochs": 3,
160
+ "save_steps": 500,
161
+ "total_flos": 1.7017698479807693e+17,
162
+ "train_batch_size": 8,
163
+ "trial_name": null,
164
+ "trial_params": null
165
+ }
checkpoint-275/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a587f6c4e7d53cde13b7b4d637138666d89435ca84fb8cea9e076b176704249
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:a890359c283254b8e3e97aaf57fda3f3ac8644b2be46df922ea626abcbf033ad
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:3a587f6c4e7d53cde13b7b4d637138666d89435ca84fb8cea9e076b176704249
3
+ size 4728
training_params.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "abhishek/autotrain-data-i6l7-e3p1-lu90",
3
+ "model": "google/vit-base-patch16-224",
4
+ "lr": 5e-05,
5
+ "epochs": 3,
6
+ "batch_size": 8,
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/i6l7-e3p1-lu90-0",
24
+ "evaluation_strategy": "epoch",
25
+ "image_column": "autotrain_image",
26
+ "target_column": "autotrain_label",
27
+ "log": "none"
28
+ }