Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +37 -0
- config.json +160 -0
- preprocessor_config.json +29 -0
- pytorch_model.bin +3 -0
.gitattributes
CHANGED
@@ -32,3 +32,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
32 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
33 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
34 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
37 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- autotrain
|
4 |
+
- vision
|
5 |
+
- image-classification
|
6 |
+
datasets:
|
7 |
+
- rwcuffney/autotrain-data-pick_a_card
|
8 |
+
widget:
|
9 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg
|
10 |
+
example_title: Tiger
|
11 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/teapot.jpg
|
12 |
+
example_title: Teapot
|
13 |
+
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
14 |
+
example_title: Palace
|
15 |
+
co2_eq_emissions:
|
16 |
+
emissions: 14.334546926203066
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Multi-class Classification
|
22 |
+
- Model ID: 3726099225
|
23 |
+
- CO2 Emissions (in grams): 14.3345
|
24 |
+
|
25 |
+
## Validation Metrics
|
26 |
+
|
27 |
+
- Loss: 0.085
|
28 |
+
- Accuracy: 0.974
|
29 |
+
- Macro F1: 0.973
|
30 |
+
- Micro F1: 0.974
|
31 |
+
- Weighted F1: 0.973
|
32 |
+
- Macro Precision: 0.979
|
33 |
+
- Micro Precision: 0.974
|
34 |
+
- Weighted Precision: 0.979
|
35 |
+
- Macro Recall: 0.974
|
36 |
+
- Micro Recall: 0.974
|
37 |
+
- Weighted Recall: 0.974
|
config.json
ADDED
@@ -0,0 +1,160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "AutoTrain",
|
3 |
+
"architectures": [
|
4 |
+
"BeitForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"auxiliary_channels": 256,
|
8 |
+
"auxiliary_concat_input": false,
|
9 |
+
"auxiliary_loss_weight": 0.4,
|
10 |
+
"auxiliary_num_convs": 1,
|
11 |
+
"drop_path_rate": 0.1,
|
12 |
+
"hidden_act": "gelu",
|
13 |
+
"hidden_dropout_prob": 0.0,
|
14 |
+
"hidden_size": 768,
|
15 |
+
"id2label": {
|
16 |
+
"0": "ace of clubs",
|
17 |
+
"1": "ace of diamonds",
|
18 |
+
"10": "five of hearts",
|
19 |
+
"11": "five of spades",
|
20 |
+
"12": "four of clubs",
|
21 |
+
"13": "four of diamonds",
|
22 |
+
"14": "four of hearts",
|
23 |
+
"15": "four of spades",
|
24 |
+
"16": "jack of clubs",
|
25 |
+
"17": "jack of diamonds",
|
26 |
+
"18": "jack of hearts",
|
27 |
+
"19": "jack of spades",
|
28 |
+
"2": "ace of hearts",
|
29 |
+
"20": "joker",
|
30 |
+
"21": "king of clubs",
|
31 |
+
"22": "king of diamonds",
|
32 |
+
"23": "king of hearts",
|
33 |
+
"24": "king of spades",
|
34 |
+
"25": "nine of clubs",
|
35 |
+
"26": "nine of diamonds",
|
36 |
+
"27": "nine of hearts",
|
37 |
+
"28": "nine of spades",
|
38 |
+
"29": "queen of clubs",
|
39 |
+
"3": "ace of spades",
|
40 |
+
"30": "queen of diamonds",
|
41 |
+
"31": "queen of hearts",
|
42 |
+
"32": "queen of spades",
|
43 |
+
"33": "seven of clubs",
|
44 |
+
"34": "seven of diamonds",
|
45 |
+
"35": "seven of hearts",
|
46 |
+
"36": "seven of spades",
|
47 |
+
"37": "six of clubs",
|
48 |
+
"38": "six of diamonds",
|
49 |
+
"39": "six of hearts",
|
50 |
+
"4": "eight of clubs",
|
51 |
+
"40": "six of spades",
|
52 |
+
"41": "ten of clubs",
|
53 |
+
"42": "ten of diamonds",
|
54 |
+
"43": "ten of hearts",
|
55 |
+
"44": "ten of spades",
|
56 |
+
"45": "three of clubs",
|
57 |
+
"46": "three of diamonds",
|
58 |
+
"47": "three of hearts",
|
59 |
+
"48": "three of spades",
|
60 |
+
"49": "two of clubs",
|
61 |
+
"5": "eight of diamonds",
|
62 |
+
"50": "two of diamonds",
|
63 |
+
"51": "two of hearts",
|
64 |
+
"52": "two of spades",
|
65 |
+
"6": "eight of hearts",
|
66 |
+
"7": "eight of spades",
|
67 |
+
"8": "five of clubs",
|
68 |
+
"9": "five of diamonds"
|
69 |
+
},
|
70 |
+
"image_size": 224,
|
71 |
+
"initializer_range": 0.02,
|
72 |
+
"intermediate_size": 3072,
|
73 |
+
"label2id": {
|
74 |
+
"ace of clubs": "0",
|
75 |
+
"ace of diamonds": "1",
|
76 |
+
"ace of hearts": "2",
|
77 |
+
"ace of spades": "3",
|
78 |
+
"eight of clubs": "4",
|
79 |
+
"eight of diamonds": "5",
|
80 |
+
"eight of hearts": "6",
|
81 |
+
"eight of spades": "7",
|
82 |
+
"five of clubs": "8",
|
83 |
+
"five of diamonds": "9",
|
84 |
+
"five of hearts": "10",
|
85 |
+
"five of spades": "11",
|
86 |
+
"four of clubs": "12",
|
87 |
+
"four of diamonds": "13",
|
88 |
+
"four of hearts": "14",
|
89 |
+
"four of spades": "15",
|
90 |
+
"jack of clubs": "16",
|
91 |
+
"jack of diamonds": "17",
|
92 |
+
"jack of hearts": "18",
|
93 |
+
"jack of spades": "19",
|
94 |
+
"joker": "20",
|
95 |
+
"king of clubs": "21",
|
96 |
+
"king of diamonds": "22",
|
97 |
+
"king of hearts": "23",
|
98 |
+
"king of spades": "24",
|
99 |
+
"nine of clubs": "25",
|
100 |
+
"nine of diamonds": "26",
|
101 |
+
"nine of hearts": "27",
|
102 |
+
"nine of spades": "28",
|
103 |
+
"queen of clubs": "29",
|
104 |
+
"queen of diamonds": "30",
|
105 |
+
"queen of hearts": "31",
|
106 |
+
"queen of spades": "32",
|
107 |
+
"seven of clubs": "33",
|
108 |
+
"seven of diamonds": "34",
|
109 |
+
"seven of hearts": "35",
|
110 |
+
"seven of spades": "36",
|
111 |
+
"six of clubs": "37",
|
112 |
+
"six of diamonds": "38",
|
113 |
+
"six of hearts": "39",
|
114 |
+
"six of spades": "40",
|
115 |
+
"ten of clubs": "41",
|
116 |
+
"ten of diamonds": "42",
|
117 |
+
"ten of hearts": "43",
|
118 |
+
"ten of spades": "44",
|
119 |
+
"three of clubs": "45",
|
120 |
+
"three of diamonds": "46",
|
121 |
+
"three of hearts": "47",
|
122 |
+
"three of spades": "48",
|
123 |
+
"two of clubs": "49",
|
124 |
+
"two of diamonds": "50",
|
125 |
+
"two of hearts": "51",
|
126 |
+
"two of spades": "52"
|
127 |
+
},
|
128 |
+
"layer_norm_eps": 1e-12,
|
129 |
+
"layer_scale_init_value": 0.1,
|
130 |
+
"max_length": 128,
|
131 |
+
"model_type": "beit",
|
132 |
+
"num_attention_heads": 12,
|
133 |
+
"num_channels": 3,
|
134 |
+
"num_hidden_layers": 12,
|
135 |
+
"out_indices": [
|
136 |
+
3,
|
137 |
+
5,
|
138 |
+
7,
|
139 |
+
11
|
140 |
+
],
|
141 |
+
"padding": "max_length",
|
142 |
+
"patch_size": 16,
|
143 |
+
"pool_scales": [
|
144 |
+
1,
|
145 |
+
2,
|
146 |
+
3,
|
147 |
+
6
|
148 |
+
],
|
149 |
+
"problem_type": "single_label_classification",
|
150 |
+
"semantic_loss_ignore_index": 255,
|
151 |
+
"torch_dtype": "float32",
|
152 |
+
"transformers_version": "4.25.1",
|
153 |
+
"use_absolute_position_embeddings": false,
|
154 |
+
"use_auxiliary_head": true,
|
155 |
+
"use_mask_token": false,
|
156 |
+
"use_mean_pooling": true,
|
157 |
+
"use_relative_position_bias": true,
|
158 |
+
"use_shared_relative_position_bias": false,
|
159 |
+
"vocab_size": 8192
|
160 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_size": {
|
3 |
+
"height": 224,
|
4 |
+
"width": 224
|
5 |
+
},
|
6 |
+
"do_center_crop": false,
|
7 |
+
"do_normalize": true,
|
8 |
+
"do_reduce_labels": false,
|
9 |
+
"do_rescale": true,
|
10 |
+
"do_resize": true,
|
11 |
+
"feature_extractor_type": "BeitFeatureExtractor",
|
12 |
+
"image_mean": [
|
13 |
+
0.5,
|
14 |
+
0.5,
|
15 |
+
0.5
|
16 |
+
],
|
17 |
+
"image_processor_type": "BeitImageProcessor",
|
18 |
+
"image_std": [
|
19 |
+
0.5,
|
20 |
+
0.5,
|
21 |
+
0.5
|
22 |
+
],
|
23 |
+
"resample": 2,
|
24 |
+
"rescale_factor": 0.00392156862745098,
|
25 |
+
"size": {
|
26 |
+
"height": 224,
|
27 |
+
"width": 224
|
28 |
+
}
|
29 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cddd6c27670ff4e7ea4a2f9ac041abad9f8878adc139f82f86c4b4ff09b5df50
|
3 |
+
size 347017273
|