Snppuzzle commited on
Commit
3bb35d9
·
verified ·
1 Parent(s): 04116f4

Upload ConvNextV2ForImageClassification

Browse files
Files changed (3) hide show
  1. README.md +199 -0
  2. config.json +371 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
config.json ADDED
@@ -0,0 +1,371 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/convnextv2-base-22k-224",
3
+ "architectures": [
4
+ "ConvNextV2ForImageClassification"
5
+ ],
6
+ "depths": [
7
+ 3,
8
+ 3,
9
+ 27,
10
+ 3
11
+ ],
12
+ "drop_path_rate": 0.0,
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 128,
16
+ 256,
17
+ 512,
18
+ 1024
19
+ ],
20
+ "id2label": {
21
+ "0": "aabnam",
22
+ "1": "aemo",
23
+ "2": "amnat",
24
+ "3": "anong",
25
+ "4": "anu",
26
+ "5": "aphet",
27
+ "6": "athik",
28
+ "7": "banman",
29
+ "8": "binbon",
30
+ "9": "bochai",
31
+ "10": "bokin",
32
+ "11": "bolao",
33
+ "12": "bopen",
34
+ "13": "boron",
35
+ "14": "buppe",
36
+ "15": "chaehom",
37
+ "16": "chaeyang",
38
+ "17": "chaidi",
39
+ "18": "chanan",
40
+ "19": "changhan",
41
+ "20": "chaofa",
42
+ "21": "chaomom",
43
+ "22": "chaomueang",
44
+ "23": "chata",
45
+ "24": "chatu",
46
+ "25": "chaya",
47
+ "26": "chiangdao",
48
+ "27": "chiangmai",
49
+ "28": "chingchang",
50
+ "29": "chokdi",
51
+ "30": "chon",
52
+ "31": "dangsaap",
53
+ "32": "deklek",
54
+ "33": "deumnai",
55
+ "34": "doilo",
56
+ "35": "doiluang",
57
+ "36": "doitao",
58
+ "37": "dokbua",
59
+ "38": "eka",
60
+ "39": "fanhan",
61
+ "40": "hangdong",
62
+ "41": "hangsat",
63
+ "42": "hungtam",
64
+ "43": "huwai",
65
+ "44": "inta",
66
+ "45": "itam",
67
+ "46": "iti",
68
+ "47": "kadi",
69
+ "48": "kamyao",
70
+ "49": "kanmo",
71
+ "50": "kapmo",
72
+ "51": "kephet",
73
+ "52": "kepphak",
74
+ "53": "khaikai",
75
+ "54": "khaipa",
76
+ "55": "khamaen",
77
+ "56": "khaoma",
78
+ "57": "khata",
79
+ "58": "kheumnguem",
80
+ "59": "khomchai",
81
+ "60": "khongbo",
82
+ "61": "khongtua",
83
+ "62": "khunyuam",
84
+ "63": "khwaluat",
85
+ "64": "khwamsuk",
86
+ "65": "kinkhao",
87
+ "66": "kinkhong",
88
+ "67": "kinmuea",
89
+ "68": "kinru",
90
+ "69": "kluaibo",
91
+ "70": "laemai",
92
+ "71": "laichiao",
93
+ "72": "lailong",
94
+ "73": "lampang",
95
+ "74": "lattho",
96
+ "75": "lok",
97
+ "76": "luathak",
98
+ "77": "luatok",
99
+ "78": "maechaem",
100
+ "79": "maechai",
101
+ "80": "maechan",
102
+ "81": "maecharim",
103
+ "82": "maelao",
104
+ "83": "maelim",
105
+ "84": "maephrik",
106
+ "85": "maetaeng",
107
+ "86": "maeth",
108
+ "87": "maetha",
109
+ "88": "maewang",
110
+ "89": "maha",
111
+ "90": "mahachai",
112
+ "91": "mam",
113
+ "92": "manpen",
114
+ "93": "manu",
115
+ "94": "mueangphan",
116
+ "95": "mueangyong",
117
+ "96": "nakrian",
118
+ "97": "nambo",
119
+ "98": "nanglong",
120
+ "99": "nangsue",
121
+ "100": "naokhong",
122
+ "101": "nara",
123
+ "102": "newin",
124
+ "103": "nganban",
125
+ "104": "nguenchae",
126
+ "105": "nguenchat",
127
+ "106": "omkoi",
128
+ "107": "oprom",
129
+ "108": "oram",
130
+ "109": "osot",
131
+ "110": "padaet",
132
+ "111": "phaideuan",
133
+ "112": "phak",
134
+ "113": "phakhawa",
135
+ "114": "phayao",
136
+ "115": "phoemwai",
137
+ "116": "phuphiang",
138
+ "117": "phusang",
139
+ "118": "phuttha",
140
+ "119": "phuttho",
141
+ "120": "pikad",
142
+ "121": "pikot",
143
+ "122": "piso",
144
+ "123": "puri",
145
+ "124": "rakha",
146
+ "125": "ratna",
147
+ "126": "roisai",
148
+ "127": "ruluem",
149
+ "128": "saichai",
150
+ "129": "saket",
151
+ "130": "sana",
152
+ "131": "sanam",
153
+ "132": "sanya",
154
+ "133": "sapha",
155
+ "134": "sawa",
156
+ "135": "sayong",
157
+ "136": "siri",
158
+ "137": "sitth",
159
+ "138": "soekho",
160
+ "139": "soekman",
161
+ "140": "somkhuan",
162
+ "141": "songkho",
163
+ "142": "sukhato",
164
+ "143": "sukka",
165
+ "144": "taefai",
166
+ "145": "taehai",
167
+ "146": "tanam",
168
+ "147": "taro",
169
+ "148": "thairat",
170
+ "149": "thamam",
171
+ "150": "thawai",
172
+ "151": "thewa",
173
+ "152": "thuti",
174
+ "153": "uru",
175
+ "154": "wailang",
176
+ "155": "wasa",
177
+ "156": "wati",
178
+ "157": "wihan",
179
+ "158": "witcha",
180
+ "159": "withu",
181
+ "160": "yapheng",
182
+ "161": "yukloek"
183
+ },
184
+ "image_size": 224,
185
+ "initializer_range": 0.02,
186
+ "label2id": {
187
+ "aabnam": 0,
188
+ "aemo": 1,
189
+ "amnat": 2,
190
+ "anong": 3,
191
+ "anu": 4,
192
+ "aphet": 5,
193
+ "athik": 6,
194
+ "banman": 7,
195
+ "binbon": 8,
196
+ "bochai": 9,
197
+ "bokin": 10,
198
+ "bolao": 11,
199
+ "bopen": 12,
200
+ "boron": 13,
201
+ "buppe": 14,
202
+ "chaehom": 15,
203
+ "chaeyang": 16,
204
+ "chaidi": 17,
205
+ "chanan": 18,
206
+ "changhan": 19,
207
+ "chaofa": 20,
208
+ "chaomom": 21,
209
+ "chaomueang": 22,
210
+ "chata": 23,
211
+ "chatu": 24,
212
+ "chaya": 25,
213
+ "chiangdao": 26,
214
+ "chiangmai": 27,
215
+ "chingchang": 28,
216
+ "chokdi": 29,
217
+ "chon": 30,
218
+ "dangsaap": 31,
219
+ "deklek": 32,
220
+ "deumnai": 33,
221
+ "doilo": 34,
222
+ "doiluang": 35,
223
+ "doitao": 36,
224
+ "dokbua": 37,
225
+ "eka": 38,
226
+ "fanhan": 39,
227
+ "hangdong": 40,
228
+ "hangsat": 41,
229
+ "hungtam": 42,
230
+ "huwai": 43,
231
+ "inta": 44,
232
+ "itam": 45,
233
+ "iti": 46,
234
+ "kadi": 47,
235
+ "kamyao": 48,
236
+ "kanmo": 49,
237
+ "kapmo": 50,
238
+ "kephet": 51,
239
+ "kepphak": 52,
240
+ "khaikai": 53,
241
+ "khaipa": 54,
242
+ "khamaen": 55,
243
+ "khaoma": 56,
244
+ "khata": 57,
245
+ "kheumnguem": 58,
246
+ "khomchai": 59,
247
+ "khongbo": 60,
248
+ "khongtua": 61,
249
+ "khunyuam": 62,
250
+ "khwaluat": 63,
251
+ "khwamsuk": 64,
252
+ "kinkhao": 65,
253
+ "kinkhong": 66,
254
+ "kinmuea": 67,
255
+ "kinru": 68,
256
+ "kluaibo": 69,
257
+ "laemai": 70,
258
+ "laichiao": 71,
259
+ "lailong": 72,
260
+ "lampang": 73,
261
+ "lattho": 74,
262
+ "lok": 75,
263
+ "luathak": 76,
264
+ "luatok": 77,
265
+ "maechaem": 78,
266
+ "maechai": 79,
267
+ "maechan": 80,
268
+ "maecharim": 81,
269
+ "maelao": 82,
270
+ "maelim": 83,
271
+ "maephrik": 84,
272
+ "maetaeng": 85,
273
+ "maeth": 86,
274
+ "maetha": 87,
275
+ "maewang": 88,
276
+ "maha": 89,
277
+ "mahachai": 90,
278
+ "mam": 91,
279
+ "manpen": 92,
280
+ "manu": 93,
281
+ "mueangphan": 94,
282
+ "mueangyong": 95,
283
+ "nakrian": 96,
284
+ "nambo": 97,
285
+ "nanglong": 98,
286
+ "nangsue": 99,
287
+ "naokhong": 100,
288
+ "nara": 101,
289
+ "newin": 102,
290
+ "nganban": 103,
291
+ "nguenchae": 104,
292
+ "nguenchat": 105,
293
+ "omkoi": 106,
294
+ "oprom": 107,
295
+ "oram": 108,
296
+ "osot": 109,
297
+ "padaet": 110,
298
+ "phaideuan": 111,
299
+ "phak": 112,
300
+ "phakhawa": 113,
301
+ "phayao": 114,
302
+ "phoemwai": 115,
303
+ "phuphiang": 116,
304
+ "phusang": 117,
305
+ "phuttha": 118,
306
+ "phuttho": 119,
307
+ "pikad": 120,
308
+ "pikot": 121,
309
+ "piso": 122,
310
+ "puri": 123,
311
+ "rakha": 124,
312
+ "ratna": 125,
313
+ "roisai": 126,
314
+ "ruluem": 127,
315
+ "saichai": 128,
316
+ "saket": 129,
317
+ "sana": 130,
318
+ "sanam": 131,
319
+ "sanya": 132,
320
+ "sapha": 133,
321
+ "sawa": 134,
322
+ "sayong": 135,
323
+ "siri": 136,
324
+ "sitth": 137,
325
+ "soekho": 138,
326
+ "soekman": 139,
327
+ "somkhuan": 140,
328
+ "songkho": 141,
329
+ "sukhato": 142,
330
+ "sukka": 143,
331
+ "taefai": 144,
332
+ "taehai": 145,
333
+ "tanam": 146,
334
+ "taro": 147,
335
+ "thairat": 148,
336
+ "thamam": 149,
337
+ "thawai": 150,
338
+ "thewa": 151,
339
+ "thuti": 152,
340
+ "uru": 153,
341
+ "wailang": 154,
342
+ "wasa": 155,
343
+ "wati": 156,
344
+ "wihan": 157,
345
+ "witcha": 158,
346
+ "withu": 159,
347
+ "yapheng": 160,
348
+ "yukloek": 161
349
+ },
350
+ "layer_norm_eps": 1e-12,
351
+ "model_type": "convnextv2",
352
+ "num_channels": 3,
353
+ "num_stages": 4,
354
+ "out_features": [
355
+ "stage4"
356
+ ],
357
+ "out_indices": [
358
+ 4
359
+ ],
360
+ "patch_size": 4,
361
+ "problem_type": "single_label_classification",
362
+ "stage_names": [
363
+ "stem",
364
+ "stage1",
365
+ "stage2",
366
+ "stage3",
367
+ "stage4"
368
+ ],
369
+ "torch_dtype": "float32",
370
+ "transformers_version": "4.48.3"
371
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a1ce56e8a0afa17b76cc137a32e21fa8a0a899b2856deb34208e74a4517d5b8c
3
+ size 351481504