Run this model with HF Jobs
Run timm/vit_base_patch14_dinov2.lvd142m on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/timm/vit_base_patch14_dinov2.lvd142m. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/timm/vit_base_patch14_dinov2.lvd142m on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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 AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("timm/vit_base_patch14_dinov2.lvd142m") model = AutoModel.from_pretrained("timm/vit_base_patch14_dinov2.lvd142m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K