Instructions to use timm/vit_base_patch14_dinov2.lvd142m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/vit_base_patch14_dinov2.lvd142m with timm:
import timm model = timm.create_model("hf-hub:timm/vit_base_patch14_dinov2.lvd142m", pretrained=True) - Transformers
How to use timm/vit_base_patch14_dinov2.lvd142m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="timm/vit_base_patch14_dinov2.lvd142m")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/vit_base_patch14_dinov2.lvd142m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
transformers tag
Verified signature4685c99
-
Change pipeline tag to image-feature-extraction (#4)
Verified signature- Change pipeline tag to image-feature-extraction (ec2ef5c8dca3b184adc44e249aac344c83ed54a7) Co-authored-by: Merve Noyan <merve@users.noreply.huggingface.co>6bcdb58
-
Fixed task tag (#3)
- Fixed task tag (9bec624d0460695306fccb47ea5a7eafa4563de5) Co-authored-by: Merve Noyan <merve@users.noreply.huggingface.co>1dc7cda
-
Update README.md
1926dc5
-
Update README.md
1173715
-
Add model
b999a3f -
initial commit
Ross Wightman30ee801