ethanwan commited on
Commit
63ddfad
·
1 Parent(s): 4361105

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "glass",
13
+ "1": "metal",
14
+ "2": "organic_food_waste",
15
+ "3": "paper_cardboard",
16
+ "4": "plastic"
17
+ },
18
+ "image_size": 224,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "glass": "0",
23
+ "metal": "1",
24
+ "organic_food_waste": "2",
25
+ "paper_cardboard": "3",
26
+ "plastic": "4"
27
+ },
28
+ "layer_norm_eps": 1e-12,
29
+ "model_type": "vit",
30
+ "num_attention_heads": 12,
31
+ "num_channels": 3,
32
+ "num_hidden_layers": 12,
33
+ "patch_size": 16,
34
+ "problem_type": "single_label_classification",
35
+ "qkv_bias": true,
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.28.0"
38
+ }
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b1cb6d6354f0e37cfcb4ff57e7b727b6511b78451a09495f26da4a7579781cd
3
+ size 686537157
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:41495de0069cd1c24474368cb56a988292c1ef8620eb509b136916004a3e427b
3
+ size 343277933
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dc30cddb28389aa13579bd9af12d97654450670d10b6e9e4f899d012fe78dea
3
+ size 14575
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee6b7160c3afab51047a68305950b9be3fe77a9828d472dfc3ac2dc58eaf0d4e
3
+ size 627
trainer_state.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.626257061958313,
3
+ "best_model_checkpoint": "./training_output/checkpoint-100",
4
+ "epoch": 3.4482758620689653,
5
+ "global_step": 100,
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.34,
12
+ "learning_rate": 0.0001913793103448276,
13
+ "loss": 1.4859,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.69,
18
+ "learning_rate": 0.00018275862068965518,
19
+ "loss": 1.2666,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 1.03,
24
+ "learning_rate": 0.00017413793103448276,
25
+ "loss": 1.0816,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 1.38,
30
+ "learning_rate": 0.00016551724137931035,
31
+ "loss": 0.699,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 1.72,
36
+ "learning_rate": 0.00015689655172413793,
37
+ "loss": 0.5932,
38
+ "step": 50
39
+ },
40
+ {
41
+ "epoch": 2.07,
42
+ "learning_rate": 0.00014827586206896554,
43
+ "loss": 0.577,
44
+ "step": 60
45
+ },
46
+ {
47
+ "epoch": 2.41,
48
+ "learning_rate": 0.0001396551724137931,
49
+ "loss": 0.2562,
50
+ "step": 70
51
+ },
52
+ {
53
+ "epoch": 2.76,
54
+ "learning_rate": 0.00013103448275862068,
55
+ "loss": 0.2048,
56
+ "step": 80
57
+ },
58
+ {
59
+ "epoch": 3.1,
60
+ "learning_rate": 0.00012241379310344827,
61
+ "loss": 0.1517,
62
+ "step": 90
63
+ },
64
+ {
65
+ "epoch": 3.45,
66
+ "learning_rate": 0.00011379310344827588,
67
+ "loss": 0.1104,
68
+ "step": 100
69
+ },
70
+ {
71
+ "epoch": 3.45,
72
+ "eval_accuracy": 0.7819548872180451,
73
+ "eval_loss": 0.626257061958313,
74
+ "eval_runtime": 1.9072,
75
+ "eval_samples_per_second": 69.738,
76
+ "eval_steps_per_second": 8.914,
77
+ "step": 100
78
+ }
79
+ ],
80
+ "max_steps": 232,
81
+ "num_train_epochs": 8,
82
+ "total_flos": 1.2213065939971277e+17,
83
+ "trial_name": null,
84
+ "trial_params": null
85
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:69e74afa358bcd3a10f96368f47433a4e0287fe0ee0e04d41a012b8e6f322a4b
3
+ size 3579