{ "_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": "elephant", "12": "galago_potto", "13": "goat", "14": "golden cat", "15": "gorilla", "16": "guineafowl", "17": "leopard", "18": "lhoests monkey", "19": "mandrill", "20": "mongoose", "21": "monkey", "22": "olive baboon", "23": "pangolin", "24": "porcupine", "25": "red colobus_red-capped mangabey", "26": "red duiker", "27": "rodent", "28": "serval", "29": "spotted hyena", "30": "squirrel", "31": "water chevrotain", "32": "yellow-backed duiker" }, "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, "elephant": 11, "galago_potto": 12, "goat": 13, "golden cat": 14, "gorilla": 15, "guineafowl": 16, "leopard": 17, "lhoests monkey": 18, "mandrill": 19, "mongoose": 20, "monkey": 21, "olive baboon": 22, "pangolin": 23, "porcupine": 24, "red colobus_red-capped mangabey": 25, "red duiker": 26, "rodent": 27, "serval": 28, "spotted hyena": 29, "squirrel": 30, "water chevrotain": 31, "yellow-backed duiker": 32 }, "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 }