s1pitz commited on
Commit
18aba28
·
verified ·
1 Parent(s): 0310ab0

Upload ConvNextForImageClassification

Browse files
Files changed (3) hide show
  1. README.md +199 -0
  2. config.json +247 -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,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ConvNextForImageClassification"
4
+ ],
5
+ "depths": [
6
+ 3,
7
+ 3,
8
+ 9,
9
+ 3
10
+ ],
11
+ "drop_path_rate": 0.0,
12
+ "dtype": "float32",
13
+ "hidden_act": "gelu",
14
+ "hidden_sizes": [
15
+ 96,
16
+ 192,
17
+ 384,
18
+ 768
19
+ ],
20
+ "id2label": {
21
+ "0": "Abelmoschus Esculentus (Okra)",
22
+ "1": "Acorus Calamus (Dlingo)",
23
+ "2": "Aloe Vera (Lidah Buaya)",
24
+ "3": "Alstonia Scholaris (Pulai)",
25
+ "4": "Amaranthus Spinosus (Bayam Duri)",
26
+ "5": "Andrographis Paniculata (Sambiloto)",
27
+ "6": "Annona Muricata (Sirsak)",
28
+ "7": "Annona Squamosa (Srikaya)",
29
+ "8": "Anredera Cordifolia (Binahong)",
30
+ "9": "Apium Graveolens (Seledri)",
31
+ "10": "Artocarpus Heterophyllus (Nangka Mini)",
32
+ "11": "Artocarpus Integer (Nangka Cempedak)",
33
+ "12": "Averrhoa Bilimbi (Belimbing Wuluh)",
34
+ "13": "Blumea Balsamifera (Sembung)",
35
+ "14": "Borreria Hispida (Gempur Batu)",
36
+ "15": "Caesalpinia Sappan L (Secang)",
37
+ "16": "Caladium Cicolor (Keladi)",
38
+ "17": "Calendula Officinalis (Marigold)",
39
+ "18": "Canangium Odoratum (Kenanga)",
40
+ "19": "Catharanthus Roseus (Tapak Dara)",
41
+ "20": "Celosia Cristata (Jengger Ayam)",
42
+ "21": "Centella Asiatica (Pegagan)",
43
+ "22": "Cestrum Nocturnum (Sedap Malam)",
44
+ "23": "Chrysopogon Zizanioides (Akar Wangi)",
45
+ "24": "Citrus Amblycarpa (Jeruk Limau)",
46
+ "25": "Clinalanthus Nutans (Dandang Gendis)",
47
+ "26": "Clitoria Ternatea (Kembang Telang)",
48
+ "27": "Crinum Asiaticum (Bakung Putih)",
49
+ "28": "Curcuma Domestica (Kunyit)",
50
+ "29": "Cyclea Barbata (Cincau Hijau)",
51
+ "30": "Cymbopogon Nardus (Serai)",
52
+ "31": "Derris Elliptica (Tuba)",
53
+ "32": "Desmodium Triquitrum (Daun Duduk)",
54
+ "33": "Dioscorea Hispida (Gadung)",
55
+ "34": "Eleutherine Americana (Bawang Dayak)",
56
+ "35": "Euodia Suaveolens (Zodia)",
57
+ "36": "Eupatorium Triplinerve (Prasman)",
58
+ "37": "Euphorbia Tirucalli (Patah Tulang)",
59
+ "38": "Euphoria Longan (Kelengkeng)",
60
+ "39": "Ficus Carica (Tin)",
61
+ "40": "Ficus Septica (Awar-Awar)",
62
+ "41": "Graptophyllum Pictum (Daun Ungu)",
63
+ "42": "Gynura Segetum (Daun Dewa)",
64
+ "43": "Hibiscus Rosa-sinensis (Kembang Sepatu)",
65
+ "44": "Hibiscus Sabdariffa (Rosela)",
66
+ "45": "Houttoynia Cordata (Amis-Amisan)",
67
+ "46": "Hydrocotyle Sibthorpioides (Semanggi Gunung)",
68
+ "47": "Impatiens Balsamina (Pacar Air)",
69
+ "48": "Isotoma Longiflora (Ki Tolod)",
70
+ "49": "Jasminum Sambac (Melati)",
71
+ "50": "Jatropa Multifida (Betadin)",
72
+ "51": "Kaempferia Galanga (Kencur)",
73
+ "52": "Melaleuca Leucadendra (Kayu Putih)",
74
+ "53": "Melia Azedarach (Mindi)",
75
+ "54": "Melissa officinalis (Lemon Balm)",
76
+ "55": "Michelia Alba (Kembang Kantil)",
77
+ "56": "Mirabilis Jalapa (Bunga Pukul Empat)",
78
+ "57": "Morinda Citrifolia (Mengkudu)",
79
+ "58": "Morus Alba (Murbei)",
80
+ "59": "Muraya Paniculata (Kemuning)",
81
+ "60": "Murraya Koenigii (Daun Kari)",
82
+ "61": "Nepeta Cataria (Catnip)",
83
+ "62": "Nothopanax Scutellarium (Mangkokan)",
84
+ "63": "Ocimum Americanum (Selasih)",
85
+ "64": "Ocimum Basilicum (Kemangi)",
86
+ "65": "Olea Europaea (Zaitun)",
87
+ "66": "Orthosiphon Spicatus (Kumis Kucing)",
88
+ "67": "Pandanus Amaryllifolius (Pandan)",
89
+ "68": "Parameria Laevigata (Kayu Rapet)",
90
+ "69": "Peperomia Pellucida (Suruhan)",
91
+ "70": "Phaleria Macrocarpa (Mahkota Dewa)",
92
+ "71": "Physalis Angulata (Ceplukan)",
93
+ "72": "Phytolacca Americana (Mrico Kepyar)",
94
+ "73": "Piper Betle (Sirih)",
95
+ "74": "Piper Sarmentosum (Cabean)",
96
+ "75": "Plectranthus Scutellarioides (Miana)",
97
+ "76": "Pleomele Angustifolia (Suji)",
98
+ "77": "Pluchea Indica (Beluntas)",
99
+ "78": "Plumbago Zeylanica (Daun Encok)",
100
+ "79": "Pogostemon Cablin (Nilam)",
101
+ "80": "Pouteria Caimito (Abiu)",
102
+ "81": "Prunus Domestica (Plum)",
103
+ "82": "Psidium Guajava (Jambu Biji)",
104
+ "83": "Pyrus Communis (Pir)",
105
+ "84": "Raulvolvia Serpentina (Pule Pandak)",
106
+ "85": "Ricinus Communis (Jarak)",
107
+ "86": "Rosmarinus Officinalis (Rosemary)",
108
+ "87": "Ruellia Tuberosa (Ceplikan)",
109
+ "88": "Ruta Angustifolia (Inggu)",
110
+ "89": "Selaginella Doederleinii (Paku Rane)",
111
+ "90": "Syzygium Polyanthum (Salam)",
112
+ "91": "Talinum Triangulare (Som Jawa)",
113
+ "92": "Tinospora Cordifolia (Brotowali)",
114
+ "93": "Tithonia Diversifolia (Daun Insulin)",
115
+ "94": "Typhonium Flagelliforme (Keladi Tikus)",
116
+ "95": "Vitex Trifolia (Legundi)",
117
+ "96": "Zephyranthes Candida (Lili Hujan Putih)",
118
+ "97": "Zingiber Officinale (Jahe)",
119
+ "98": "Zingiber Zerumbet (Lempuyang Gajah)",
120
+ "99": "Ziziphus mauritiana Lam. (Bidara)"
121
+ },
122
+ "image_size": 224,
123
+ "initializer_range": 0.02,
124
+ "label2id": {
125
+ "Abelmoschus Esculentus (Okra)": 0,
126
+ "Acorus Calamus (Dlingo)": 1,
127
+ "Aloe Vera (Lidah Buaya)": 2,
128
+ "Alstonia Scholaris (Pulai)": 3,
129
+ "Amaranthus Spinosus (Bayam Duri)": 4,
130
+ "Andrographis Paniculata (Sambiloto)": 5,
131
+ "Annona Muricata (Sirsak)": 6,
132
+ "Annona Squamosa (Srikaya)": 7,
133
+ "Anredera Cordifolia (Binahong)": 8,
134
+ "Apium Graveolens (Seledri)": 9,
135
+ "Artocarpus Heterophyllus (Nangka Mini)": 10,
136
+ "Artocarpus Integer (Nangka Cempedak)": 11,
137
+ "Averrhoa Bilimbi (Belimbing Wuluh)": 12,
138
+ "Blumea Balsamifera (Sembung)": 13,
139
+ "Borreria Hispida (Gempur Batu)": 14,
140
+ "Caesalpinia Sappan L (Secang)": 15,
141
+ "Caladium Cicolor (Keladi)": 16,
142
+ "Calendula Officinalis (Marigold)": 17,
143
+ "Canangium Odoratum (Kenanga)": 18,
144
+ "Catharanthus Roseus (Tapak Dara)": 19,
145
+ "Celosia Cristata (Jengger Ayam)": 20,
146
+ "Centella Asiatica (Pegagan)": 21,
147
+ "Cestrum Nocturnum (Sedap Malam)": 22,
148
+ "Chrysopogon Zizanioides (Akar Wangi)": 23,
149
+ "Citrus Amblycarpa (Jeruk Limau)": 24,
150
+ "Clinalanthus Nutans (Dandang Gendis)": 25,
151
+ "Clitoria Ternatea (Kembang Telang)": 26,
152
+ "Crinum Asiaticum (Bakung Putih)": 27,
153
+ "Curcuma Domestica (Kunyit)": 28,
154
+ "Cyclea Barbata (Cincau Hijau)": 29,
155
+ "Cymbopogon Nardus (Serai)": 30,
156
+ "Derris Elliptica (Tuba)": 31,
157
+ "Desmodium Triquitrum (Daun Duduk)": 32,
158
+ "Dioscorea Hispida (Gadung)": 33,
159
+ "Eleutherine Americana (Bawang Dayak)": 34,
160
+ "Euodia Suaveolens (Zodia)": 35,
161
+ "Eupatorium Triplinerve (Prasman)": 36,
162
+ "Euphorbia Tirucalli (Patah Tulang)": 37,
163
+ "Euphoria Longan (Kelengkeng)": 38,
164
+ "Ficus Carica (Tin)": 39,
165
+ "Ficus Septica (Awar-Awar)": 40,
166
+ "Graptophyllum Pictum (Daun Ungu)": 41,
167
+ "Gynura Segetum (Daun Dewa)": 42,
168
+ "Hibiscus Rosa-sinensis (Kembang Sepatu)": 43,
169
+ "Hibiscus Sabdariffa (Rosela)": 44,
170
+ "Houttoynia Cordata (Amis-Amisan)": 45,
171
+ "Hydrocotyle Sibthorpioides (Semanggi Gunung)": 46,
172
+ "Impatiens Balsamina (Pacar Air)": 47,
173
+ "Isotoma Longiflora (Ki Tolod)": 48,
174
+ "Jasminum Sambac (Melati)": 49,
175
+ "Jatropa Multifida (Betadin)": 50,
176
+ "Kaempferia Galanga (Kencur)": 51,
177
+ "Melaleuca Leucadendra (Kayu Putih)": 52,
178
+ "Melia Azedarach (Mindi)": 53,
179
+ "Melissa officinalis (Lemon Balm)": 54,
180
+ "Michelia Alba (Kembang Kantil)": 55,
181
+ "Mirabilis Jalapa (Bunga Pukul Empat)": 56,
182
+ "Morinda Citrifolia (Mengkudu)": 57,
183
+ "Morus Alba (Murbei)": 58,
184
+ "Muraya Paniculata (Kemuning)": 59,
185
+ "Murraya Koenigii (Daun Kari)": 60,
186
+ "Nepeta Cataria (Catnip)": 61,
187
+ "Nothopanax Scutellarium (Mangkokan)": 62,
188
+ "Ocimum Americanum (Selasih)": 63,
189
+ "Ocimum Basilicum (Kemangi)": 64,
190
+ "Olea Europaea (Zaitun)": 65,
191
+ "Orthosiphon Spicatus (Kumis Kucing)": 66,
192
+ "Pandanus Amaryllifolius (Pandan)": 67,
193
+ "Parameria Laevigata (Kayu Rapet)": 68,
194
+ "Peperomia Pellucida (Suruhan)": 69,
195
+ "Phaleria Macrocarpa (Mahkota Dewa)": 70,
196
+ "Physalis Angulata (Ceplukan)": 71,
197
+ "Phytolacca Americana (Mrico Kepyar)": 72,
198
+ "Piper Betle (Sirih)": 73,
199
+ "Piper Sarmentosum (Cabean)": 74,
200
+ "Plectranthus Scutellarioides (Miana)": 75,
201
+ "Pleomele Angustifolia (Suji)": 76,
202
+ "Pluchea Indica (Beluntas)": 77,
203
+ "Plumbago Zeylanica (Daun Encok)": 78,
204
+ "Pogostemon Cablin (Nilam)": 79,
205
+ "Pouteria Caimito (Abiu)": 80,
206
+ "Prunus Domestica (Plum)": 81,
207
+ "Psidium Guajava (Jambu Biji)": 82,
208
+ "Pyrus Communis (Pir)": 83,
209
+ "Raulvolvia Serpentina (Pule Pandak)": 84,
210
+ "Ricinus Communis (Jarak)": 85,
211
+ "Rosmarinus Officinalis (Rosemary)": 86,
212
+ "Ruellia Tuberosa (Ceplikan)": 87,
213
+ "Ruta Angustifolia (Inggu)": 88,
214
+ "Selaginella Doederleinii (Paku Rane)": 89,
215
+ "Syzygium Polyanthum (Salam)": 90,
216
+ "Talinum Triangulare (Som Jawa)": 91,
217
+ "Tinospora Cordifolia (Brotowali)": 92,
218
+ "Tithonia Diversifolia (Daun Insulin)": 93,
219
+ "Typhonium Flagelliforme (Keladi Tikus)": 94,
220
+ "Vitex Trifolia (Legundi)": 95,
221
+ "Zephyranthes Candida (Lili Hujan Putih)": 96,
222
+ "Zingiber Officinale (Jahe)": 97,
223
+ "Zingiber Zerumbet (Lempuyang Gajah)": 98,
224
+ "Ziziphus mauritiana Lam. (Bidara)": 99
225
+ },
226
+ "layer_norm_eps": 1e-12,
227
+ "layer_scale_init_value": 1e-06,
228
+ "model_type": "convnext",
229
+ "num_channels": 3,
230
+ "num_stages": 4,
231
+ "out_features": [
232
+ "stage4"
233
+ ],
234
+ "out_indices": [
235
+ 4
236
+ ],
237
+ "patch_size": 4,
238
+ "problem_type": "single_label_classification",
239
+ "stage_names": [
240
+ "stem",
241
+ "stage1",
242
+ "stage2",
243
+ "stage3",
244
+ "stage4"
245
+ ],
246
+ "transformers_version": "4.57.1"
247
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afa6e5c427d6d18030e54a2a105bcddf4d2e7a3e73023d8fef36081db1fa8b0b
3
+ size 111609424