trouvaille-k commited on
Commit
3a8c027
·
1 Parent(s): dde092f

Upload folder using huggingface_hub

Browse files
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "total_flos": 2.132579554193572e+17,
4
+ "train_loss": 0.08056612370189192,
5
+ "train_runtime": 121.6622,
6
+ "train_samples_per_second": 22.62,
7
+ "train_steps_per_second": 1.414
8
+ }
checkpoint-100/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": "Bird",
13
+ "1": "Not%20Bird"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "Bird": "0",
20
+ "Not%20Bird": "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.30.2"
32
+ }
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:263309d2e1135125535f182001a907843dadff4cda5782f5cdf3cbc5bbf49085
3
+ size 686518725
checkpoint-100/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
+ }
checkpoint-100/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:536b6643f281fe71a1152e7c41949e105587ec904e64cd9e1862d49baee699a4
3
+ size 343268717
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2bad8ffde323ea4d873d4ea6f601f2ad8074201b415660915f2d39a92b3907b
3
+ size 14575
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a04b7ca52e62c545329902f7405b02b6f23d0e3265cf861e921213663d499ef
3
+ size 627
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.039944570511579514,
3
+ "best_model_checkpoint": "./vit-base-beans/checkpoint-100",
4
+ "epoch": 2.3255813953488373,
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.23,
12
+ "learning_rate": 0.00018837209302325584,
13
+ "loss": 0.4782,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.47,
18
+ "learning_rate": 0.00017674418604651164,
19
+ "loss": 0.2147,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 0.7,
24
+ "learning_rate": 0.00016511627906976747,
25
+ "loss": 0.0922,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 0.93,
30
+ "learning_rate": 0.00015348837209302327,
31
+ "loss": 0.2727,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 1.16,
36
+ "learning_rate": 0.0001418604651162791,
37
+ "loss": 0.0407,
38
+ "step": 50
39
+ },
40
+ {
41
+ "epoch": 1.4,
42
+ "learning_rate": 0.0001302325581395349,
43
+ "loss": 0.0933,
44
+ "step": 60
45
+ },
46
+ {
47
+ "epoch": 1.63,
48
+ "learning_rate": 0.00011860465116279071,
49
+ "loss": 0.0547,
50
+ "step": 70
51
+ },
52
+ {
53
+ "epoch": 1.86,
54
+ "learning_rate": 0.00010697674418604651,
55
+ "loss": 0.0502,
56
+ "step": 80
57
+ },
58
+ {
59
+ "epoch": 2.09,
60
+ "learning_rate": 9.534883720930233e-05,
61
+ "loss": 0.0116,
62
+ "step": 90
63
+ },
64
+ {
65
+ "epoch": 2.33,
66
+ "learning_rate": 8.372093023255814e-05,
67
+ "loss": 0.0109,
68
+ "step": 100
69
+ },
70
+ {
71
+ "epoch": 2.33,
72
+ "eval_accuracy": 0.9895287958115183,
73
+ "eval_loss": 0.039944570511579514,
74
+ "eval_runtime": 3.6359,
75
+ "eval_samples_per_second": 52.531,
76
+ "eval_steps_per_second": 6.601,
77
+ "step": 100
78
+ }
79
+ ],
80
+ "max_steps": 172,
81
+ "num_train_epochs": 4,
82
+ "total_flos": 1.239871833833472e+17,
83
+ "trial_name": null,
84
+ "trial_params": null
85
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e5dad76f9540f8b7e1ab938c7bdf58b54c1f95f39671c485111f484d21320ab
3
+ size 3899
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": "Bird",
13
+ "1": "Not%20Bird"
14
+ },
15
+ "image_size": 224,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "label2id": {
19
+ "Bird": "0",
20
+ "Not%20Bird": "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.30.2"
32
+ }
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:536b6643f281fe71a1152e7c41949e105587ec904e64cd9e1862d49baee699a4
3
+ size 343268717
runs/Jun26_12-38-39_c90e63392629/events.out.tfevents.1687783125.c90e63392629.803.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06fd5d05b1b97e36b3b06ab639b1102ad1bac09507192505db5d88814fda5731
3
+ size 7312
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "total_flos": 2.132579554193572e+17,
4
+ "train_loss": 0.08056612370189192,
5
+ "train_runtime": 121.6622,
6
+ "train_samples_per_second": 22.62,
7
+ "train_steps_per_second": 1.414
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,136 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.039944570511579514,
3
+ "best_model_checkpoint": "./vit-base-beans/checkpoint-100",
4
+ "epoch": 4.0,
5
+ "global_step": 172,
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.23,
12
+ "learning_rate": 0.00018837209302325584,
13
+ "loss": 0.4782,
14
+ "step": 10
15
+ },
16
+ {
17
+ "epoch": 0.47,
18
+ "learning_rate": 0.00017674418604651164,
19
+ "loss": 0.2147,
20
+ "step": 20
21
+ },
22
+ {
23
+ "epoch": 0.7,
24
+ "learning_rate": 0.00016511627906976747,
25
+ "loss": 0.0922,
26
+ "step": 30
27
+ },
28
+ {
29
+ "epoch": 0.93,
30
+ "learning_rate": 0.00015348837209302327,
31
+ "loss": 0.2727,
32
+ "step": 40
33
+ },
34
+ {
35
+ "epoch": 1.16,
36
+ "learning_rate": 0.0001418604651162791,
37
+ "loss": 0.0407,
38
+ "step": 50
39
+ },
40
+ {
41
+ "epoch": 1.4,
42
+ "learning_rate": 0.0001302325581395349,
43
+ "loss": 0.0933,
44
+ "step": 60
45
+ },
46
+ {
47
+ "epoch": 1.63,
48
+ "learning_rate": 0.00011860465116279071,
49
+ "loss": 0.0547,
50
+ "step": 70
51
+ },
52
+ {
53
+ "epoch": 1.86,
54
+ "learning_rate": 0.00010697674418604651,
55
+ "loss": 0.0502,
56
+ "step": 80
57
+ },
58
+ {
59
+ "epoch": 2.09,
60
+ "learning_rate": 9.534883720930233e-05,
61
+ "loss": 0.0116,
62
+ "step": 90
63
+ },
64
+ {
65
+ "epoch": 2.33,
66
+ "learning_rate": 8.372093023255814e-05,
67
+ "loss": 0.0109,
68
+ "step": 100
69
+ },
70
+ {
71
+ "epoch": 2.33,
72
+ "eval_accuracy": 0.9895287958115183,
73
+ "eval_loss": 0.039944570511579514,
74
+ "eval_runtime": 3.6359,
75
+ "eval_samples_per_second": 52.531,
76
+ "eval_steps_per_second": 6.601,
77
+ "step": 100
78
+ },
79
+ {
80
+ "epoch": 2.56,
81
+ "learning_rate": 7.209302325581396e-05,
82
+ "loss": 0.008,
83
+ "step": 110
84
+ },
85
+ {
86
+ "epoch": 2.79,
87
+ "learning_rate": 6.0465116279069765e-05,
88
+ "loss": 0.0262,
89
+ "step": 120
90
+ },
91
+ {
92
+ "epoch": 3.02,
93
+ "learning_rate": 4.883720930232558e-05,
94
+ "loss": 0.0069,
95
+ "step": 130
96
+ },
97
+ {
98
+ "epoch": 3.26,
99
+ "learning_rate": 3.7209302325581394e-05,
100
+ "loss": 0.0067,
101
+ "step": 140
102
+ },
103
+ {
104
+ "epoch": 3.49,
105
+ "learning_rate": 2.5581395348837212e-05,
106
+ "loss": 0.0061,
107
+ "step": 150
108
+ },
109
+ {
110
+ "epoch": 3.72,
111
+ "learning_rate": 1.3953488372093024e-05,
112
+ "loss": 0.0059,
113
+ "step": 160
114
+ },
115
+ {
116
+ "epoch": 3.95,
117
+ "learning_rate": 2.325581395348837e-06,
118
+ "loss": 0.0057,
119
+ "step": 170
120
+ },
121
+ {
122
+ "epoch": 4.0,
123
+ "step": 172,
124
+ "total_flos": 2.132579554193572e+17,
125
+ "train_loss": 0.08056612370189192,
126
+ "train_runtime": 121.6622,
127
+ "train_samples_per_second": 22.62,
128
+ "train_steps_per_second": 1.414
129
+ }
130
+ ],
131
+ "max_steps": 172,
132
+ "num_train_epochs": 4,
133
+ "total_flos": 2.132579554193572e+17,
134
+ "trial_name": null,
135
+ "trial_params": null
136
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1e5dad76f9540f8b7e1ab938c7bdf58b54c1f95f39671c485111f484d21320ab
3
+ size 3899