dima806 commited on
Commit
892a488
1 Parent(s): 5ddbf60

Upload folder using huggingface_hub

Browse files
checkpoint-1270/config.json ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "ace of clubs",
13
+ "1": "ace of diamonds",
14
+ "2": "ace of hearts",
15
+ "3": "ace of spades",
16
+ "4": "eight of clubs",
17
+ "5": "eight of diamonds",
18
+ "6": "eight of hearts",
19
+ "7": "eight of spades",
20
+ "8": "five of clubs",
21
+ "9": "five of diamonds",
22
+ "10": "five of hearts",
23
+ "11": "five of spades",
24
+ "12": "four of clubs",
25
+ "13": "four of diamonds",
26
+ "14": "four of hearts",
27
+ "15": "four of spades",
28
+ "16": "jack of clubs",
29
+ "17": "jack of diamonds",
30
+ "18": "jack of hearts",
31
+ "19": "jack of spades",
32
+ "20": "joker",
33
+ "21": "king of clubs",
34
+ "22": "king of diamonds",
35
+ "23": "king of hearts",
36
+ "24": "king of spades",
37
+ "25": "nine of clubs",
38
+ "26": "nine of diamonds",
39
+ "27": "nine of hearts",
40
+ "28": "nine of spades",
41
+ "29": "queen of clubs",
42
+ "30": "queen of diamonds",
43
+ "31": "queen of hearts",
44
+ "32": "queen of spades",
45
+ "33": "seven of clubs",
46
+ "34": "seven of diamonds",
47
+ "35": "seven of hearts",
48
+ "36": "seven of spades",
49
+ "37": "six of clubs",
50
+ "38": "six of diamonds",
51
+ "39": "six of hearts",
52
+ "40": "six of spades",
53
+ "41": "ten of clubs",
54
+ "42": "ten of diamonds",
55
+ "43": "ten of hearts",
56
+ "44": "ten of spades",
57
+ "45": "three of clubs",
58
+ "46": "three of diamonds",
59
+ "47": "three of hearts",
60
+ "48": "three of spades",
61
+ "49": "two of clubs",
62
+ "50": "two of diamonds",
63
+ "51": "two of hearts",
64
+ "52": "two of spades"
65
+ },
66
+ "image_size": 224,
67
+ "initializer_range": 0.02,
68
+ "intermediate_size": 3072,
69
+ "label2id": {
70
+ "ace of clubs": 0,
71
+ "ace of diamonds": 1,
72
+ "ace of hearts": 2,
73
+ "ace of spades": 3,
74
+ "eight of clubs": 4,
75
+ "eight of diamonds": 5,
76
+ "eight of hearts": 6,
77
+ "eight of spades": 7,
78
+ "five of clubs": 8,
79
+ "five of diamonds": 9,
80
+ "five of hearts": 10,
81
+ "five of spades": 11,
82
+ "four of clubs": 12,
83
+ "four of diamonds": 13,
84
+ "four of hearts": 14,
85
+ "four of spades": 15,
86
+ "jack of clubs": 16,
87
+ "jack of diamonds": 17,
88
+ "jack of hearts": 18,
89
+ "jack of spades": 19,
90
+ "joker": 20,
91
+ "king of clubs": 21,
92
+ "king of diamonds": 22,
93
+ "king of hearts": 23,
94
+ "king of spades": 24,
95
+ "nine of clubs": 25,
96
+ "nine of diamonds": 26,
97
+ "nine of hearts": 27,
98
+ "nine of spades": 28,
99
+ "queen of clubs": 29,
100
+ "queen of diamonds": 30,
101
+ "queen of hearts": 31,
102
+ "queen of spades": 32,
103
+ "seven of clubs": 33,
104
+ "seven of diamonds": 34,
105
+ "seven of hearts": 35,
106
+ "seven of spades": 36,
107
+ "six of clubs": 37,
108
+ "six of diamonds": 38,
109
+ "six of hearts": 39,
110
+ "six of spades": 40,
111
+ "ten of clubs": 41,
112
+ "ten of diamonds": 42,
113
+ "ten of hearts": 43,
114
+ "ten of spades": 44,
115
+ "three of clubs": 45,
116
+ "three of diamonds": 46,
117
+ "three of hearts": 47,
118
+ "three of spades": 48,
119
+ "two of clubs": 49,
120
+ "two of diamonds": 50,
121
+ "two of hearts": 51,
122
+ "two of spades": 52
123
+ },
124
+ "layer_norm_eps": 1e-12,
125
+ "model_type": "vit",
126
+ "num_attention_heads": 12,
127
+ "num_channels": 3,
128
+ "num_hidden_layers": 12,
129
+ "patch_size": 16,
130
+ "problem_type": "single_label_classification",
131
+ "qkv_bias": true,
132
+ "torch_dtype": "float32",
133
+ "transformers_version": "4.35.2"
134
+ }
checkpoint-1270/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:add53bc2efceedf1c5511c06f55aab935a7e8227e7835acad7b9a9070f227347
3
+ size 343380860
checkpoint-1270/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d9fe1694ffc93879580fcc05eb0d792e19e13d251d78f043411ca56a3c1a1d2
3
+ size 686882181
checkpoint-1270/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
+ }
checkpoint-1270/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b032a59b1dba3482d91fc55984f69c67228667f8fadb5697b1f2fd8cafbf938b
3
+ size 14575
checkpoint-1270/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b7ac05d2977e1e4e5d544cf72f1f683f9b0878da5a322ad65beb52fbd8150bd
3
+ size 627
checkpoint-1270/trainer_state.json ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 3.7397849559783936,
3
+ "best_model_checkpoint": "card_type_image_detection/checkpoint-1270",
4
+ "epoch": 10.0,
5
+ "eval_steps": 500,
6
+ "global_step": 1270,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.02617283950617284,
14
+ "eval_loss": 3.9544386863708496,
15
+ "eval_runtime": 16.4035,
16
+ "eval_samples_per_second": 123.449,
17
+ "eval_steps_per_second": 3.902,
18
+ "step": 127
19
+ },
20
+ {
21
+ "epoch": 2.0,
22
+ "eval_accuracy": 0.05037037037037037,
23
+ "eval_loss": 3.9198195934295654,
24
+ "eval_runtime": 16.4873,
25
+ "eval_samples_per_second": 122.822,
26
+ "eval_steps_per_second": 3.882,
27
+ "step": 254
28
+ },
29
+ {
30
+ "epoch": 3.0,
31
+ "eval_accuracy": 0.08,
32
+ "eval_loss": 3.8833959102630615,
33
+ "eval_runtime": 16.841,
34
+ "eval_samples_per_second": 120.243,
35
+ "eval_steps_per_second": 3.8,
36
+ "step": 381
37
+ },
38
+ {
39
+ "epoch": 3.94,
40
+ "learning_rate": 1.2622950819672132e-06,
41
+ "loss": 3.9008,
42
+ "step": 500
43
+ },
44
+ {
45
+ "epoch": 4.0,
46
+ "eval_accuracy": 0.10716049382716049,
47
+ "eval_loss": 3.848644495010376,
48
+ "eval_runtime": 16.6962,
49
+ "eval_samples_per_second": 121.285,
50
+ "eval_steps_per_second": 3.833,
51
+ "step": 508
52
+ },
53
+ {
54
+ "epoch": 5.0,
55
+ "eval_accuracy": 0.12691358024691357,
56
+ "eval_loss": 3.8167531490325928,
57
+ "eval_runtime": 16.6107,
58
+ "eval_samples_per_second": 121.909,
59
+ "eval_steps_per_second": 3.853,
60
+ "step": 635
61
+ },
62
+ {
63
+ "epoch": 6.0,
64
+ "eval_accuracy": 0.1437037037037037,
65
+ "eval_loss": 3.789693832397461,
66
+ "eval_runtime": 16.721,
67
+ "eval_samples_per_second": 121.105,
68
+ "eval_steps_per_second": 3.828,
69
+ "step": 762
70
+ },
71
+ {
72
+ "epoch": 7.0,
73
+ "eval_accuracy": 0.15308641975308643,
74
+ "eval_loss": 3.7682993412017822,
75
+ "eval_runtime": 16.39,
76
+ "eval_samples_per_second": 123.551,
77
+ "eval_steps_per_second": 3.905,
78
+ "step": 889
79
+ },
80
+ {
81
+ "epoch": 7.87,
82
+ "learning_rate": 4.426229508196721e-07,
83
+ "loss": 3.7535,
84
+ "step": 1000
85
+ },
86
+ {
87
+ "epoch": 8.0,
88
+ "eval_accuracy": 0.15703703703703703,
89
+ "eval_loss": 3.752377986907959,
90
+ "eval_runtime": 16.5903,
91
+ "eval_samples_per_second": 122.059,
92
+ "eval_steps_per_second": 3.858,
93
+ "step": 1016
94
+ },
95
+ {
96
+ "epoch": 9.0,
97
+ "eval_accuracy": 0.16098765432098766,
98
+ "eval_loss": 3.7429299354553223,
99
+ "eval_runtime": 16.4779,
100
+ "eval_samples_per_second": 122.892,
101
+ "eval_steps_per_second": 3.884,
102
+ "step": 1143
103
+ },
104
+ {
105
+ "epoch": 10.0,
106
+ "eval_accuracy": 0.16197530864197532,
107
+ "eval_loss": 3.7397849559783936,
108
+ "eval_runtime": 16.3956,
109
+ "eval_samples_per_second": 123.509,
110
+ "eval_steps_per_second": 3.903,
111
+ "step": 1270
112
+ }
113
+ ],
114
+ "logging_steps": 500,
115
+ "max_steps": 1270,
116
+ "num_train_epochs": 10,
117
+ "save_steps": 500,
118
+ "total_flos": 6.278169739571896e+18,
119
+ "trial_name": null,
120
+ "trial_params": null
121
+ }
checkpoint-1270/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad7dc7cf87f80c4a27d4fcc41049b7b3f9902b042f1102733c65d2b55b912c14
3
+ size 4091
config.json ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "ace of clubs",
13
+ "1": "ace of diamonds",
14
+ "2": "ace of hearts",
15
+ "3": "ace of spades",
16
+ "4": "eight of clubs",
17
+ "5": "eight of diamonds",
18
+ "6": "eight of hearts",
19
+ "7": "eight of spades",
20
+ "8": "five of clubs",
21
+ "9": "five of diamonds",
22
+ "10": "five of hearts",
23
+ "11": "five of spades",
24
+ "12": "four of clubs",
25
+ "13": "four of diamonds",
26
+ "14": "four of hearts",
27
+ "15": "four of spades",
28
+ "16": "jack of clubs",
29
+ "17": "jack of diamonds",
30
+ "18": "jack of hearts",
31
+ "19": "jack of spades",
32
+ "20": "joker",
33
+ "21": "king of clubs",
34
+ "22": "king of diamonds",
35
+ "23": "king of hearts",
36
+ "24": "king of spades",
37
+ "25": "nine of clubs",
38
+ "26": "nine of diamonds",
39
+ "27": "nine of hearts",
40
+ "28": "nine of spades",
41
+ "29": "queen of clubs",
42
+ "30": "queen of diamonds",
43
+ "31": "queen of hearts",
44
+ "32": "queen of spades",
45
+ "33": "seven of clubs",
46
+ "34": "seven of diamonds",
47
+ "35": "seven of hearts",
48
+ "36": "seven of spades",
49
+ "37": "six of clubs",
50
+ "38": "six of diamonds",
51
+ "39": "six of hearts",
52
+ "40": "six of spades",
53
+ "41": "ten of clubs",
54
+ "42": "ten of diamonds",
55
+ "43": "ten of hearts",
56
+ "44": "ten of spades",
57
+ "45": "three of clubs",
58
+ "46": "three of diamonds",
59
+ "47": "three of hearts",
60
+ "48": "three of spades",
61
+ "49": "two of clubs",
62
+ "50": "two of diamonds",
63
+ "51": "two of hearts",
64
+ "52": "two of spades"
65
+ },
66
+ "image_size": 224,
67
+ "initializer_range": 0.02,
68
+ "intermediate_size": 3072,
69
+ "label2id": {
70
+ "ace of clubs": 0,
71
+ "ace of diamonds": 1,
72
+ "ace of hearts": 2,
73
+ "ace of spades": 3,
74
+ "eight of clubs": 4,
75
+ "eight of diamonds": 5,
76
+ "eight of hearts": 6,
77
+ "eight of spades": 7,
78
+ "five of clubs": 8,
79
+ "five of diamonds": 9,
80
+ "five of hearts": 10,
81
+ "five of spades": 11,
82
+ "four of clubs": 12,
83
+ "four of diamonds": 13,
84
+ "four of hearts": 14,
85
+ "four of spades": 15,
86
+ "jack of clubs": 16,
87
+ "jack of diamonds": 17,
88
+ "jack of hearts": 18,
89
+ "jack of spades": 19,
90
+ "joker": 20,
91
+ "king of clubs": 21,
92
+ "king of diamonds": 22,
93
+ "king of hearts": 23,
94
+ "king of spades": 24,
95
+ "nine of clubs": 25,
96
+ "nine of diamonds": 26,
97
+ "nine of hearts": 27,
98
+ "nine of spades": 28,
99
+ "queen of clubs": 29,
100
+ "queen of diamonds": 30,
101
+ "queen of hearts": 31,
102
+ "queen of spades": 32,
103
+ "seven of clubs": 33,
104
+ "seven of diamonds": 34,
105
+ "seven of hearts": 35,
106
+ "seven of spades": 36,
107
+ "six of clubs": 37,
108
+ "six of diamonds": 38,
109
+ "six of hearts": 39,
110
+ "six of spades": 40,
111
+ "ten of clubs": 41,
112
+ "ten of diamonds": 42,
113
+ "ten of hearts": 43,
114
+ "ten of spades": 44,
115
+ "three of clubs": 45,
116
+ "three of diamonds": 46,
117
+ "three of hearts": 47,
118
+ "three of spades": 48,
119
+ "two of clubs": 49,
120
+ "two of diamonds": 50,
121
+ "two of hearts": 51,
122
+ "two of spades": 52
123
+ },
124
+ "layer_norm_eps": 1e-12,
125
+ "model_type": "vit",
126
+ "num_attention_heads": 12,
127
+ "num_channels": 3,
128
+ "num_hidden_layers": 12,
129
+ "patch_size": 16,
130
+ "problem_type": "single_label_classification",
131
+ "qkv_bias": true,
132
+ "torch_dtype": "float32",
133
+ "transformers_version": "4.35.2"
134
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:add53bc2efceedf1c5511c06f55aab935a7e8227e7835acad7b9a9070f227347
3
+ size 343380860
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
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad7dc7cf87f80c4a27d4fcc41049b7b3f9902b042f1102733c65d2b55b912c14
3
+ size 4091