Instructions to use timm/vit_large_patch14_dinov2.lvd142m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/vit_large_patch14_dinov2.lvd142m with timm:
import timm model = timm.create_model("hf-hub:timm/vit_large_patch14_dinov2.lvd142m", pretrained=True) - Transformers
How to use timm/vit_large_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_large_patch14_dinov2.lvd142m")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/vit_large_patch14_dinov2.lvd142m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature4741e1c
-
Change pipeline tag to image-feature-extraction (#4)
Verified signature- Change pipeline tag to image-feature-extraction (e8c46c3a22f68afd8712d3e2e94527451636c989) Co-authored-by: Merve Noyan <merve@users.noreply.huggingface.co>2e99f07
-
Fixed task tag (#2)
- Fixed task tag (8c072e783f832bf71db4b667976a9478f7875977) Co-authored-by: Merve Noyan <merve@users.noreply.huggingface.co>8125e2a
-
Update README.md
8d7639e
-
Update README.md
7eb792a
-
Add model
4843032 -
initial commit
Ross Wightman6f17138