Instructions to use crocutacrocuto/dinov2-large-MEG7-20 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use crocutacrocuto/dinov2-large-MEG7-20 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="crocutacrocuto/dinov2-large-MEG7-20") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("crocutacrocuto/dinov2-large-MEG7-20") model = AutoModelForImageClassification.from_pretrained("crocutacrocuto/dinov2-large-MEG7-20") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 0
Browse files- config.json +133 -0
- model.safetensors +3 -0
- preprocessor_config.json +27 -0
- runs/Apr01_21-23-26_hugo-Precision-7960-Tower/events.out.tfevents.1743535410.hugo-Precision-7960-Tower.150407.0 +3 -0
- runs/Apr04_16-58-01_hugo-Precision-7960-Tower/events.out.tfevents.1743778689.hugo-Precision-7960-Tower.538069.0 +3 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "facebook/dinov2-large",
|
| 3 |
+
"apply_layernorm": true,
|
| 4 |
+
"architectures": [
|
| 5 |
+
"Dinov2ForImageClassification"
|
| 6 |
+
],
|
| 7 |
+
"attention_probs_dropout_prob": 0.0,
|
| 8 |
+
"drop_path_rate": 0.0,
|
| 9 |
+
"hidden_act": "gelu",
|
| 10 |
+
"hidden_dropout_prob": 0.0,
|
| 11 |
+
"hidden_size": 1024,
|
| 12 |
+
"id2label": {
|
| 13 |
+
"0": "aardvark",
|
| 14 |
+
"1": "baboon",
|
| 15 |
+
"2": "badger",
|
| 16 |
+
"3": "bird",
|
| 17 |
+
"4": "black-and-white colobus",
|
| 18 |
+
"5": "blue duiker",
|
| 19 |
+
"6": "blue monkey",
|
| 20 |
+
"7": "buffalo",
|
| 21 |
+
"8": "bushbuck",
|
| 22 |
+
"9": "bushpig",
|
| 23 |
+
"10": "chimpanzee",
|
| 24 |
+
"11": "civet_genet",
|
| 25 |
+
"12": "elephant",
|
| 26 |
+
"13": "galago_potto",
|
| 27 |
+
"14": "golden cat",
|
| 28 |
+
"15": "gorilla",
|
| 29 |
+
"16": "guineafowl",
|
| 30 |
+
"17": "hyrax",
|
| 31 |
+
"18": "jackal",
|
| 32 |
+
"19": "leopard",
|
| 33 |
+
"20": "lhoests monkey",
|
| 34 |
+
"21": "mandrill",
|
| 35 |
+
"22": "mongoose",
|
| 36 |
+
"23": "monkey",
|
| 37 |
+
"24": "pangolin",
|
| 38 |
+
"25": "porcupine",
|
| 39 |
+
"26": "red colobus_red-capped mangabey",
|
| 40 |
+
"27": "red duiker",
|
| 41 |
+
"28": "rodent",
|
| 42 |
+
"29": "serval",
|
| 43 |
+
"30": "spotted hyena",
|
| 44 |
+
"31": "squirrel",
|
| 45 |
+
"32": "water chevrotain",
|
| 46 |
+
"33": "yellow-backed duiker"
|
| 47 |
+
},
|
| 48 |
+
"image_size": 518,
|
| 49 |
+
"initializer_range": 0.02,
|
| 50 |
+
"label2id": {
|
| 51 |
+
"aardvark": 0,
|
| 52 |
+
"baboon": 1,
|
| 53 |
+
"badger": 2,
|
| 54 |
+
"bird": 3,
|
| 55 |
+
"black-and-white colobus": 4,
|
| 56 |
+
"blue duiker": 5,
|
| 57 |
+
"blue monkey": 6,
|
| 58 |
+
"buffalo": 7,
|
| 59 |
+
"bushbuck": 8,
|
| 60 |
+
"bushpig": 9,
|
| 61 |
+
"chimpanzee": 10,
|
| 62 |
+
"civet_genet": 11,
|
| 63 |
+
"elephant": 12,
|
| 64 |
+
"galago_potto": 13,
|
| 65 |
+
"golden cat": 14,
|
| 66 |
+
"gorilla": 15,
|
| 67 |
+
"guineafowl": 16,
|
| 68 |
+
"hyrax": 17,
|
| 69 |
+
"jackal": 18,
|
| 70 |
+
"leopard": 19,
|
| 71 |
+
"lhoests monkey": 20,
|
| 72 |
+
"mandrill": 21,
|
| 73 |
+
"mongoose": 22,
|
| 74 |
+
"monkey": 23,
|
| 75 |
+
"pangolin": 24,
|
| 76 |
+
"porcupine": 25,
|
| 77 |
+
"red colobus_red-capped mangabey": 26,
|
| 78 |
+
"red duiker": 27,
|
| 79 |
+
"rodent": 28,
|
| 80 |
+
"serval": 29,
|
| 81 |
+
"spotted hyena": 30,
|
| 82 |
+
"squirrel": 31,
|
| 83 |
+
"water chevrotain": 32,
|
| 84 |
+
"yellow-backed duiker": 33
|
| 85 |
+
},
|
| 86 |
+
"layer_norm_eps": 1e-06,
|
| 87 |
+
"layerscale_value": 1.0,
|
| 88 |
+
"mlp_ratio": 4,
|
| 89 |
+
"model_type": "dinov2",
|
| 90 |
+
"num_attention_heads": 16,
|
| 91 |
+
"num_channels": 3,
|
| 92 |
+
"num_hidden_layers": 24,
|
| 93 |
+
"out_features": [
|
| 94 |
+
"stage24"
|
| 95 |
+
],
|
| 96 |
+
"out_indices": [
|
| 97 |
+
24
|
| 98 |
+
],
|
| 99 |
+
"patch_size": 14,
|
| 100 |
+
"problem_type": "single_label_classification",
|
| 101 |
+
"qkv_bias": true,
|
| 102 |
+
"reshape_hidden_states": true,
|
| 103 |
+
"stage_names": [
|
| 104 |
+
"stem",
|
| 105 |
+
"stage1",
|
| 106 |
+
"stage2",
|
| 107 |
+
"stage3",
|
| 108 |
+
"stage4",
|
| 109 |
+
"stage5",
|
| 110 |
+
"stage6",
|
| 111 |
+
"stage7",
|
| 112 |
+
"stage8",
|
| 113 |
+
"stage9",
|
| 114 |
+
"stage10",
|
| 115 |
+
"stage11",
|
| 116 |
+
"stage12",
|
| 117 |
+
"stage13",
|
| 118 |
+
"stage14",
|
| 119 |
+
"stage15",
|
| 120 |
+
"stage16",
|
| 121 |
+
"stage17",
|
| 122 |
+
"stage18",
|
| 123 |
+
"stage19",
|
| 124 |
+
"stage20",
|
| 125 |
+
"stage21",
|
| 126 |
+
"stage22",
|
| 127 |
+
"stage23",
|
| 128 |
+
"stage24"
|
| 129 |
+
],
|
| 130 |
+
"torch_dtype": "float32",
|
| 131 |
+
"transformers_version": "4.46.3",
|
| 132 |
+
"use_swiglu_ffn": false
|
| 133 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c1140ee366f7579a1a51a9fdea2e902d258fefef482aa2ddec420f9047f078e
|
| 3 |
+
size 1217804792
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 224,
|
| 4 |
+
"width": 224
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": true,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"image_mean": [
|
| 12 |
+
0.485,
|
| 13 |
+
0.456,
|
| 14 |
+
0.406
|
| 15 |
+
],
|
| 16 |
+
"image_processor_type": "BitImageProcessor",
|
| 17 |
+
"image_std": [
|
| 18 |
+
0.229,
|
| 19 |
+
0.224,
|
| 20 |
+
0.225
|
| 21 |
+
],
|
| 22 |
+
"resample": 3,
|
| 23 |
+
"rescale_factor": 0.00392156862745098,
|
| 24 |
+
"size": {
|
| 25 |
+
"shortest_edge": 256
|
| 26 |
+
}
|
| 27 |
+
}
|
runs/Apr01_21-23-26_hugo-Precision-7960-Tower/events.out.tfevents.1743535410.hugo-Precision-7960-Tower.150407.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a8f8b50592220c3eae4ff32dc7817c849a014a3721a51f8d39f5c21aeff969ca
|
| 3 |
+
size 7224
|
runs/Apr04_16-58-01_hugo-Precision-7960-Tower/events.out.tfevents.1743778689.hugo-Precision-7960-Tower.538069.0
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c00aee6f6a49470429fc4cf4f11b69d20f029687cfecb56c8bd63a73422bbb1a
|
| 3 |
+
size 119540
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5457a8bdb6fe1d90e7fb7b58eaa667a6745c9272028c1fc03ffd7ab269cc3fe0
|
| 3 |
+
size 5368
|