StemsOut commited on
Commit
3e8e2b1
·
1 Parent(s): dfc63ff

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "google/vit-base-patch16-224-in21k",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "hidden_act": "gelu",
9
+ "hidden_dropout_prob": 0.0,
10
+ "hidden_size": 768,
11
+ "id2label": {
12
+ "0": "European%20Starling%20-%20Invasive",
13
+ "1": "Feral_pigeon%20%281%29",
14
+ "2": "House%20sparrow%20%28Passer%20domesticus%29",
15
+ "3": "Muscovy%20Duck",
16
+ "4": "Non-invasive",
17
+ "5": "bulbul",
18
+ "6": "peacock"
19
+ },
20
+ "image_size": 224,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "European%20Starling%20-%20Invasive": "0",
25
+ "Feral_pigeon%20%281%29": "1",
26
+ "House%20sparrow%20%28Passer%20domesticus%29": "2",
27
+ "Muscovy%20Duck": "3",
28
+ "Non-invasive": "4",
29
+ "bulbul": "5",
30
+ "peacock": "6"
31
+ },
32
+ "layer_norm_eps": 1e-12,
33
+ "model_type": "vit",
34
+ "num_attention_heads": 12,
35
+ "num_channels": 3,
36
+ "num_hidden_layers": 12,
37
+ "patch_size": 16,
38
+ "problem_type": "single_label_classification",
39
+ "qkv_bias": true,
40
+ "torch_dtype": "float32",
41
+ "transformers_version": "4.30.2"
42
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18d103befec2aa9b490d7c4b531db7d77b2e2f8f657e6d42684df4f48b912695
3
+ size 686549445
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": "ViTFeatureExtractor",
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bdf5e8795db24237df6d8a4f16cffaed731c0274cf34626305337c80d835577
3
+ size 343284077
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdda7482499b855a06935901db3ef5c0346fd12eb58a510bec30c9e4dab13b1e
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d661edfb7c8db983f57f4d5e9cbc4222ec7593e9d71cfc7c0fc32925e93d24ca
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.10942860692739487,
3
+ "best_model_checkpoint": "./vit-base-beans/checkpoint-200",
4
+ "epoch": 3.571428571428571,
5
+ "global_step": 200,
6
+ "is_hyper_param_search": false,
7
+ "is_local_process_zero": true,
8
+ "is_world_process_zero": true,
9
+ "log_history": [
10
+ {
11
+ "epoch": 0.18,
12
+ "learning_rate": 0.00019107142857142858,
13
+ "loss": 1.5687,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.36,
18
+ "learning_rate": 0.00018214285714285714,
19
+ "loss": 0.9862,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 0.54,
24
+ "learning_rate": 0.00017321428571428574,
25
+ "loss": 0.6791,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 0.71,
30
+ "learning_rate": 0.00016428571428571428,
31
+ "loss": 0.4272,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 0.89,
36
+ "learning_rate": 0.00015535714285714287,
37
+ "loss": 0.3579,
38
+ "step": 50
39
+ },
40
+ {
41
+ "epoch": 1.07,
42
+ "learning_rate": 0.00014642857142857141,
43
+ "loss": 0.2258,
44
+ "step": 60
45
+ },
46
+ {
47
+ "epoch": 1.25,
48
+ "learning_rate": 0.0001375,
49
+ "loss": 0.1523,
50
+ "step": 70
51
+ },
52
+ {
53
+ "epoch": 1.43,
54
+ "learning_rate": 0.00012857142857142858,
55
+ "loss": 0.1718,
56
+ "step": 80
57
+ },
58
+ {
59
+ "epoch": 1.61,
60
+ "learning_rate": 0.00011964285714285714,
61
+ "loss": 0.0991,
62
+ "step": 90
63
+ },
64
+ {
65
+ "epoch": 1.79,
66
+ "learning_rate": 0.00011071428571428572,
67
+ "loss": 0.1059,
68
+ "step": 100
69
+ },
70
+ {
71
+ "epoch": 1.79,
72
+ "eval_accuracy": 0.9715447154471545,
73
+ "eval_loss": 0.16246800124645233,
74
+ "eval_runtime": 4.2911,
75
+ "eval_samples_per_second": 57.328,
76
+ "eval_steps_per_second": 7.224,
77
+ "step": 100
78
+ },
79
+ {
80
+ "epoch": 1.96,
81
+ "learning_rate": 0.00010178571428571428,
82
+ "loss": 0.1066,
83
+ "step": 110
84
+ },
85
+ {
86
+ "epoch": 2.14,
87
+ "learning_rate": 9.285714285714286e-05,
88
+ "loss": 0.1433,
89
+ "step": 120
90
+ },
91
+ {
92
+ "epoch": 2.32,
93
+ "learning_rate": 8.392857142857144e-05,
94
+ "loss": 0.0684,
95
+ "step": 130
96
+ },
97
+ {
98
+ "epoch": 2.5,
99
+ "learning_rate": 7.500000000000001e-05,
100
+ "loss": 0.0576,
101
+ "step": 140
102
+ },
103
+ {
104
+ "epoch": 2.68,
105
+ "learning_rate": 6.607142857142857e-05,
106
+ "loss": 0.0583,
107
+ "step": 150
108
+ },
109
+ {
110
+ "epoch": 2.86,
111
+ "learning_rate": 5.714285714285714e-05,
112
+ "loss": 0.0505,
113
+ "step": 160
114
+ },
115
+ {
116
+ "epoch": 3.04,
117
+ "learning_rate": 4.8214285714285716e-05,
118
+ "loss": 0.0474,
119
+ "step": 170
120
+ },
121
+ {
122
+ "epoch": 3.21,
123
+ "learning_rate": 3.928571428571429e-05,
124
+ "loss": 0.0459,
125
+ "step": 180
126
+ },
127
+ {
128
+ "epoch": 3.39,
129
+ "learning_rate": 3.0357142857142857e-05,
130
+ "loss": 0.0439,
131
+ "step": 190
132
+ },
133
+ {
134
+ "epoch": 3.57,
135
+ "learning_rate": 2.1428571428571428e-05,
136
+ "loss": 0.0433,
137
+ "step": 200
138
+ },
139
+ {
140
+ "epoch": 3.57,
141
+ "eval_accuracy": 0.975609756097561,
142
+ "eval_loss": 0.10942860692739487,
143
+ "eval_runtime": 4.2642,
144
+ "eval_samples_per_second": 57.689,
145
+ "eval_steps_per_second": 7.27,
146
+ "step": 200
147
+ }
148
+ ],
149
+ "max_steps": 224,
150
+ "num_train_epochs": 4,
151
+ "total_flos": 2.4519564270312653e+17,
152
+ "trial_name": null,
153
+ "trial_params": null
154
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:661505841197861bbfb24aada1f7cf81638f0a430bbde6436d59f9be9952b76d
3
+ size 3899