abhishek HF staff commited on
Commit
21a4cf0
1 Parent(s): 7aa04a2

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-autotrain-iaydp-g4ihr
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.061016949152542375
25
+
26
+ f1_micro: 0.18
27
+
28
+ f1_weighted: 0.054915254237288144
29
+
30
+ precision_macro: 0.036
31
+
32
+ precision_micro: 0.18
33
+
34
+ precision_weighted: 0.0324
35
+
36
+ recall_macro: 0.2
37
+
38
+ recall_micro: 0.18
39
+
40
+ recall_weighted: 0.18
41
+
42
+ accuracy: 0.18
checkpoint-275/config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 5,
4
+ "architectures": [
5
+ "ResNetForImageClassification"
6
+ ],
7
+ "depths": [
8
+ 3,
9
+ 4,
10
+ 6,
11
+ 3
12
+ ],
13
+ "downsample_in_bottleneck": false,
14
+ "downsample_in_first_stage": false,
15
+ "embedding_size": 64,
16
+ "hidden_act": "relu",
17
+ "hidden_sizes": [
18
+ 256,
19
+ 512,
20
+ 1024,
21
+ 2048
22
+ ],
23
+ "id2label": {
24
+ "0": "daisy",
25
+ "1": "dandelion",
26
+ "2": "rose",
27
+ "3": "sunflower",
28
+ "4": "tulip"
29
+ },
30
+ "label2id": {
31
+ "daisy": 0,
32
+ "dandelion": 1,
33
+ "rose": 2,
34
+ "sunflower": 3,
35
+ "tulip": 4
36
+ },
37
+ "layer_type": "bottleneck",
38
+ "model_type": "resnet",
39
+ "num_channels": 3,
40
+ "out_features": [
41
+ "stage4"
42
+ ],
43
+ "out_indices": [
44
+ 4
45
+ ],
46
+ "problem_type": "single_label_classification",
47
+ "stage_names": [
48
+ "stem",
49
+ "stage1",
50
+ "stage2",
51
+ "stage3",
52
+ "stage4"
53
+ ],
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.36.1"
56
+ }
checkpoint-275/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:346a486360bd9e1783ce5cf114a741e7132a776f515a494ec076dc8035a67afd
3
+ size 94327540
checkpoint-275/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96d9f11c24e794f5102ad8931c474c88ae3638eec1fcd4cff1651fc514f0fe0a
3
+ size 1576
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.18,
140
+ "eval_f1_macro": 0.061016949152542375,
141
+ "eval_f1_micro": 0.18,
142
+ "eval_f1_weighted": 0.054915254237288144,
143
+ "eval_loss": NaN,
144
+ "eval_precision_macro": 0.036,
145
+ "eval_precision_micro": 0.18,
146
+ "eval_precision_weighted": 0.0324,
147
+ "eval_recall_macro": 0.2,
148
+ "eval_recall_micro": 0.18,
149
+ "eval_recall_weighted": 0.18,
150
+ "eval_runtime": 2.1463,
151
+ "eval_samples_per_second": 256.254,
152
+ "eval_steps_per_second": 16.307,
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": 4.664513762257306e+16,
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:37ef5a6d456001639365548902d95689eea15d1567a6b48d2078cd6c35ce4ffc
3
+ size 4728
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/resnet-50",
3
+ "_num_labels": 5,
4
+ "architectures": [
5
+ "ResNetForImageClassification"
6
+ ],
7
+ "depths": [
8
+ 3,
9
+ 4,
10
+ 6,
11
+ 3
12
+ ],
13
+ "downsample_in_bottleneck": false,
14
+ "downsample_in_first_stage": false,
15
+ "embedding_size": 64,
16
+ "hidden_act": "relu",
17
+ "hidden_sizes": [
18
+ 256,
19
+ 512,
20
+ 1024,
21
+ 2048
22
+ ],
23
+ "id2label": {
24
+ "0": "daisy",
25
+ "1": "dandelion",
26
+ "2": "rose",
27
+ "3": "sunflower",
28
+ "4": "tulip"
29
+ },
30
+ "label2id": {
31
+ "daisy": 0,
32
+ "dandelion": 1,
33
+ "rose": 2,
34
+ "sunflower": 3,
35
+ "tulip": 4
36
+ },
37
+ "layer_type": "bottleneck",
38
+ "model_type": "resnet",
39
+ "num_channels": 3,
40
+ "out_features": [
41
+ "stage4"
42
+ ],
43
+ "out_indices": [
44
+ 4
45
+ ],
46
+ "problem_type": "single_label_classification",
47
+ "stage_names": [
48
+ "stem",
49
+ "stage1",
50
+ "stage2",
51
+ "stage3",
52
+ "stage4"
53
+ ],
54
+ "torch_dtype": "float32",
55
+ "transformers_version": "4.36.1"
56
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:346a486360bd9e1783ce5cf114a741e7132a776f515a494ec076dc8035a67afd
3
+ size 94327540
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.485,
8
+ 0.456,
9
+ 0.406
10
+ ],
11
+ "image_processor_type": "ConvNextImageProcessor",
12
+ "image_std": [
13
+ 0.229,
14
+ 0.224,
15
+ 0.225
16
+ ],
17
+ "resample": 3,
18
+ "rescale_factor": 0.00392156862745098,
19
+ "size": {
20
+ "shortest_edge": 224
21
+ }
22
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37ef5a6d456001639365548902d95689eea15d1567a6b48d2078cd6c35ce4ffc
3
+ size 4728
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "abhishek/autotrain-data-autotrain-iaydp-g4ihr",
3
+ "model": "microsoft/resnet-50",
4
+ "username": "abhishek",
5
+ "lr": 5e-05,
6
+ "epochs": 3,
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": "abhishek/autotrain-iaydp-g4ihr",
25
+ "evaluation_strategy": "epoch",
26
+ "image_column": "autotrain_image",
27
+ "target_column": "autotrain_label",
28
+ "log": "none"
29
+ }