zz990906 commited on
Commit
02b60af
1 Parent(s): c1c40b9

Upload . with huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "clean",
13
+ "1": "garbage"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "clean": "0",
20
+ "garbage": "1"
21
+ },
22
+ "layer_norm_eps": 1e-12,
23
+ "model_type": "vit",
24
+ "num_attention_heads": 12,
25
+ "num_channels": 3,
26
+ "num_hidden_layers": 12,
27
+ "patch_size": 16,
28
+ "problem_type": "single_label_classification",
29
+ "qkv_bias": true,
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.27.4"
32
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af3d2e1792f51c526f7c15df1827517883be3da00ac99b62b4c5c79cbff93622
3
+ size 686518725
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:8036533665f5c40e833aa8bc55bf635ad82908df15938241d34bc91f0da91307
3
+ size 343268717
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9ae46c9fc2e6261b72f159e1aea97f31830fdd07cc60689547b223b43e934178
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4bb6b5b97538dee498a3902091642365aec05b2c0d53583e9cafeb699c36301
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.30082234740257263,
3
+ "best_model_checkpoint": "./vit-base-beans/checkpoint-40",
4
+ "epoch": 3.1578947368421053,
5
+ "global_step": 120,
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.26,
12
+ "learning_rate": 0.00018684210526315792,
13
+ "loss": 0.3975,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.53,
18
+ "learning_rate": 0.0001736842105263158,
19
+ "loss": 0.1217,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 0.79,
24
+ "learning_rate": 0.0001605263157894737,
25
+ "loss": 0.0602,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 1.05,
30
+ "learning_rate": 0.00014736842105263158,
31
+ "loss": 0.0518,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 1.05,
36
+ "eval_accuracy": 0.9090909090909091,
37
+ "eval_loss": 0.30082234740257263,
38
+ "eval_runtime": 0.4635,
39
+ "eval_samples_per_second": 47.461,
40
+ "eval_steps_per_second": 6.472,
41
+ "step": 40
42
+ },
43
+ {
44
+ "epoch": 1.32,
45
+ "learning_rate": 0.00013421052631578948,
46
+ "loss": 0.0332,
47
+ "step": 50
48
+ },
49
+ {
50
+ "epoch": 1.58,
51
+ "learning_rate": 0.00012105263157894738,
52
+ "loss": 0.0284,
53
+ "step": 60
54
+ },
55
+ {
56
+ "epoch": 1.84,
57
+ "learning_rate": 0.00010789473684210527,
58
+ "loss": 0.0145,
59
+ "step": 70
60
+ },
61
+ {
62
+ "epoch": 2.11,
63
+ "learning_rate": 9.473684210526316e-05,
64
+ "loss": 0.0063,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 2.11,
69
+ "eval_accuracy": 0.8636363636363636,
70
+ "eval_loss": 0.4024747908115387,
71
+ "eval_runtime": 0.32,
72
+ "eval_samples_per_second": 68.747,
73
+ "eval_steps_per_second": 9.375,
74
+ "step": 80
75
+ },
76
+ {
77
+ "epoch": 2.37,
78
+ "learning_rate": 8.157894736842105e-05,
79
+ "loss": 0.0056,
80
+ "step": 90
81
+ },
82
+ {
83
+ "epoch": 2.63,
84
+ "learning_rate": 6.842105263157895e-05,
85
+ "loss": 0.0052,
86
+ "step": 100
87
+ },
88
+ {
89
+ "epoch": 2.89,
90
+ "learning_rate": 5.526315789473685e-05,
91
+ "loss": 0.0046,
92
+ "step": 110
93
+ },
94
+ {
95
+ "epoch": 3.16,
96
+ "learning_rate": 4.210526315789474e-05,
97
+ "loss": 0.0045,
98
+ "step": 120
99
+ },
100
+ {
101
+ "epoch": 3.16,
102
+ "eval_accuracy": 0.8636363636363636,
103
+ "eval_loss": 0.3997698724269867,
104
+ "eval_runtime": 0.3323,
105
+ "eval_samples_per_second": 66.204,
106
+ "eval_steps_per_second": 9.028,
107
+ "step": 120
108
+ }
109
+ ],
110
+ "max_steps": 152,
111
+ "num_train_epochs": 4,
112
+ "total_flos": 1.4552995649620378e+17,
113
+ "trial_name": null,
114
+ "trial_params": null
115
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:459901cd4cd4c48a1c8c9d97b7e397db2056638090bcc33aa24fc1204502f8cf
3
+ size 3515