abhishek HF staff commited on
Commit
4c42a7f
1 Parent(s): ebab0db

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-3iqe-6zi8-5xf73
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.09132538710036761
25
+
26
+ f1_micro: 0.1690909090909091
27
+
28
+ f1_weighted: 0.08854425957244272
29
+
30
+ precision_macro: 0.07907624633431085
31
+
32
+ precision_micro: 0.1690909090909091
33
+
34
+ precision_weighted: 0.08039189549453478
35
+
36
+ recall_macro: 0.18150387596899226
37
+
38
+ recall_micro: 0.1690909090909091
39
+
40
+ recall_weighted: 0.1690909090909091
41
+
42
+ accuracy: 0.1690909090909091
checkpoint-549/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-549/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a05d3779f46aeb39b924422e53db4016953f26e429dcaf248d9e6614c462efa1
3
+ size 343233204
checkpoint-549/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:821f7eb20964ee9356c4d8ae622269038f49faab5b195f6592254ec51c42095d
3
+ size 1640
checkpoint-549/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-549/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30880c73fbfcf0cbc951198f5a37bcbf115ffb81386c56c0f9ebad1e2526b13b
3
+ size 1064
checkpoint-549/trainer_state.json ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": NaN,
3
+ "best_model_checkpoint": "/tmp/model/checkpoint-549",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 549,
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": 27
16
+ },
17
+ {
18
+ "epoch": 0.1,
19
+ "learning_rate": 0.0,
20
+ "loss": 0.0,
21
+ "step": 54
22
+ },
23
+ {
24
+ "epoch": 0.15,
25
+ "learning_rate": 0.0,
26
+ "loss": 0.0,
27
+ "step": 81
28
+ },
29
+ {
30
+ "epoch": 0.2,
31
+ "learning_rate": 0.0,
32
+ "loss": 0.0,
33
+ "step": 108
34
+ },
35
+ {
36
+ "epoch": 0.25,
37
+ "learning_rate": 0.0,
38
+ "loss": 0.0,
39
+ "step": 135
40
+ },
41
+ {
42
+ "epoch": 0.3,
43
+ "learning_rate": 0.0,
44
+ "loss": 0.0,
45
+ "step": 162
46
+ },
47
+ {
48
+ "epoch": 0.34,
49
+ "learning_rate": 0.0,
50
+ "loss": 0.0,
51
+ "step": 189
52
+ },
53
+ {
54
+ "epoch": 0.39,
55
+ "learning_rate": 0.0,
56
+ "loss": 0.0,
57
+ "step": 216
58
+ },
59
+ {
60
+ "epoch": 0.44,
61
+ "learning_rate": 0.0,
62
+ "loss": 0.0,
63
+ "step": 243
64
+ },
65
+ {
66
+ "epoch": 0.49,
67
+ "learning_rate": 0.0,
68
+ "loss": 0.0,
69
+ "step": 270
70
+ },
71
+ {
72
+ "epoch": 0.54,
73
+ "learning_rate": 0.0,
74
+ "loss": 0.0,
75
+ "step": 297
76
+ },
77
+ {
78
+ "epoch": 0.59,
79
+ "learning_rate": 0.0,
80
+ "loss": 0.0,
81
+ "step": 324
82
+ },
83
+ {
84
+ "epoch": 0.64,
85
+ "learning_rate": 0.0,
86
+ "loss": 0.0,
87
+ "step": 351
88
+ },
89
+ {
90
+ "epoch": 0.69,
91
+ "learning_rate": 0.0,
92
+ "loss": 0.0,
93
+ "step": 378
94
+ },
95
+ {
96
+ "epoch": 0.74,
97
+ "learning_rate": 0.0,
98
+ "loss": 0.0,
99
+ "step": 405
100
+ },
101
+ {
102
+ "epoch": 0.79,
103
+ "learning_rate": 0.0,
104
+ "loss": 0.0,
105
+ "step": 432
106
+ },
107
+ {
108
+ "epoch": 0.84,
109
+ "learning_rate": 0.0,
110
+ "loss": 0.0,
111
+ "step": 459
112
+ },
113
+ {
114
+ "epoch": 0.89,
115
+ "learning_rate": 0.0,
116
+ "loss": 0.0,
117
+ "step": 486
118
+ },
119
+ {
120
+ "epoch": 0.93,
121
+ "learning_rate": 0.0,
122
+ "loss": 0.0,
123
+ "step": 513
124
+ },
125
+ {
126
+ "epoch": 0.98,
127
+ "learning_rate": 0.0,
128
+ "loss": 0.0,
129
+ "step": 540
130
+ },
131
+ {
132
+ "epoch": 1.0,
133
+ "eval_accuracy": 0.1690909090909091,
134
+ "eval_f1_macro": 0.09132538710036761,
135
+ "eval_f1_micro": 0.1690909090909091,
136
+ "eval_f1_weighted": 0.08854425957244272,
137
+ "eval_loss": NaN,
138
+ "eval_precision_macro": 0.07907624633431085,
139
+ "eval_precision_micro": 0.1690909090909091,
140
+ "eval_precision_weighted": 0.08039189549453478,
141
+ "eval_recall_macro": 0.18150387596899226,
142
+ "eval_recall_micro": 0.1690909090909091,
143
+ "eval_recall_weighted": 0.1690909090909091,
144
+ "eval_runtime": 2.6849,
145
+ "eval_samples_per_second": 204.847,
146
+ "eval_steps_per_second": 25.699,
147
+ "step": 549
148
+ }
149
+ ],
150
+ "logging_steps": 27,
151
+ "max_steps": 1647,
152
+ "num_input_tokens_seen": 0,
153
+ "num_train_epochs": 3,
154
+ "save_steps": 500,
155
+ "total_flos": 1.7017698479807693e+17,
156
+ "train_batch_size": 4,
157
+ "trial_name": null,
158
+ "trial_params": null
159
+ }
checkpoint-549/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c522ce2fb275c85a565b7846bc8f50415d90ea906429a3dae1b7dec55d9a228
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:a05d3779f46aeb39b924422e53db4016953f26e429dcaf248d9e6614c462efa1
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:4c522ce2fb275c85a565b7846bc8f50415d90ea906429a3dae1b7dec55d9a228
3
+ size 4728
training_params.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "abhishek/autotrain-data-3iqe-6zi8-5xf73",
3
+ "model": "google/vit-base-patch16-224",
4
+ "lr": 0.003,
5
+ "epochs": 3,
6
+ "batch_size": 4,
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/3iqe-6zi8-5xf73-0",
24
+ "evaluation_strategy": "epoch",
25
+ "image_column": "autotrain_image",
26
+ "target_column": "autotrain_label",
27
+ "log": "none"
28
+ }