|
{ |
|
"_name_or_path": "facebook/dinov2-base", |
|
"apply_layernorm": true, |
|
"architectures": [ |
|
"Dinov2ForImageClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.0, |
|
"drop_path_rate": 0.0, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.0, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "aardvark", |
|
"1": "bird", |
|
"2": "black-and-white colobus", |
|
"3": "blue duiker", |
|
"4": "blue monkey", |
|
"5": "buffalo", |
|
"6": "bushbuck", |
|
"7": "bushpig", |
|
"8": "cattle", |
|
"9": "chimpanzee", |
|
"10": "civet_genet", |
|
"11": "dog", |
|
"12": "elephant", |
|
"13": "galago_potto", |
|
"14": "goat", |
|
"15": "golden cat", |
|
"16": "gorilla", |
|
"17": "grey duiker", |
|
"18": "grey-cheeked mangabey", |
|
"19": "guineafowl", |
|
"20": "honey badger", |
|
"21": "hyrax", |
|
"22": "leopard", |
|
"23": "lhoest monkey", |
|
"24": "mandrill", |
|
"25": "mongoose", |
|
"26": "monkey", |
|
"27": "olive baboon", |
|
"28": "otter", |
|
"29": "pangolin", |
|
"30": "porcupine", |
|
"31": "red colobus", |
|
"32": "red duiker", |
|
"33": "red-capped mangabey", |
|
"34": "rodent", |
|
"35": "serval", |
|
"36": "side-striped jackal", |
|
"37": "spotted hyena", |
|
"38": "squirel", |
|
"39": "vervet monkey", |
|
"40": "water chevrotain" |
|
}, |
|
"image_size": 518, |
|
"initializer_range": 0.02, |
|
"label2id": { |
|
"aardvark": 0, |
|
"bird": 1, |
|
"black-and-white colobus": 2, |
|
"blue duiker": 3, |
|
"blue monkey": 4, |
|
"buffalo": 5, |
|
"bushbuck": 6, |
|
"bushpig": 7, |
|
"cattle": 8, |
|
"chimpanzee": 9, |
|
"civet_genet": 10, |
|
"dog": 11, |
|
"elephant": 12, |
|
"galago_potto": 13, |
|
"goat": 14, |
|
"golden cat": 15, |
|
"gorilla": 16, |
|
"grey duiker": 17, |
|
"grey-cheeked mangabey": 18, |
|
"guineafowl": 19, |
|
"honey badger": 20, |
|
"hyrax": 21, |
|
"leopard": 22, |
|
"lhoest monkey": 23, |
|
"mandrill": 24, |
|
"mongoose": 25, |
|
"monkey": 26, |
|
"olive baboon": 27, |
|
"otter": 28, |
|
"pangolin": 29, |
|
"porcupine": 30, |
|
"red colobus": 31, |
|
"red duiker": 32, |
|
"red-capped mangabey": 33, |
|
"rodent": 34, |
|
"serval": 35, |
|
"side-striped jackal": 36, |
|
"spotted hyena": 37, |
|
"squirel": 38, |
|
"vervet monkey": 39, |
|
"water chevrotain": 40 |
|
}, |
|
"layer_norm_eps": 1e-06, |
|
"layerscale_value": 1.0, |
|
"mlp_ratio": 4, |
|
"model_type": "dinov2", |
|
"num_attention_heads": 12, |
|
"num_channels": 3, |
|
"num_hidden_layers": 12, |
|
"out_features": [ |
|
"stage12" |
|
], |
|
"out_indices": [ |
|
12 |
|
], |
|
"patch_size": 14, |
|
"problem_type": "single_label_classification", |
|
"qkv_bias": true, |
|
"reshape_hidden_states": true, |
|
"stage_names": [ |
|
"stem", |
|
"stage1", |
|
"stage2", |
|
"stage3", |
|
"stage4", |
|
"stage5", |
|
"stage6", |
|
"stage7", |
|
"stage8", |
|
"stage9", |
|
"stage10", |
|
"stage11", |
|
"stage12" |
|
], |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.40.2", |
|
"use_swiglu_ffn": false |
|
} |
|
|