Commit From AutoTrain
Browse files- .gitattributes +3 -0
- README.md +37 -0
- config.json +151 -0
- model.safetensors +3 -0
- preprocessor_config.json +23 -0
- pytorch_model.bin +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
37 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
38 |
+
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 |
+
- fsuarez/autotrain-data-logo-identifier
|
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.060824697813101125
|
17 |
+
---
|
18 |
+
|
19 |
+
# Model Trained Using AutoTrain
|
20 |
+
|
21 |
+
- Problem type: Multi-class Classification
|
22 |
+
- Model ID: 90194144191
|
23 |
+
- CO2 Emissions (in grams): 0.0608
|
24 |
+
|
25 |
+
## Validation Metrics
|
26 |
+
|
27 |
+
- Loss: 0.300
|
28 |
+
- Accuracy: 0.924
|
29 |
+
- Macro F1: 0.924
|
30 |
+
- Micro F1: 0.924
|
31 |
+
- Weighted F1: 0.922
|
32 |
+
- Macro Precision: 0.930
|
33 |
+
- Micro Precision: 0.924
|
34 |
+
- Weighted Precision: 0.928
|
35 |
+
- Macro Recall: 0.924
|
36 |
+
- Micro Recall: 0.924
|
37 |
+
- Weighted Recall: 0.924
|
config.json
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "AutoTrain",
|
3 |
+
"architectures": [
|
4 |
+
"SwinForImageClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.0,
|
7 |
+
"depths": [
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
6,
|
11 |
+
2
|
12 |
+
],
|
13 |
+
"drop_path_rate": 0.1,
|
14 |
+
"embed_dim": 96,
|
15 |
+
"encoder_stride": 32,
|
16 |
+
"hidden_act": "gelu",
|
17 |
+
"hidden_dropout_prob": 0.0,
|
18 |
+
"hidden_size": 768,
|
19 |
+
"id2label": {
|
20 |
+
"0": "Acer",
|
21 |
+
"1": "Acura",
|
22 |
+
"10": "Converse",
|
23 |
+
"11": "CornFlakes",
|
24 |
+
"12": "DominosPizza",
|
25 |
+
"13": "Excel",
|
26 |
+
"14": "GMC",
|
27 |
+
"15": "Gillette",
|
28 |
+
"16": "Google",
|
29 |
+
"17": "HardRockCafe",
|
30 |
+
"18": "Heineken",
|
31 |
+
"19": "HewlettPackard",
|
32 |
+
"2": "Addidas",
|
33 |
+
"20": "Hp",
|
34 |
+
"21": "Huawei",
|
35 |
+
"22": "Hyundai",
|
36 |
+
"23": "IBM",
|
37 |
+
"24": "Java",
|
38 |
+
"25": "KFC",
|
39 |
+
"26": "Kia",
|
40 |
+
"27": "Kingston",
|
41 |
+
"28": "LG",
|
42 |
+
"29": "Lenovo",
|
43 |
+
"3": "Ades",
|
44 |
+
"30": "Lipton",
|
45 |
+
"31": "Mattel",
|
46 |
+
"32": "McDonalds",
|
47 |
+
"33": "MercedesBenz",
|
48 |
+
"34": "Motorola",
|
49 |
+
"35": "Nestle",
|
50 |
+
"36": "Nickelodeon",
|
51 |
+
"37": "Nike",
|
52 |
+
"38": "Pennzoil",
|
53 |
+
"39": "Pepsi",
|
54 |
+
"4": "Adio",
|
55 |
+
"40": "Peugeot",
|
56 |
+
"41": "Porsche",
|
57 |
+
"42": "Samsung",
|
58 |
+
"43": "SchneiderElectric",
|
59 |
+
"44": "Shell",
|
60 |
+
"45": "cocacola",
|
61 |
+
"5": "Cadillac",
|
62 |
+
"6": "CalvinKlein",
|
63 |
+
"7": "Canon",
|
64 |
+
"8": "CocaColaZero",
|
65 |
+
"9": "Coleman"
|
66 |
+
},
|
67 |
+
"image_size": 224,
|
68 |
+
"initializer_range": 0.02,
|
69 |
+
"label2id": {
|
70 |
+
"Acer": "0",
|
71 |
+
"Acura": "1",
|
72 |
+
"Addidas": "2",
|
73 |
+
"Ades": "3",
|
74 |
+
"Adio": "4",
|
75 |
+
"Cadillac": "5",
|
76 |
+
"CalvinKlein": "6",
|
77 |
+
"Canon": "7",
|
78 |
+
"CocaColaZero": "8",
|
79 |
+
"Coleman": "9",
|
80 |
+
"Converse": "10",
|
81 |
+
"CornFlakes": "11",
|
82 |
+
"DominosPizza": "12",
|
83 |
+
"Excel": "13",
|
84 |
+
"GMC": "14",
|
85 |
+
"Gillette": "15",
|
86 |
+
"Google": "16",
|
87 |
+
"HardRockCafe": "17",
|
88 |
+
"Heineken": "18",
|
89 |
+
"HewlettPackard": "19",
|
90 |
+
"Hp": "20",
|
91 |
+
"Huawei": "21",
|
92 |
+
"Hyundai": "22",
|
93 |
+
"IBM": "23",
|
94 |
+
"Java": "24",
|
95 |
+
"KFC": "25",
|
96 |
+
"Kia": "26",
|
97 |
+
"Kingston": "27",
|
98 |
+
"LG": "28",
|
99 |
+
"Lenovo": "29",
|
100 |
+
"Lipton": "30",
|
101 |
+
"Mattel": "31",
|
102 |
+
"McDonalds": "32",
|
103 |
+
"MercedesBenz": "33",
|
104 |
+
"Motorola": "34",
|
105 |
+
"Nestle": "35",
|
106 |
+
"Nickelodeon": "36",
|
107 |
+
"Nike": "37",
|
108 |
+
"Pennzoil": "38",
|
109 |
+
"Pepsi": "39",
|
110 |
+
"Peugeot": "40",
|
111 |
+
"Porsche": "41",
|
112 |
+
"Samsung": "42",
|
113 |
+
"SchneiderElectric": "43",
|
114 |
+
"Shell": "44",
|
115 |
+
"cocacola": "45"
|
116 |
+
},
|
117 |
+
"layer_norm_eps": 1e-05,
|
118 |
+
"max_length": 128,
|
119 |
+
"mlp_ratio": 4.0,
|
120 |
+
"model_type": "swin",
|
121 |
+
"num_channels": 3,
|
122 |
+
"num_heads": [
|
123 |
+
3,
|
124 |
+
6,
|
125 |
+
12,
|
126 |
+
24
|
127 |
+
],
|
128 |
+
"num_layers": 4,
|
129 |
+
"out_features": [
|
130 |
+
"stage4"
|
131 |
+
],
|
132 |
+
"out_indices": [
|
133 |
+
4
|
134 |
+
],
|
135 |
+
"padding": "max_length",
|
136 |
+
"patch_size": 4,
|
137 |
+
"path_norm": true,
|
138 |
+
"problem_type": "single_label_classification",
|
139 |
+
"qkv_bias": true,
|
140 |
+
"stage_names": [
|
141 |
+
"stem",
|
142 |
+
"stage1",
|
143 |
+
"stage2",
|
144 |
+
"stage3",
|
145 |
+
"stage4"
|
146 |
+
],
|
147 |
+
"torch_dtype": "float32",
|
148 |
+
"transformers_version": "4.29.2",
|
149 |
+
"use_absolute_embeddings": false,
|
150 |
+
"window_size": 7
|
151 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:13eda6829cd09a744498efc6d056cb7c1cf65119910ced6a9cbe2a3faf3e0f52
|
3 |
+
size 110478184
|
preprocessor_config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"do_rescale": true,
|
4 |
+
"do_resize": true,
|
5 |
+
"feature_extractor_type": "ViTFeatureExtractor",
|
6 |
+
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
+
],
|
11 |
+
"image_processor_type": "ViTFeatureExtractor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"height": 224,
|
21 |
+
"width": 224
|
22 |
+
}
|
23 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:be3c007e1d3eb65fcb4698971151f8eab623d26ae884b874b5fad22a71194255
|
3 |
+
size 110530161
|