Snppuzzle commited on
Commit
e672d40
·
verified ·
1 Parent(s): 8bb072c

Upload EfficientNetForImageClassification

Browse files
Files changed (3) hide show
  1. README.md +199 -0
  2. config.json +418 -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,418 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "EfficientNetForImageClassification"
4
+ ],
5
+ "batch_norm_eps": 0.001,
6
+ "batch_norm_momentum": 0.99,
7
+ "depth_coefficient": 1.0,
8
+ "depth_divisor": 8,
9
+ "depthwise_padding": [],
10
+ "drop_connect_rate": 0.2,
11
+ "dropout_rate": 0.2,
12
+ "expand_ratios": [
13
+ 1,
14
+ 6,
15
+ 6,
16
+ 6,
17
+ 6,
18
+ 6,
19
+ 6
20
+ ],
21
+ "hidden_act": "swish",
22
+ "hidden_dim": 1280,
23
+ "id2label": {
24
+ "0": "aabnam",
25
+ "1": "amnat",
26
+ "2": "anong",
27
+ "3": "anu",
28
+ "4": "aphet",
29
+ "5": "athik",
30
+ "6": "banman",
31
+ "7": "binbon",
32
+ "8": "bochai",
33
+ "9": "bokin",
34
+ "10": "bolao",
35
+ "11": "bopen",
36
+ "12": "boron",
37
+ "13": "buppe",
38
+ "14": "chaehom",
39
+ "15": "chaeyang",
40
+ "16": "chaidi",
41
+ "17": "chanan",
42
+ "18": "changhan",
43
+ "19": "chaofa",
44
+ "20": "chaomom",
45
+ "21": "chaomueang",
46
+ "22": "chata",
47
+ "23": "chatu",
48
+ "24": "chaya",
49
+ "25": "chiangdao",
50
+ "26": "chiangmai",
51
+ "27": "chingchang",
52
+ "28": "chokdi",
53
+ "29": "dangsaap",
54
+ "30": "deklek",
55
+ "31": "deumnai",
56
+ "32": "doilo",
57
+ "33": "doiluang",
58
+ "34": "doitao",
59
+ "35": "dokbua",
60
+ "36": "eka",
61
+ "37": "fanhan",
62
+ "38": "hangdong",
63
+ "39": "hangsat",
64
+ "40": "hungtam",
65
+ "41": "huwai",
66
+ "42": "inta",
67
+ "43": "iti",
68
+ "44": "itom",
69
+ "45": "jara",
70
+ "46": "kadi",
71
+ "47": "kamyao",
72
+ "48": "kanmo",
73
+ "49": "kapmo",
74
+ "50": "kephet",
75
+ "51": "kepphak",
76
+ "52": "khaikai",
77
+ "53": "khaipa",
78
+ "54": "khamaen",
79
+ "55": "khaoma",
80
+ "56": "khata",
81
+ "57": "kheumnguem",
82
+ "58": "khomchai",
83
+ "59": "khongbo",
84
+ "60": "khongtua",
85
+ "61": "khunyuam",
86
+ "62": "khwaluat",
87
+ "63": "khwamsuk",
88
+ "64": "kinkhao",
89
+ "65": "kinkhong",
90
+ "66": "kinmuea",
91
+ "67": "kinru",
92
+ "68": "kluaibo",
93
+ "69": "laemai",
94
+ "70": "laichiao",
95
+ "71": "lailong",
96
+ "72": "lampang",
97
+ "73": "lattho",
98
+ "74": "loka",
99
+ "75": "luathak",
100
+ "76": "luatok",
101
+ "77": "maechaem",
102
+ "78": "maechai",
103
+ "79": "maechan",
104
+ "80": "maecharim",
105
+ "81": "maelao",
106
+ "82": "maelim",
107
+ "83": "maemo",
108
+ "84": "maephrik",
109
+ "85": "maetaeng",
110
+ "86": "maeth",
111
+ "87": "maetha",
112
+ "88": "maewang",
113
+ "89": "maha",
114
+ "90": "mahachai",
115
+ "91": "mam",
116
+ "92": "manpen",
117
+ "93": "manu",
118
+ "94": "mueangphan",
119
+ "95": "mueangyong",
120
+ "96": "nakrian",
121
+ "97": "nambo",
122
+ "98": "nanglong",
123
+ "99": "nangsue",
124
+ "100": "naokhong",
125
+ "101": "nara",
126
+ "102": "newin",
127
+ "103": "nganban",
128
+ "104": "nguenchae",
129
+ "105": "nguenchat",
130
+ "106": "omkoi",
131
+ "107": "oprom",
132
+ "108": "oram",
133
+ "109": "osot",
134
+ "110": "padaet",
135
+ "111": "phaideuan",
136
+ "112": "phaka",
137
+ "113": "phakhawa",
138
+ "114": "phayao",
139
+ "115": "phoenwai",
140
+ "116": "phuphiang",
141
+ "117": "phusang",
142
+ "118": "phuttha",
143
+ "119": "phuttho",
144
+ "120": "pikat",
145
+ "121": "pikot",
146
+ "122": "piso",
147
+ "123": "puri",
148
+ "124": "rakha",
149
+ "125": "ratna",
150
+ "126": "roisai",
151
+ "127": "ruluem",
152
+ "128": "saichai",
153
+ "129": "saket",
154
+ "130": "sana",
155
+ "131": "sanam",
156
+ "132": "sanya",
157
+ "133": "sapha",
158
+ "134": "sawa",
159
+ "135": "sayong",
160
+ "136": "siri",
161
+ "137": "sitth",
162
+ "138": "soekho",
163
+ "139": "soekman",
164
+ "140": "somkhuan",
165
+ "141": "songkho",
166
+ "142": "sukhato",
167
+ "143": "sukka",
168
+ "144": "taefai",
169
+ "145": "taehai",
170
+ "146": "tanam",
171
+ "147": "taro",
172
+ "148": "thairat",
173
+ "149": "thamam",
174
+ "150": "thawai",
175
+ "151": "thewa",
176
+ "152": "thuti",
177
+ "153": "uru",
178
+ "154": "wailang",
179
+ "155": "wasa",
180
+ "156": "wati",
181
+ "157": "wihan",
182
+ "158": "witcha",
183
+ "159": "witwo",
184
+ "160": "yapheng",
185
+ "161": "yukloek"
186
+ },
187
+ "image_size": 224,
188
+ "in_channels": [
189
+ 32,
190
+ 16,
191
+ 24,
192
+ 40,
193
+ 80,
194
+ 112,
195
+ 192
196
+ ],
197
+ "initializer_range": 0.02,
198
+ "kernel_sizes": [
199
+ 3,
200
+ 3,
201
+ 5,
202
+ 3,
203
+ 5,
204
+ 5,
205
+ 3
206
+ ],
207
+ "label2id": {
208
+ "aabnam": 0,
209
+ "amnat": 1,
210
+ "anong": 2,
211
+ "anu": 3,
212
+ "aphet": 4,
213
+ "athik": 5,
214
+ "banman": 6,
215
+ "binbon": 7,
216
+ "bochai": 8,
217
+ "bokin": 9,
218
+ "bolao": 10,
219
+ "bopen": 11,
220
+ "boron": 12,
221
+ "buppe": 13,
222
+ "chaehom": 14,
223
+ "chaeyang": 15,
224
+ "chaidi": 16,
225
+ "chanan": 17,
226
+ "changhan": 18,
227
+ "chaofa": 19,
228
+ "chaomom": 20,
229
+ "chaomueang": 21,
230
+ "chata": 22,
231
+ "chatu": 23,
232
+ "chaya": 24,
233
+ "chiangdao": 25,
234
+ "chiangmai": 26,
235
+ "chingchang": 27,
236
+ "chokdi": 28,
237
+ "dangsaap": 29,
238
+ "deklek": 30,
239
+ "deumnai": 31,
240
+ "doilo": 32,
241
+ "doiluang": 33,
242
+ "doitao": 34,
243
+ "dokbua": 35,
244
+ "eka": 36,
245
+ "fanhan": 37,
246
+ "hangdong": 38,
247
+ "hangsat": 39,
248
+ "hungtam": 40,
249
+ "huwai": 41,
250
+ "inta": 42,
251
+ "iti": 43,
252
+ "itom": 44,
253
+ "jara": 45,
254
+ "kadi": 46,
255
+ "kamyao": 47,
256
+ "kanmo": 48,
257
+ "kapmo": 49,
258
+ "kephet": 50,
259
+ "kepphak": 51,
260
+ "khaikai": 52,
261
+ "khaipa": 53,
262
+ "khamaen": 54,
263
+ "khaoma": 55,
264
+ "khata": 56,
265
+ "kheumnguem": 57,
266
+ "khomchai": 58,
267
+ "khongbo": 59,
268
+ "khongtua": 60,
269
+ "khunyuam": 61,
270
+ "khwaluat": 62,
271
+ "khwamsuk": 63,
272
+ "kinkhao": 64,
273
+ "kinkhong": 65,
274
+ "kinmuea": 66,
275
+ "kinru": 67,
276
+ "kluaibo": 68,
277
+ "laemai": 69,
278
+ "laichiao": 70,
279
+ "lailong": 71,
280
+ "lampang": 72,
281
+ "lattho": 73,
282
+ "loka": 74,
283
+ "luathak": 75,
284
+ "luatok": 76,
285
+ "maechaem": 77,
286
+ "maechai": 78,
287
+ "maechan": 79,
288
+ "maecharim": 80,
289
+ "maelao": 81,
290
+ "maelim": 82,
291
+ "maemo": 83,
292
+ "maephrik": 84,
293
+ "maetaeng": 85,
294
+ "maeth": 86,
295
+ "maetha": 87,
296
+ "maewang": 88,
297
+ "maha": 89,
298
+ "mahachai": 90,
299
+ "mam": 91,
300
+ "manpen": 92,
301
+ "manu": 93,
302
+ "mueangphan": 94,
303
+ "mueangyong": 95,
304
+ "nakrian": 96,
305
+ "nambo": 97,
306
+ "nanglong": 98,
307
+ "nangsue": 99,
308
+ "naokhong": 100,
309
+ "nara": 101,
310
+ "newin": 102,
311
+ "nganban": 103,
312
+ "nguenchae": 104,
313
+ "nguenchat": 105,
314
+ "omkoi": 106,
315
+ "oprom": 107,
316
+ "oram": 108,
317
+ "osot": 109,
318
+ "padaet": 110,
319
+ "phaideuan": 111,
320
+ "phaka": 112,
321
+ "phakhawa": 113,
322
+ "phayao": 114,
323
+ "phoenwai": 115,
324
+ "phuphiang": 116,
325
+ "phusang": 117,
326
+ "phuttha": 118,
327
+ "phuttho": 119,
328
+ "pikat": 120,
329
+ "pikot": 121,
330
+ "piso": 122,
331
+ "puri": 123,
332
+ "rakha": 124,
333
+ "ratna": 125,
334
+ "roisai": 126,
335
+ "ruluem": 127,
336
+ "saichai": 128,
337
+ "saket": 129,
338
+ "sana": 130,
339
+ "sanam": 131,
340
+ "sanya": 132,
341
+ "sapha": 133,
342
+ "sawa": 134,
343
+ "sayong": 135,
344
+ "siri": 136,
345
+ "sitth": 137,
346
+ "soekho": 138,
347
+ "soekman": 139,
348
+ "somkhuan": 140,
349
+ "songkho": 141,
350
+ "sukhato": 142,
351
+ "sukka": 143,
352
+ "taefai": 144,
353
+ "taehai": 145,
354
+ "tanam": 146,
355
+ "taro": 147,
356
+ "thairat": 148,
357
+ "thamam": 149,
358
+ "thawai": 150,
359
+ "thewa": 151,
360
+ "thuti": 152,
361
+ "uru": 153,
362
+ "wailang": 154,
363
+ "wasa": 155,
364
+ "wati": 156,
365
+ "wihan": 157,
366
+ "witcha": 158,
367
+ "witwo": 159,
368
+ "yapheng": 160,
369
+ "yukloek": 161
370
+ },
371
+ "model_type": "efficientnet",
372
+ "num_block_repeats": [
373
+ 1,
374
+ 2,
375
+ 2,
376
+ 3,
377
+ 3,
378
+ 4,
379
+ 1
380
+ ],
381
+ "num_channels": 3,
382
+ "num_hidden_layers": 64,
383
+ "out_channels": [
384
+ 16,
385
+ 24,
386
+ 40,
387
+ 80,
388
+ 112,
389
+ 192,
390
+ 320
391
+ ],
392
+ "out_features": null,
393
+ "pooling_type": "mean",
394
+ "problem_type": "single_label_classification",
395
+ "squeeze_expansion_ratio": 0.25,
396
+ "stage_names": [
397
+ "stem",
398
+ "stage1",
399
+ "stage2",
400
+ "stage3",
401
+ "stage4",
402
+ "stage5",
403
+ "stage6",
404
+ "stage7"
405
+ ],
406
+ "strides": [
407
+ 1,
408
+ 2,
409
+ 2,
410
+ 2,
411
+ 1,
412
+ 2,
413
+ 1
414
+ ],
415
+ "torch_dtype": "float32",
416
+ "transformers_version": "4.50.0",
417
+ "width_coefficient": 1.0
418
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e039b8f479f4b0eb788a9831ea4eb072018d1c9fca0c12e3f02e9acfde4e20e7
3
+ size 17075088