Maciej Budyś
commited on
Commit
·
0808c80
1
Parent(s):
876e0e9
manga-ocr-base
Browse files- config.json +2164 -0
- preprocessor_config.json +17 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +1 -0
- tokenizer_config.json +1 -0
- vocab.txt +6144 -0
config.json
ADDED
@@ -0,0 +1,2164 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"VisionEncoderDecoderModel"
|
4 |
+
],
|
5 |
+
"decoder": {
|
6 |
+
"_name_or_path": "cl-tohoku/bert-base-japanese-char-v2",
|
7 |
+
"add_cross_attention": true,
|
8 |
+
"architectures": [
|
9 |
+
"BertForMaskedLM"
|
10 |
+
],
|
11 |
+
"attention_probs_dropout_prob": 0.1,
|
12 |
+
"bad_words_ids": null,
|
13 |
+
"bos_token_id": null,
|
14 |
+
"chunk_size_feed_forward": 0,
|
15 |
+
"classifier_dropout": null,
|
16 |
+
"cross_attention_hidden_size": null,
|
17 |
+
"decoder_start_token_id": null,
|
18 |
+
"diversity_penalty": 0.0,
|
19 |
+
"do_sample": false,
|
20 |
+
"early_stopping": false,
|
21 |
+
"encoder_no_repeat_ngram_size": 0,
|
22 |
+
"eos_token_id": null,
|
23 |
+
"finetuning_task": null,
|
24 |
+
"forced_bos_token_id": null,
|
25 |
+
"forced_eos_token_id": null,
|
26 |
+
"hidden_act": "gelu",
|
27 |
+
"hidden_dropout_prob": 0.1,
|
28 |
+
"hidden_size": 768,
|
29 |
+
"id2label": {
|
30 |
+
"0": "LABEL_0",
|
31 |
+
"1": "LABEL_1"
|
32 |
+
},
|
33 |
+
"initializer_range": 0.02,
|
34 |
+
"intermediate_size": 3072,
|
35 |
+
"is_decoder": true,
|
36 |
+
"is_encoder_decoder": false,
|
37 |
+
"label2id": {
|
38 |
+
"LABEL_0": 0,
|
39 |
+
"LABEL_1": 1
|
40 |
+
},
|
41 |
+
"layer_norm_eps": 1e-12,
|
42 |
+
"length_penalty": 1.0,
|
43 |
+
"max_length": 300,
|
44 |
+
"max_position_embeddings": 512,
|
45 |
+
"min_length": 0,
|
46 |
+
"model_type": "bert",
|
47 |
+
"no_repeat_ngram_size": 0,
|
48 |
+
"num_attention_heads": 12,
|
49 |
+
"num_beam_groups": 1,
|
50 |
+
"num_beams": 1,
|
51 |
+
"num_hidden_layers": 2,
|
52 |
+
"num_return_sequences": 1,
|
53 |
+
"output_attentions": false,
|
54 |
+
"output_hidden_states": false,
|
55 |
+
"output_scores": false,
|
56 |
+
"pad_token_id": 0,
|
57 |
+
"position_embedding_type": "absolute",
|
58 |
+
"prefix": null,
|
59 |
+
"problem_type": null,
|
60 |
+
"pruned_heads": {},
|
61 |
+
"remove_invalid_values": false,
|
62 |
+
"repetition_penalty": 1.0,
|
63 |
+
"return_dict": true,
|
64 |
+
"return_dict_in_generate": false,
|
65 |
+
"sep_token_id": null,
|
66 |
+
"task_specific_params": null,
|
67 |
+
"temperature": 1.0,
|
68 |
+
"tie_encoder_decoder": false,
|
69 |
+
"tie_word_embeddings": true,
|
70 |
+
"tokenizer_class": "BertJapaneseTokenizer",
|
71 |
+
"top_k": 50,
|
72 |
+
"top_p": 1.0,
|
73 |
+
"torch_dtype": null,
|
74 |
+
"torchscript": false,
|
75 |
+
"transformers_version": "4.15.0",
|
76 |
+
"type_vocab_size": 2,
|
77 |
+
"use_bfloat16": false,
|
78 |
+
"use_cache": true,
|
79 |
+
"vocab_size": 6144
|
80 |
+
},
|
81 |
+
"decoder_start_token_id": 2,
|
82 |
+
"early_stopping": true,
|
83 |
+
"encoder": {
|
84 |
+
"_name_or_path": "facebook/deit-base-patch16-224",
|
85 |
+
"add_cross_attention": false,
|
86 |
+
"architectures": [
|
87 |
+
"ViTForImageClassification"
|
88 |
+
],
|
89 |
+
"attention_probs_dropout_prob": 0.0,
|
90 |
+
"bad_words_ids": null,
|
91 |
+
"bos_token_id": null,
|
92 |
+
"chunk_size_feed_forward": 0,
|
93 |
+
"cross_attention_hidden_size": null,
|
94 |
+
"decoder_start_token_id": null,
|
95 |
+
"diversity_penalty": 0.0,
|
96 |
+
"do_sample": false,
|
97 |
+
"early_stopping": false,
|
98 |
+
"encoder_no_repeat_ngram_size": 0,
|
99 |
+
"eos_token_id": null,
|
100 |
+
"finetuning_task": null,
|
101 |
+
"forced_bos_token_id": null,
|
102 |
+
"forced_eos_token_id": null,
|
103 |
+
"hidden_act": "gelu",
|
104 |
+
"hidden_dropout_prob": 0.0,
|
105 |
+
"hidden_size": 768,
|
106 |
+
"id2label": {
|
107 |
+
"0": "tench, Tinca tinca",
|
108 |
+
"1": "goldfish, Carassius auratus",
|
109 |
+
"2": "great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias",
|
110 |
+
"3": "tiger shark, Galeocerdo cuvieri",
|
111 |
+
"4": "hammerhead, hammerhead shark",
|
112 |
+
"5": "electric ray, crampfish, numbfish, torpedo",
|
113 |
+
"6": "stingray",
|
114 |
+
"7": "cock",
|
115 |
+
"8": "hen",
|
116 |
+
"9": "ostrich, Struthio camelus",
|
117 |
+
"10": "brambling, Fringilla montifringilla",
|
118 |
+
"11": "goldfinch, Carduelis carduelis",
|
119 |
+
"12": "house finch, linnet, Carpodacus mexicanus",
|
120 |
+
"13": "junco, snowbird",
|
121 |
+
"14": "indigo bunting, indigo finch, indigo bird, Passerina cyanea",
|
122 |
+
"15": "robin, American robin, Turdus migratorius",
|
123 |
+
"16": "bulbul",
|
124 |
+
"17": "jay",
|
125 |
+
"18": "magpie",
|
126 |
+
"19": "chickadee",
|
127 |
+
"20": "water ouzel, dipper",
|
128 |
+
"21": "kite",
|
129 |
+
"22": "bald eagle, American eagle, Haliaeetus leucocephalus",
|
130 |
+
"23": "vulture",
|
131 |
+
"24": "great grey owl, great gray owl, Strix nebulosa",
|
132 |
+
"25": "European fire salamander, Salamandra salamandra",
|
133 |
+
"26": "common newt, Triturus vulgaris",
|
134 |
+
"27": "eft",
|
135 |
+
"28": "spotted salamander, Ambystoma maculatum",
|
136 |
+
"29": "axolotl, mud puppy, Ambystoma mexicanum",
|
137 |
+
"30": "bullfrog, Rana catesbeiana",
|
138 |
+
"31": "tree frog, tree-frog",
|
139 |
+
"32": "tailed frog, bell toad, ribbed toad, tailed toad, Ascaphus trui",
|
140 |
+
"33": "loggerhead, loggerhead turtle, Caretta caretta",
|
141 |
+
"34": "leatherback turtle, leatherback, leathery turtle, Dermochelys coriacea",
|
142 |
+
"35": "mud turtle",
|
143 |
+
"36": "terrapin",
|
144 |
+
"37": "box turtle, box tortoise",
|
145 |
+
"38": "banded gecko",
|
146 |
+
"39": "common iguana, iguana, Iguana iguana",
|
147 |
+
"40": "American chameleon, anole, Anolis carolinensis",
|
148 |
+
"41": "whiptail, whiptail lizard",
|
149 |
+
"42": "agama",
|
150 |
+
"43": "frilled lizard, Chlamydosaurus kingi",
|
151 |
+
"44": "alligator lizard",
|
152 |
+
"45": "Gila monster, Heloderma suspectum",
|
153 |
+
"46": "green lizard, Lacerta viridis",
|
154 |
+
"47": "African chameleon, Chamaeleo chamaeleon",
|
155 |
+
"48": "Komodo dragon, Komodo lizard, dragon lizard, giant lizard, Varanus komodoensis",
|
156 |
+
"49": "African crocodile, Nile crocodile, Crocodylus niloticus",
|
157 |
+
"50": "American alligator, Alligator mississipiensis",
|
158 |
+
"51": "triceratops",
|
159 |
+
"52": "thunder snake, worm snake, Carphophis amoenus",
|
160 |
+
"53": "ringneck snake, ring-necked snake, ring snake",
|
161 |
+
"54": "hognose snake, puff adder, sand viper",
|
162 |
+
"55": "green snake, grass snake",
|
163 |
+
"56": "king snake, kingsnake",
|
164 |
+
"57": "garter snake, grass snake",
|
165 |
+
"58": "water snake",
|
166 |
+
"59": "vine snake",
|
167 |
+
"60": "night snake, Hypsiglena torquata",
|
168 |
+
"61": "boa constrictor, Constrictor constrictor",
|
169 |
+
"62": "rock python, rock snake, Python sebae",
|
170 |
+
"63": "Indian cobra, Naja naja",
|
171 |
+
"64": "green mamba",
|
172 |
+
"65": "sea snake",
|
173 |
+
"66": "horned viper, cerastes, sand viper, horned asp, Cerastes cornutus",
|
174 |
+
"67": "diamondback, diamondback rattlesnake, Crotalus adamanteus",
|
175 |
+
"68": "sidewinder, horned rattlesnake, Crotalus cerastes",
|
176 |
+
"69": "trilobite",
|
177 |
+
"70": "harvestman, daddy longlegs, Phalangium opilio",
|
178 |
+
"71": "scorpion",
|
179 |
+
"72": "black and gold garden spider, Argiope aurantia",
|
180 |
+
"73": "barn spider, Araneus cavaticus",
|
181 |
+
"74": "garden spider, Aranea diademata",
|
182 |
+
"75": "black widow, Latrodectus mactans",
|
183 |
+
"76": "tarantula",
|
184 |
+
"77": "wolf spider, hunting spider",
|
185 |
+
"78": "tick",
|
186 |
+
"79": "centipede",
|
187 |
+
"80": "black grouse",
|
188 |
+
"81": "ptarmigan",
|
189 |
+
"82": "ruffed grouse, partridge, Bonasa umbellus",
|
190 |
+
"83": "prairie chicken, prairie grouse, prairie fowl",
|
191 |
+
"84": "peacock",
|
192 |
+
"85": "quail",
|
193 |
+
"86": "partridge",
|
194 |
+
"87": "African grey, African gray, Psittacus erithacus",
|
195 |
+
"88": "macaw",
|
196 |
+
"89": "sulphur-crested cockatoo, Kakatoe galerita, Cacatua galerita",
|
197 |
+
"90": "lorikeet",
|
198 |
+
"91": "coucal",
|
199 |
+
"92": "bee eater",
|
200 |
+
"93": "hornbill",
|
201 |
+
"94": "hummingbird",
|
202 |
+
"95": "jacamar",
|
203 |
+
"96": "toucan",
|
204 |
+
"97": "drake",
|
205 |
+
"98": "red-breasted merganser, Mergus serrator",
|
206 |
+
"99": "goose",
|
207 |
+
"100": "black swan, Cygnus atratus",
|
208 |
+
"101": "tusker",
|
209 |
+
"102": "echidna, spiny anteater, anteater",
|
210 |
+
"103": "platypus, duckbill, duckbilled platypus, duck-billed platypus, Ornithorhynchus anatinus",
|
211 |
+
"104": "wallaby, brush kangaroo",
|
212 |
+
"105": "koala, koala bear, kangaroo bear, native bear, Phascolarctos cinereus",
|
213 |
+
"106": "wombat",
|
214 |
+
"107": "jellyfish",
|
215 |
+
"108": "sea anemone, anemone",
|
216 |
+
"109": "brain coral",
|
217 |
+
"110": "flatworm, platyhelminth",
|
218 |
+
"111": "nematode, nematode worm, roundworm",
|
219 |
+
"112": "conch",
|
220 |
+
"113": "snail",
|
221 |
+
"114": "slug",
|
222 |
+
"115": "sea slug, nudibranch",
|
223 |
+
"116": "chiton, coat-of-mail shell, sea cradle, polyplacophore",
|
224 |
+
"117": "chambered nautilus, pearly nautilus, nautilus",
|
225 |
+
"118": "Dungeness crab, Cancer magister",
|
226 |
+
"119": "rock crab, Cancer irroratus",
|
227 |
+
"120": "fiddler crab",
|
228 |
+
"121": "king crab, Alaska crab, Alaskan king crab, Alaska king crab, Paralithodes camtschatica",
|
229 |
+
"122": "American lobster, Northern lobster, Maine lobster, Homarus americanus",
|
230 |
+
"123": "spiny lobster, langouste, rock lobster, crawfish, crayfish, sea crawfish",
|
231 |
+
"124": "crayfish, crawfish, crawdad, crawdaddy",
|
232 |
+
"125": "hermit crab",
|
233 |
+
"126": "isopod",
|
234 |
+
"127": "white stork, Ciconia ciconia",
|
235 |
+
"128": "black stork, Ciconia nigra",
|
236 |
+
"129": "spoonbill",
|
237 |
+
"130": "flamingo",
|
238 |
+
"131": "little blue heron, Egretta caerulea",
|
239 |
+
"132": "American egret, great white heron, Egretta albus",
|
240 |
+
"133": "bittern",
|
241 |
+
"134": "crane",
|
242 |
+
"135": "limpkin, Aramus pictus",
|
243 |
+
"136": "European gallinule, Porphyrio porphyrio",
|
244 |
+
"137": "American coot, marsh hen, mud hen, water hen, Fulica americana",
|
245 |
+
"138": "bustard",
|
246 |
+
"139": "ruddy turnstone, Arenaria interpres",
|
247 |
+
"140": "red-backed sandpiper, dunlin, Erolia alpina",
|
248 |
+
"141": "redshank, Tringa totanus",
|
249 |
+
"142": "dowitcher",
|
250 |
+
"143": "oystercatcher, oyster catcher",
|
251 |
+
"144": "pelican",
|
252 |
+
"145": "king penguin, Aptenodytes patagonica",
|
253 |
+
"146": "albatross, mollymawk",
|
254 |
+
"147": "grey whale, gray whale, devilfish, Eschrichtius gibbosus, Eschrichtius robustus",
|
255 |
+
"148": "killer whale, killer, orca, grampus, sea wolf, Orcinus orca",
|
256 |
+
"149": "dugong, Dugong dugon",
|
257 |
+
"150": "sea lion",
|
258 |
+
"151": "Chihuahua",
|
259 |
+
"152": "Japanese spaniel",
|
260 |
+
"153": "Maltese dog, Maltese terrier, Maltese",
|
261 |
+
"154": "Pekinese, Pekingese, Peke",
|
262 |
+
"155": "Shih-Tzu",
|
263 |
+
"156": "Blenheim spaniel",
|
264 |
+
"157": "papillon",
|
265 |
+
"158": "toy terrier",
|
266 |
+
"159": "Rhodesian ridgeback",
|
267 |
+
"160": "Afghan hound, Afghan",
|
268 |
+
"161": "basset, basset hound",
|
269 |
+
"162": "beagle",
|
270 |
+
"163": "bloodhound, sleuthhound",
|
271 |
+
"164": "bluetick",
|
272 |
+
"165": "black-and-tan coonhound",
|
273 |
+
"166": "Walker hound, Walker foxhound",
|
274 |
+
"167": "English foxhound",
|
275 |
+
"168": "redbone",
|
276 |
+
"169": "borzoi, Russian wolfhound",
|
277 |
+
"170": "Irish wolfhound",
|
278 |
+
"171": "Italian greyhound",
|
279 |
+
"172": "whippet",
|
280 |
+
"173": "Ibizan hound, Ibizan Podenco",
|
281 |
+
"174": "Norwegian elkhound, elkhound",
|
282 |
+
"175": "otterhound, otter hound",
|
283 |
+
"176": "Saluki, gazelle hound",
|
284 |
+
"177": "Scottish deerhound, deerhound",
|
285 |
+
"178": "Weimaraner",
|
286 |
+
"179": "Staffordshire bullterrier, Staffordshire bull terrier",
|
287 |
+
"180": "American Staffordshire terrier, Staffordshire terrier, American pit bull terrier, pit bull terrier",
|
288 |
+
"181": "Bedlington terrier",
|
289 |
+
"182": "Border terrier",
|
290 |
+
"183": "Kerry blue terrier",
|
291 |
+
"184": "Irish terrier",
|
292 |
+
"185": "Norfolk terrier",
|
293 |
+
"186": "Norwich terrier",
|
294 |
+
"187": "Yorkshire terrier",
|
295 |
+
"188": "wire-haired fox terrier",
|
296 |
+
"189": "Lakeland terrier",
|
297 |
+
"190": "Sealyham terrier, Sealyham",
|
298 |
+
"191": "Airedale, Airedale terrier",
|
299 |
+
"192": "cairn, cairn terrier",
|
300 |
+
"193": "Australian terrier",
|
301 |
+
"194": "Dandie Dinmont, Dandie Dinmont terrier",
|
302 |
+
"195": "Boston bull, Boston terrier",
|
303 |
+
"196": "miniature schnauzer",
|
304 |
+
"197": "giant schnauzer",
|
305 |
+
"198": "standard schnauzer",
|
306 |
+
"199": "Scotch terrier, Scottish terrier, Scottie",
|
307 |
+
"200": "Tibetan terrier, chrysanthemum dog",
|
308 |
+
"201": "silky terrier, Sydney silky",
|
309 |
+
"202": "soft-coated wheaten terrier",
|
310 |
+
"203": "West Highland white terrier",
|
311 |
+
"204": "Lhasa, Lhasa apso",
|
312 |
+
"205": "flat-coated retriever",
|
313 |
+
"206": "curly-coated retriever",
|
314 |
+
"207": "golden retriever",
|
315 |
+
"208": "Labrador retriever",
|
316 |
+
"209": "Chesapeake Bay retriever",
|
317 |
+
"210": "German short-haired pointer",
|
318 |
+
"211": "vizsla, Hungarian pointer",
|
319 |
+
"212": "English setter",
|
320 |
+
"213": "Irish setter, red setter",
|
321 |
+
"214": "Gordon setter",
|
322 |
+
"215": "Brittany spaniel",
|
323 |
+
"216": "clumber, clumber spaniel",
|
324 |
+
"217": "English springer, English springer spaniel",
|
325 |
+
"218": "Welsh springer spaniel",
|
326 |
+
"219": "cocker spaniel, English cocker spaniel, cocker",
|
327 |
+
"220": "Sussex spaniel",
|
328 |
+
"221": "Irish water spaniel",
|
329 |
+
"222": "kuvasz",
|
330 |
+
"223": "schipperke",
|
331 |
+
"224": "groenendael",
|
332 |
+
"225": "malinois",
|
333 |
+
"226": "briard",
|
334 |
+
"227": "kelpie",
|
335 |
+
"228": "komondor",
|
336 |
+
"229": "Old English sheepdog, bobtail",
|
337 |
+
"230": "Shetland sheepdog, Shetland sheep dog, Shetland",
|
338 |
+
"231": "collie",
|
339 |
+
"232": "Border collie",
|
340 |
+
"233": "Bouvier des Flandres, Bouviers des Flandres",
|
341 |
+
"234": "Rottweiler",
|
342 |
+
"235": "German shepherd, German shepherd dog, German police dog, alsatian",
|
343 |
+
"236": "Doberman, Doberman pinscher",
|
344 |
+
"237": "miniature pinscher",
|
345 |
+
"238": "Greater Swiss Mountain dog",
|
346 |
+
"239": "Bernese mountain dog",
|
347 |
+
"240": "Appenzeller",
|
348 |
+
"241": "EntleBucher",
|
349 |
+
"242": "boxer",
|
350 |
+
"243": "bull mastiff",
|
351 |
+
"244": "Tibetan mastiff",
|
352 |
+
"245": "French bulldog",
|
353 |
+
"246": "Great Dane",
|
354 |
+
"247": "Saint Bernard, St Bernard",
|
355 |
+
"248": "Eskimo dog, husky",
|
356 |
+
"249": "malamute, malemute, Alaskan malamute",
|
357 |
+
"250": "Siberian husky",
|
358 |
+
"251": "dalmatian, coach dog, carriage dog",
|
359 |
+
"252": "affenpinscher, monkey pinscher, monkey dog",
|
360 |
+
"253": "basenji",
|
361 |
+
"254": "pug, pug-dog",
|
362 |
+
"255": "Leonberg",
|
363 |
+
"256": "Newfoundland, Newfoundland dog",
|
364 |
+
"257": "Great Pyrenees",
|
365 |
+
"258": "Samoyed, Samoyede",
|
366 |
+
"259": "Pomeranian",
|
367 |
+
"260": "chow, chow chow",
|
368 |
+
"261": "keeshond",
|
369 |
+
"262": "Brabancon griffon",
|
370 |
+
"263": "Pembroke, Pembroke Welsh corgi",
|
371 |
+
"264": "Cardigan, Cardigan Welsh corgi",
|
372 |
+
"265": "toy poodle",
|
373 |
+
"266": "miniature poodle",
|
374 |
+
"267": "standard poodle",
|
375 |
+
"268": "Mexican hairless",
|
376 |
+
"269": "timber wolf, grey wolf, gray wolf, Canis lupus",
|
377 |
+
"270": "white wolf, Arctic wolf, Canis lupus tundrarum",
|
378 |
+
"271": "red wolf, maned wolf, Canis rufus, Canis niger",
|
379 |
+
"272": "coyote, prairie wolf, brush wolf, Canis latrans",
|
380 |
+
"273": "dingo, warrigal, warragal, Canis dingo",
|
381 |
+
"274": "dhole, Cuon alpinus",
|
382 |
+
"275": "African hunting dog, hyena dog, Cape hunting dog, Lycaon pictus",
|
383 |
+
"276": "hyena, hyaena",
|
384 |
+
"277": "red fox, Vulpes vulpes",
|
385 |
+
"278": "kit fox, Vulpes macrotis",
|
386 |
+
"279": "Arctic fox, white fox, Alopex lagopus",
|
387 |
+
"280": "grey fox, gray fox, Urocyon cinereoargenteus",
|
388 |
+
"281": "tabby, tabby cat",
|
389 |
+
"282": "tiger cat",
|
390 |
+
"283": "Persian cat",
|
391 |
+
"284": "Siamese cat, Siamese",
|
392 |
+
"285": "Egyptian cat",
|
393 |
+
"286": "cougar, puma, catamount, mountain lion, painter, panther, Felis concolor",
|
394 |
+
"287": "lynx, catamount",
|
395 |
+
"288": "leopard, Panthera pardus",
|
396 |
+
"289": "snow leopard, ounce, Panthera uncia",
|
397 |
+
"290": "jaguar, panther, Panthera onca, Felis onca",
|
398 |
+
"291": "lion, king of beasts, Panthera leo",
|
399 |
+
"292": "tiger, Panthera tigris",
|
400 |
+
"293": "cheetah, chetah, Acinonyx jubatus",
|
401 |
+
"294": "brown bear, bruin, Ursus arctos",
|
402 |
+
"295": "American black bear, black bear, Ursus americanus, Euarctos americanus",
|
403 |
+
"296": "ice bear, polar bear, Ursus Maritimus, Thalarctos maritimus",
|
404 |
+
"297": "sloth bear, Melursus ursinus, Ursus ursinus",
|
405 |
+
"298": "mongoose",
|
406 |
+
"299": "meerkat, mierkat",
|
407 |
+
"300": "tiger beetle",
|
408 |
+
"301": "ladybug, ladybeetle, lady beetle, ladybird, ladybird beetle",
|
409 |
+
"302": "ground beetle, carabid beetle",
|
410 |
+
"303": "long-horned beetle, longicorn, longicorn beetle",
|
411 |
+
"304": "leaf beetle, chrysomelid",
|
412 |
+
"305": "dung beetle",
|
413 |
+
"306": "rhinoceros beetle",
|
414 |
+
"307": "weevil",
|
415 |
+
"308": "fly",
|
416 |
+
"309": "bee",
|
417 |
+
"310": "ant, emmet, pismire",
|
418 |
+
"311": "grasshopper, hopper",
|
419 |
+
"312": "cricket",
|
420 |
+
"313": "walking stick, walkingstick, stick insect",
|
421 |
+
"314": "cockroach, roach",
|
422 |
+
"315": "mantis, mantid",
|
423 |
+
"316": "cicada, cicala",
|
424 |
+
"317": "leafhopper",
|
425 |
+
"318": "lacewing, lacewing fly",
|
426 |
+
"319": "dragonfly, darning needle, devil's darning needle, sewing needle, snake feeder, snake doctor, mosquito hawk, skeeter hawk",
|
427 |
+
"320": "damselfly",
|
428 |
+
"321": "admiral",
|
429 |
+
"322": "ringlet, ringlet butterfly",
|
430 |
+
"323": "monarch, monarch butterfly, milkweed butterfly, Danaus plexippus",
|
431 |
+
"324": "cabbage butterfly",
|
432 |
+
"325": "sulphur butterfly, sulfur butterfly",
|
433 |
+
"326": "lycaenid, lycaenid butterfly",
|
434 |
+
"327": "starfish, sea star",
|
435 |
+
"328": "sea urchin",
|
436 |
+
"329": "sea cucumber, holothurian",
|
437 |