{ "_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": "badger", "2": "bird", "3": "black-and-white colobus", "4": "blue duiker", "5": "blue monkey", "6": "buffalo", "7": "bushbuck", "8": "bushpig", "9": "cattle", "10": "chimpanzee", "11": "civet_genet", "12": "dog", "13": "elephant", "14": "galago_potto", "15": "goat", "16": "golden cat", "17": "gorilla", "18": "guineafowl", "19": "leopard", "20": "lhoests monkey", "21": "mandrill", "22": "mongoose", "23": "monkey", "24": "olive baboon", "25": "pangolin", "26": "porcupine", "27": "red colobus_red-capped mangabey", "28": "red duiker", "29": "rodent", "30": "serval", "31": "spotted hyena", "32": "squirrel", "33": "water chevrotain", "34": "yellow-backed duiker" }, "image_size": 518, "initializer_range": 0.02, "label2id": { "aardvark": 0, "badger": 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, "guineafowl": 18, "leopard": 19, "lhoests monkey": 20, "mandrill": 21, "mongoose": 22, "monkey": 23, "olive baboon": 24, "pangolin": 25, "porcupine": 26, "red colobus_red-capped mangabey": 27, "red duiker": 28, "rodent": 29, "serval": 30, "spotted hyena": 31, "squirrel": 32, "water chevrotain": 33, "yellow-backed duiker": 34 }, "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 }