Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +37 -0
- config.json +147 -0
- preprocessor_config.json +23 -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: 0.07713046775481007
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Multi-class Classification
|
22 |
+
- Model ID: 3726099223
|
23 |
+
- CO2 Emissions (in grams): 0.0771
|
24 |
+
|
25 |
+
## Validation Metrics
|
26 |
+
|
27 |
+
- Loss: 1.034
|
28 |
+
- Accuracy: 0.792
|
29 |
+
- Macro F1: 0.785
|
30 |
+
- Micro F1: 0.792
|
31 |
+
- Weighted F1: 0.785
|
32 |
+
- Macro Precision: 0.812
|
33 |
+
- Micro Precision: 0.792
|
34 |
+
- Weighted Precision: 0.812
|
35 |
+
- Macro Recall: 0.792
|
36 |
+
- Micro Recall: 0.792
|
37 |
+
- Weighted Recall: 0.792
|
config.json
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "AutoTrain",
|
3 |
+
"architectures": [
|
4 |
+
"ResNetForImageClassification"
|
5 |
+
],
|
6 |
+
"depths": [
|
7 |
+
3,
|
8 |
+
4,
|
9 |
+
6,
|
10 |
+
3
|
11 |
+
],
|
12 |
+
"downsample_in_first_stage": false,
|
13 |
+
"embedding_size": 64,
|
14 |
+
"hidden_act": "relu",
|
15 |
+
"hidden_sizes": [
|
16 |
+
256,
|
17 |
+
512,
|
18 |
+
1024,
|
19 |
+
2048
|
20 |
+
],
|
21 |
+
"id2label": {
|
22 |
+
"0": "ace of clubs",
|
23 |
+
"1": "ace of diamonds",
|
24 |
+
"10": "five of hearts",
|
25 |
+
"11": "five of spades",
|
26 |
+
"12": "four of clubs",
|
27 |
+
"13": "four of diamonds",
|
28 |
+
"14": "four of hearts",
|
29 |
+
"15": "four of spades",
|
30 |
+
"16": "jack of clubs",
|
31 |
+
"17": "jack of diamonds",
|
32 |
+
"18": "jack of hearts",
|
33 |
+
"19": "jack of spades",
|
34 |
+
"2": "ace of hearts",
|
35 |
+
"20": "joker",
|
36 |
+
"21": "king of clubs",
|
37 |
+
"22": "king of diamonds",
|
38 |
+
"23": "king of hearts",
|
39 |
+
"24": "king of spades",
|
40 |
+
"25": "nine of clubs",
|
41 |
+
"26": "nine of diamonds",
|
42 |
+
"27": "nine of hearts",
|
43 |
+
"28": "nine of spades",
|
44 |
+
"29": "queen of clubs",
|
45 |
+
"3": "ace of spades",
|
46 |
+
"30": "queen of diamonds",
|
47 |
+
"31": "queen of hearts",
|
48 |
+
"32": "queen of spades",
|
49 |
+
"33": "seven of clubs",
|
50 |
+
"34": "seven of diamonds",
|
51 |
+
"35": "seven of hearts",
|
52 |
+
"36": "seven of spades",
|
53 |
+
"37": "six of clubs",
|
54 |
+
"38": "six of diamonds",
|
55 |
+
"39": "six of hearts",
|
56 |
+
"4": "eight of clubs",
|
57 |
+
"40": "six of spades",
|
58 |
+
"41": "ten of clubs",
|
59 |
+
"42": "ten of diamonds",
|
60 |
+
"43": "ten of hearts",
|
61 |
+
"44": "ten of spades",
|
62 |
+
"45": "three of clubs",
|
63 |
+
"46": "three of diamonds",
|
64 |
+
"47": "three of hearts",
|
65 |
+
"48": "three of spades",
|
66 |
+
"49": "two of clubs",
|
67 |
+
"5": "eight of diamonds",
|
68 |
+
"50": "two of diamonds",
|
69 |
+
"51": "two of hearts",
|
70 |
+
"52": "two of spades",
|
71 |
+
"6": "eight of hearts",
|
72 |
+
"7": "eight of spades",
|
73 |
+
"8": "five of clubs",
|
74 |
+
"9": "five of diamonds"
|
75 |
+
},
|
76 |
+
"label2id": {
|
77 |
+
"ace of clubs": "0",
|
78 |
+
"ace of diamonds": "1",
|
79 |
+
"ace of hearts": "2",
|
80 |
+
"ace of spades": "3",
|
81 |
+
"eight of clubs": "4",
|
82 |
+
"eight of diamonds": "5",
|
83 |
+
"eight of hearts": "6",
|
84 |
+
"eight of spades": "7",
|
85 |
+
"five of clubs": "8",
|
86 |
+
"five of diamonds": "9",
|
87 |
+
"five of hearts": "10",
|
88 |
+
"five of spades": "11",
|
89 |
+
"four of clubs": "12",
|
90 |
+
"four of diamonds": "13",
|
91 |
+
"four of hearts": "14",
|
92 |
+
"four of spades": "15",
|
93 |
+
"jack of clubs": "16",
|
94 |
+
"jack of diamonds": "17",
|
95 |
+
"jack of hearts": "18",
|
96 |
+
"jack of spades": "19",
|
97 |
+
"joker": "20",
|
98 |
+
"king of clubs": "21",
|
99 |
+
"king of diamonds": "22",
|
100 |
+
"king of hearts": "23",
|
101 |
+
"king of spades": "24",
|
102 |
+
"nine of clubs": "25",
|
103 |
+
"nine of diamonds": "26",
|
104 |
+
"nine of hearts": "27",
|
105 |
+
"nine of spades": "28",
|
106 |
+
"queen of clubs": "29",
|
107 |
+
"queen of diamonds": "30",
|
108 |
+
"queen of hearts": "31",
|
109 |
+
"queen of spades": "32",
|
110 |
+
"seven of clubs": "33",
|
111 |
+
"seven of diamonds": "34",
|
112 |
+
"seven of hearts": "35",
|
113 |
+
"seven of spades": "36",
|
114 |
+
"six of clubs": "37",
|
115 |
+
"six of diamonds": "38",
|
116 |
+
"six of hearts": "39",
|
117 |
+
"six of spades": "40",
|
118 |
+
"ten of clubs": "41",
|
119 |
+
"ten of diamonds": "42",
|
120 |
+
"ten of hearts": "43",
|
121 |
+
"ten of spades": "44",
|
122 |
+
"three of clubs": "45",
|
123 |
+
"three of diamonds": "46",
|
124 |
+
"three of hearts": "47",
|
125 |
+
"three of spades": "48",
|
126 |
+
"two of clubs": "49",
|
127 |
+
"two of diamonds": "50",
|
128 |
+
"two of hearts": "51",
|
129 |
+
"two of spades": "52"
|
130 |
+
},
|
131 |
+
"layer_type": "bottleneck",
|
132 |
+
"max_length": 128,
|
133 |
+
"model_type": "resnet",
|
134 |
+
"num_channels": 3,
|
135 |
+
"out_features": null,
|
136 |
+
"padding": "max_length",
|
137 |
+
"problem_type": "single_label_classification",
|
138 |
+
"stage_names": [
|
139 |
+
"stem",
|
140 |
+
"stage1",
|
141 |
+
"stage2",
|
142 |
+
"stage3",
|
143 |
+
"stage4"
|
144 |
+
],
|
145 |
+
"torch_dtype": "float32",
|
146 |
+
"transformers_version": "4.25.1"
|
147 |
+
}
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
4 |
+
"do_rescale": true,
|
5 |
+
"do_resize": true,
|
6 |
+
"feature_extractor_type": "ConvNextFeatureExtractor",
|
7 |
+
"image_mean": [
|
8 |
+
0.485,
|
9 |
+
0.456,
|
10 |
+
0.406
|
11 |
+
],
|
12 |
+
"image_processor_type": "ConvNextImageProcessor",
|
13 |
+
"image_std": [
|
14 |
+
0.229,
|
15 |
+
0.224,
|
16 |
+
0.225
|
17 |
+
],
|
18 |
+
"resample": 3,
|
19 |
+
"rescale_factor": 0.00392156862745098,
|
20 |
+
"size": {
|
21 |
+
"shortest_edge": 224
|
22 |
+
}
|
23 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:613d4ed61cba3585c8d11f29d229e11741350a4b22fec83ef0acd8bfa0b06992
|
3 |
+
size 94792973
|