BlakeMartin commited on
Commit
e19ba04
1 Parent(s): a38dd60

Upload . with huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "angular_leaf_spot",
13
+ "1": "bean_rust",
14
+ "2": "healthy"
15
+ },
16
+ "image_size": 224,
17
+ "initializer_range": 0.02,
18
+ "intermediate_size": 3072,
19
+ "label2id": {
20
+ "angular_leaf_spot": "0",
21
+ "bean_rust": "1",
22
+ "healthy": "2"
23
+ },
24
+ "layer_norm_eps": 1e-12,
25
+ "model_type": "vit",
26
+ "num_attention_heads": 12,
27
+ "num_channels": 3,
28
+ "num_hidden_layers": 12,
29
+ "patch_size": 16,
30
+ "problem_type": "single_label_classification",
31
+ "qkv_bias": true,
32
+ "torch_dtype": "float32",
33
+ "transformers_version": "4.25.1"
34
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ef093cf0c329c5d6f2acd29e1e88a912a65cce3a680490ccb733594e2f5fc36
3
+ size 686519237
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:feba1c4c2c0f529b53729cb13aa3a93e558a489dab82e2f18708cd64e8374cb1
3
+ size 343269037
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8214c01f27f2aeae1e56fc7a28278e26d2d258088ec2bdf3bdc701698ad3524
3
+ size 13553
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d2f8d5644864d856523bae0ede098144307fe585e171a2a4c5d5d7e03dda137
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.0308952908962965,
3
+ "best_model_checkpoint": "./vit-base-beans/checkpoint-100",
4
+ "epoch": 3.076923076923077,
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.15,
12
+ "learning_rate": 0.00019230769230769233,
13
+ "loss": 0.8966,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.31,
18
+ "learning_rate": 0.00018461538461538463,
19
+ "loss": 0.4521,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 0.46,
24
+ "learning_rate": 0.00017692307692307693,
25
+ "loss": 0.3521,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 0.62,
30
+ "learning_rate": 0.00016923076923076923,
31
+ "loss": 0.3085,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 0.77,
36
+ "learning_rate": 0.00016153846153846155,
37
+ "loss": 0.3361,
38
+ "step": 50
39
+ },
40
+ {
41
+ "epoch": 0.92,
42
+ "learning_rate": 0.00015384615384615385,
43
+ "loss": 0.2748,
44
+ "step": 60
45
+ },
46
+ {
47
+ "epoch": 1.08,
48
+ "learning_rate": 0.00014615384615384615,
49
+ "loss": 0.1351,
50
+ "step": 70
51
+ },
52
+ {
53
+ "epoch": 1.23,
54
+ "learning_rate": 0.00013846153846153847,
55
+ "loss": 0.0835,
56
+ "step": 80
57
+ },
58
+ {
59
+ "epoch": 1.38,
60
+ "learning_rate": 0.00013076923076923077,
61
+ "loss": 0.0503,
62
+ "step": 90
63
+ },
64
+ {
65
+ "epoch": 1.54,
66
+ "learning_rate": 0.0001230769230769231,
67
+ "loss": 0.0915,
68
+ "step": 100
69
+ },
70
+ {
71
+ "epoch": 1.54,
72
+ "eval_accuracy": 1.0,
73
+ "eval_loss": 0.0308952908962965,
74
+ "eval_runtime": 82.0221,
75
+ "eval_samples_per_second": 1.622,
76
+ "eval_steps_per_second": 0.207,
77
+ "step": 100
78
+ },
79
+ {
80
+ "epoch": 1.69,
81
+ "learning_rate": 0.00011538461538461538,
82
+ "loss": 0.0444,
83
+ "step": 110
84
+ },
85
+ {
86
+ "epoch": 1.85,
87
+ "learning_rate": 0.0001076923076923077,
88
+ "loss": 0.1631,
89
+ "step": 120
90
+ },
91
+ {
92
+ "epoch": 2.0,
93
+ "learning_rate": 0.0001,
94
+ "loss": 0.0487,
95
+ "step": 130
96
+ },
97
+ {
98
+ "epoch": 2.15,
99
+ "learning_rate": 9.230769230769232e-05,
100
+ "loss": 0.0207,
101
+ "step": 140
102
+ },
103
+ {
104
+ "epoch": 2.31,
105
+ "learning_rate": 8.461538461538461e-05,
106
+ "loss": 0.0177,
107
+ "step": 150
108
+ },
109
+ {
110
+ "epoch": 2.46,
111
+ "learning_rate": 7.692307692307693e-05,
112
+ "loss": 0.0224,
113
+ "step": 160
114
+ },
115
+ {
116
+ "epoch": 2.62,
117
+ "learning_rate": 6.923076923076924e-05,
118
+ "loss": 0.016,
119
+ "step": 170
120
+ },
121
+ {
122
+ "epoch": 2.77,
123
+ "learning_rate": 6.153846153846155e-05,
124
+ "loss": 0.0519,
125
+ "step": 180
126
+ },
127
+ {
128
+ "epoch": 2.92,
129
+ "learning_rate": 5.384615384615385e-05,
130
+ "loss": 0.0386,
131
+ "step": 190
132
+ },
133
+ {
134
+ "epoch": 3.08,
135
+ "learning_rate": 4.615384615384616e-05,
136
+ "loss": 0.0141,
137
+ "step": 200
138
+ },
139
+ {
140
+ "epoch": 3.08,
141
+ "eval_accuracy": 0.9924812030075187,
142
+ "eval_loss": 0.036899399012327194,
143
+ "eval_runtime": 78.2673,
144
+ "eval_samples_per_second": 1.699,
145
+ "eval_steps_per_second": 0.217,
146
+ "step": 200
147
+ }
148
+ ],
149
+ "max_steps": 260,
150
+ "num_train_epochs": 4,
151
+ "total_flos": 2.465817209677947e+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:b32b37ee2c881b1681ed8fa5917a9ffb2ea83336e547c55936c3358445f3cba7
3
+ size 3387