fftx0907 commited on
Commit
69edf7d
1 Parent(s): 2fb2381

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
+ - fftx0907/autotrain-data-autotrain-a7953-y2qmi
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.031825795644891124
25
+
26
+ f1_micro: 0.10555555555555556
27
+
28
+ f1_weighted: 0.020156337241764376
29
+
30
+ precision_macro: 0.017592592592592594
31
+
32
+ precision_micro: 0.10555555555555556
33
+
34
+ precision_weighted: 0.011141975308641975
35
+
36
+ recall_macro: 0.16666666666666666
37
+
38
+ recall_micro: 0.10555555555555556
39
+
40
+ recall_weighted: 0.10555555555555556
41
+
42
+ accuracy: 0.10555555555555556
checkpoint-90/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": "11covered_with_a_quilt_and_only_the_head_exposed",
14
+ "1": "12covered_with_a_quilt_and_exposed_other_parts_of_the_body",
15
+ "2": "13has_nothing_to_do_with_11_and_12_above",
16
+ "3": "21covered_with_a_quilt_only_the_head_and_shoulders_exposed",
17
+ "4": "22covered_with_a_quilt_exposed_head_and_shoulders_except_for_other_organs",
18
+ "5": "23has_nothing_to_do_with_21_and_22_above"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "11covered_with_a_quilt_and_only_the_head_exposed": 0,
25
+ "12covered_with_a_quilt_and_exposed_other_parts_of_the_body": 1,
26
+ "13has_nothing_to_do_with_11_and_12_above": 2,
27
+ "21covered_with_a_quilt_only_the_head_and_shoulders_exposed": 3,
28
+ "22covered_with_a_quilt_exposed_head_and_shoulders_except_for_other_organs": 4,
29
+ "23has_nothing_to_do_with_21_and_22_above": 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-90/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e83a4a08cb1f725af8408b3f8b96183371e6c678073697dc51be06b6373b83d5
3
+ size 343236280
checkpoint-90/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b376a5335eb3a74d24a9e545b5478ef506eb4c7f17403bca34e449d7878a748c
3
+ size 686587834
checkpoint-90/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ca3c77fd47570cc70ba741705b6a567a83009500efba44e180754a38f1a5641f
3
+ size 13926
checkpoint-90/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:94396b7eab535a6649fa59511c8cf060b34127429173bcb92c4e68fa800c1fd3
3
+ size 1064
checkpoint-90/trainer_state.json ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": NaN,
3
+ "best_model_checkpoint": "/tmp/model/checkpoint-90",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 90,
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": 7.4074074074074075e-06,
14
+ "loss": 0.0,
15
+ "step": 4
16
+ },
17
+ {
18
+ "epoch": 0.09,
19
+ "learning_rate": 1.4814814814814815e-05,
20
+ "loss": 0.0,
21
+ "step": 8
22
+ },
23
+ {
24
+ "epoch": 0.13,
25
+ "learning_rate": 2.2222222222222223e-05,
26
+ "loss": 0.0,
27
+ "step": 12
28
+ },
29
+ {
30
+ "epoch": 0.18,
31
+ "learning_rate": 2.962962962962963e-05,
32
+ "loss": 0.0,
33
+ "step": 16
34
+ },
35
+ {
36
+ "epoch": 0.22,
37
+ "learning_rate": 3.7037037037037037e-05,
38
+ "loss": 0.0,
39
+ "step": 20
40
+ },
41
+ {
42
+ "epoch": 0.27,
43
+ "learning_rate": 4.4444444444444447e-05,
44
+ "loss": 0.0,
45
+ "step": 24
46
+ },
47
+ {
48
+ "epoch": 0.31,
49
+ "learning_rate": 4.9794238683127575e-05,
50
+ "loss": 0.0,
51
+ "step": 28
52
+ },
53
+ {
54
+ "epoch": 0.36,
55
+ "learning_rate": 4.8971193415637865e-05,
56
+ "loss": 0.0,
57
+ "step": 32
58
+ },
59
+ {
60
+ "epoch": 0.4,
61
+ "learning_rate": 4.814814814814815e-05,
62
+ "loss": 0.0,
63
+ "step": 36
64
+ },
65
+ {
66
+ "epoch": 0.44,
67
+ "learning_rate": 4.732510288065844e-05,
68
+ "loss": 0.0,
69
+ "step": 40
70
+ },
71
+ {
72
+ "epoch": 0.49,
73
+ "learning_rate": 4.650205761316873e-05,
74
+ "loss": 0.0,
75
+ "step": 44
76
+ },
77
+ {
78
+ "epoch": 0.53,
79
+ "learning_rate": 4.567901234567901e-05,
80
+ "loss": 0.0,
81
+ "step": 48
82
+ },
83
+ {
84
+ "epoch": 0.58,
85
+ "learning_rate": 4.48559670781893e-05,
86
+ "loss": 0.0,
87
+ "step": 52
88
+ },
89
+ {
90
+ "epoch": 0.62,
91
+ "learning_rate": 4.403292181069959e-05,
92
+ "loss": 0.0,
93
+ "step": 56
94
+ },
95
+ {
96
+ "epoch": 0.67,
97
+ "learning_rate": 4.3209876543209875e-05,
98
+ "loss": 0.0,
99
+ "step": 60
100
+ },
101
+ {
102
+ "epoch": 0.71,
103
+ "learning_rate": 4.2386831275720165e-05,
104
+ "loss": 0.0,
105
+ "step": 64
106
+ },
107
+ {
108
+ "epoch": 0.76,
109
+ "learning_rate": 4.1563786008230455e-05,
110
+ "loss": 0.0,
111
+ "step": 68
112
+ },
113
+ {
114
+ "epoch": 0.8,
115
+ "learning_rate": 4.074074074074074e-05,
116
+ "loss": 0.0,
117
+ "step": 72
118
+ },
119
+ {
120
+ "epoch": 0.84,
121
+ "learning_rate": 3.9917695473251035e-05,
122
+ "loss": 0.0,
123
+ "step": 76
124
+ },
125
+ {
126
+ "epoch": 0.89,
127
+ "learning_rate": 3.909465020576132e-05,
128
+ "loss": 0.0,
129
+ "step": 80
130
+ },
131
+ {
132
+ "epoch": 0.93,
133
+ "learning_rate": 3.82716049382716e-05,
134
+ "loss": 0.0,
135
+ "step": 84
136
+ },
137
+ {
138
+ "epoch": 0.98,
139
+ "learning_rate": 3.74485596707819e-05,
140
+ "loss": 0.0,
141
+ "step": 88
142
+ },
143
+ {
144
+ "epoch": 1.0,
145
+ "eval_accuracy": 0.10555555555555556,
146
+ "eval_f1_macro": 0.031825795644891124,
147
+ "eval_f1_micro": 0.10555555555555556,
148
+ "eval_f1_weighted": 0.020156337241764376,
149
+ "eval_loss": NaN,
150
+ "eval_precision_macro": 0.017592592592592594,
151
+ "eval_precision_micro": 0.10555555555555556,
152
+ "eval_precision_weighted": 0.011141975308641975,
153
+ "eval_recall_macro": 0.16666666666666666,
154
+ "eval_recall_micro": 0.10555555555555556,
155
+ "eval_recall_weighted": 0.10555555555555556,
156
+ "eval_runtime": 50.6187,
157
+ "eval_samples_per_second": 3.556,
158
+ "eval_steps_per_second": 0.237,
159
+ "step": 90
160
+ }
161
+ ],
162
+ "logging_steps": 4,
163
+ "max_steps": 270,
164
+ "num_input_tokens_seen": 0,
165
+ "num_train_epochs": 3,
166
+ "save_steps": 500,
167
+ "total_flos": 5.564124325122048e+16,
168
+ "train_batch_size": 8,
169
+ "trial_name": null,
170
+ "trial_params": null
171
+ }
checkpoint-90/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6482b365698bf324a82773702cd80472cd6181a58daee262719fc7821d7cd20
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": "11covered_with_a_quilt_and_only_the_head_exposed",
14
+ "1": "12covered_with_a_quilt_and_exposed_other_parts_of_the_body",
15
+ "2": "13has_nothing_to_do_with_11_and_12_above",
16
+ "3": "21covered_with_a_quilt_only_the_head_and_shoulders_exposed",
17
+ "4": "22covered_with_a_quilt_exposed_head_and_shoulders_except_for_other_organs",
18
+ "5": "23has_nothing_to_do_with_21_and_22_above"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "11covered_with_a_quilt_and_only_the_head_exposed": 0,
25
+ "12covered_with_a_quilt_and_exposed_other_parts_of_the_body": 1,
26
+ "13has_nothing_to_do_with_11_and_12_above": 2,
27
+ "21covered_with_a_quilt_only_the_head_and_shoulders_exposed": 3,
28
+ "22covered_with_a_quilt_exposed_head_and_shoulders_except_for_other_organs": 4,
29
+ "23has_nothing_to_do_with_21_and_22_above": 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:e83a4a08cb1f725af8408b3f8b96183371e6c678073697dc51be06b6373b83d5
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:b6482b365698bf324a82773702cd80472cd6181a58daee262719fc7821d7cd20
3
+ size 4728
training_params.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "fftx0907/autotrain-data-autotrain-a7953-y2qmi",
3
+ "model": "google/vit-base-patch16-224",
4
+ "username": "fftx0907",
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": "fp32",
21
+ "save_total_limit": 1,
22
+ "save_strategy": "epoch",
23
+ "push_to_hub": true,
24
+ "repo_id": "fftx0907/autotrain-a7953-y2qmi",
25
+ "evaluation_strategy": "epoch",
26
+ "image_column": "autotrain_image",
27
+ "target_column": "autotrain_label",
28
+ "log": "none"
29
+ }