Instructions to use internetoftim/dinov2-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use internetoftim/dinov2-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="internetoftim/dinov2-base")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("internetoftim/dinov2-base") model = AutoModel.from_pretrained("internetoftim/dinov2-base") - Notebooks
- Google Colab
- Kaggle
Commit ·
02fcc30
1
Parent(s): e6b33b3
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
"layer_norm_eps": 1e-06,
|
| 13 |
"layerscale_value": 1.0,
|
| 14 |
"mlp_ratio": 4,
|
| 15 |
-
"model_type": "
|
| 16 |
"num_attention_heads": 12,
|
| 17 |
"num_channels": 3,
|
| 18 |
"num_hidden_layers": 12,
|
|
|
|
| 12 |
"layer_norm_eps": 1e-06,
|
| 13 |
"layerscale_value": 1.0,
|
| 14 |
"mlp_ratio": 4,
|
| 15 |
+
"model_type": "vit",
|
| 16 |
"num_attention_heads": 12,
|
| 17 |
"num_channels": 3,
|
| 18 |
"num_hidden_layers": 12,
|