Upload folder using huggingface_hub (#1)
Browse files- Upload folder using huggingface_hub (3481c969989927e1ab8feee84af044bc5285ce1f)
- config.json +56 -0
- optimizer.pt +3 -0
- preprocessor_config.json +22 -0
- pytorch_model.bin +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +148 -0
- training_args.bin +3 -0
config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "Unlabeled",
|
13 |
+
"1": "basil",
|
14 |
+
"10": "poison%20ivy",
|
15 |
+
"11": "poison%20oak",
|
16 |
+
"12": "rose",
|
17 |
+
"13": "tulip",
|
18 |
+
"2": "blueash",
|
19 |
+
"3": "boxelder",
|
20 |
+
"4": "cilantro",
|
21 |
+
"5": "daisy",
|
22 |
+
"6": "mint",
|
23 |
+
"7": "oak%20leaves",
|
24 |
+
"8": "oregano",
|
25 |
+
"9": "parsely"
|
26 |
+
},
|
27 |
+
"image_size": 224,
|
28 |
+
"initializer_range": 0.02,
|
29 |
+
"intermediate_size": 3072,
|
30 |
+
"label2id": {
|
31 |
+
"Unlabeled": "0",
|
32 |
+
"basil": "1",
|
33 |
+
"blueash": "2",
|
34 |
+
"boxelder": "3",
|
35 |
+
"cilantro": "4",
|
36 |
+
"daisy": "5",
|
37 |
+
"mint": "6",
|
38 |
+
"oak%20leaves": "7",
|
39 |
+
"oregano": "8",
|
40 |
+
"parsely": "9",
|
41 |
+
"poison%20ivy": "10",
|
42 |
+
"poison%20oak": "11",
|
43 |
+
"rose": "12",
|
44 |
+
"tulip": "13"
|
45 |
+
},
|
46 |
+
"layer_norm_eps": 1e-12,
|
47 |
+
"model_type": "vit",
|
48 |
+
"num_attention_heads": 12,
|
49 |
+
"num_channels": 3,
|
50 |
+
"num_hidden_layers": 12,
|
51 |
+
"patch_size": 16,
|
52 |
+
"problem_type": "single_label_classification",
|
53 |
+
"qkv_bias": true,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.30.2"
|
56 |
+
}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:40defdb99e0e2047eb614a53e2acf8cd35dedd6ef0ec5a5209dc1e83a3560a96
|
3 |
+
size 686586885
|
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:253dc2c8546dfab4a5386fbc0bd908e8b5ae282c35434bfd58de3efa3060f84f
|
3 |
+
size 343302829
|
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:9e9d1478932d95f604c248a1fe1362a1d07bf90d5ca17e1579a67752b11f2fc2
|
3 |
+
size 627
|
trainer_state.json
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.5915829539299011,
|
3 |
+
"best_model_checkpoint": "./plant-classification-augment/checkpoint-160",
|
4 |
+
"epoch": 1.951219512195122,
|
5 |
+
"global_step": 160,
|
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.12,
|
12 |
+
"learning_rate": 0.0001878048780487805,
|
13 |
+
"loss": 2.4443,
|
14 |
+
"step": 10
|
15 |
+
},
|
16 |
+
{
|
17 |
+
"epoch": 0.24,
|
18 |
+
"learning_rate": 0.000175609756097561,
|
19 |
+
"loss": 1.9697,
|
20 |
+
"step": 20
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"epoch": 0.37,
|
24 |
+
"learning_rate": 0.00016341463414634147,
|
25 |
+
"loss": 1.6103,
|
26 |
+
"step": 30
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 0.49,
|
30 |
+
"learning_rate": 0.00015121951219512197,
|
31 |
+
"loss": 1.3994,
|
32 |
+
"step": 40
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 0.49,
|
36 |
+
"eval_accuracy": 0.7161410018552876,
|
37 |
+
"eval_loss": 1.248666524887085,
|
38 |
+
"eval_runtime": 340.0511,
|
39 |
+
"eval_samples_per_second": 1.585,
|
40 |
+
"eval_steps_per_second": 0.2,
|
41 |
+
"step": 40
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 0.61,
|
45 |
+
"learning_rate": 0.00013902439024390245,
|
46 |
+
"loss": 1.1896,
|
47 |
+
"step": 50
|
48 |
+
},
|
49 |
+
{
|
50 |
+
"epoch": 0.73,
|
51 |
+
"learning_rate": 0.00012682926829268293,
|
52 |
+
"loss": 0.9823,
|
53 |
+
"step": 60
|
54 |
+
},
|
55 |
+
{
|
56 |
+
"epoch": 0.85,
|
57 |
+
"learning_rate": 0.00011463414634146342,
|
58 |
+
"loss": 0.9538,
|
59 |
+
"step": 70
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 0.98,
|
63 |
+
"learning_rate": 0.0001024390243902439,
|
64 |
+
"loss": 0.956,
|
65 |
+
"step": 80
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.98,
|
69 |
+
"eval_accuracy": 0.7866419294990723,
|
70 |
+
"eval_loss": 0.8758419752120972,
|
71 |
+
"eval_runtime": 340.9634,
|
72 |
+
"eval_samples_per_second": 1.581,
|
73 |
+
"eval_steps_per_second": 0.199,
|
74 |
+
"step": 80
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 1.1,
|
78 |
+
"learning_rate": 9.02439024390244e-05,
|
79 |
+
"loss": 0.7246,
|
80 |
+
"step": 90
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.22,
|
84 |
+
"learning_rate": 7.804878048780489e-05,
|
85 |
+
"loss": 0.6173,
|
86 |
+
"step": 100
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 1.34,
|
90 |
+
"learning_rate": 6.585365853658538e-05,
|
91 |
+
"loss": 0.5916,
|
92 |
+
"step": 110
|
93 |
+
},
|
94 |
+
{
|
95 |
+
"epoch": 1.46,
|
96 |
+
"learning_rate": 5.365853658536586e-05,
|
97 |
+
"loss": 0.5037,
|
98 |
+
"step": 120
|
99 |
+
},
|
100 |
+
{
|
101 |
+
"epoch": 1.46,
|
102 |
+
"eval_accuracy": 0.8237476808905381,
|
103 |
+
"eval_loss": 0.6596255898475647,
|
104 |
+
"eval_runtime": 339.48,
|
105 |
+
"eval_samples_per_second": 1.588,
|
106 |
+
"eval_steps_per_second": 0.2,
|
107 |
+
"step": 120
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 1.59,
|
111 |
+
"learning_rate": 4.146341463414634e-05,
|
112 |
+
"loss": 0.5835,
|
113 |
+
"step": 130
|
114 |
+
},
|
115 |
+
{
|
116 |
+
"epoch": 1.71,
|
117 |
+
"learning_rate": 2.926829268292683e-05,
|
118 |
+
"loss": 0.4844,
|
119 |
+
"step": 140
|
120 |
+
},
|
121 |
+
{
|
122 |
+
"epoch": 1.83,
|
123 |
+
"learning_rate": 1.707317073170732e-05,
|
124 |
+
"loss": 0.4954,
|
125 |
+
"step": 150
|
126 |
+
},
|
127 |
+
{
|
128 |
+
"epoch": 1.95,
|
129 |
+
"learning_rate": 4.8780487804878055e-06,
|
130 |
+
"loss": 0.4236,
|
131 |
+
"step": 160
|
132 |
+
},
|
133 |
+
{
|
134 |
+
"epoch": 1.95,
|
135 |
+
"eval_accuracy": 0.8460111317254174,
|
136 |
+
"eval_loss": 0.5915829539299011,
|
137 |
+
"eval_runtime": 340.213,
|
138 |
+
"eval_samples_per_second": 1.584,
|
139 |
+
"eval_steps_per_second": 0.2,
|
140 |
+
"step": 160
|
141 |
+
}
|
142 |
+
],
|
143 |
+
"max_steps": 164,
|
144 |
+
"num_train_epochs": 2,
|
145 |
+
"total_flos": 1.978583272968315e+17,
|
146 |
+
"trial_name": null,
|
147 |
+
"trial_params": null
|
148 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b84e80a010c341d4dd8bbd5c29d79b584c2422dab994c5372dadba0ac4aa65b9
|
3 |
+
size 3963
|