Instructions to use timm/vit_small_patch16_224.dino with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/vit_small_patch16_224.dino with timm:
import timm model = timm.create_model("hf-hub:timm/vit_small_patch16_224.dino", pretrained=True) - Transformers
How to use timm/vit_small_patch16_224.dino with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="timm/vit_small_patch16_224.dino")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("timm/vit_small_patch16_224.dino") model = AutoModel.from_pretrained("timm/vit_small_patch16_224.dino", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
transformers tag
Verified signature10e440b
-
Change pipeline tag to image-feature-extraction (#3)
Verified signature- Change pipeline tag to image-feature-extraction (c6d3a1bc1d70cea22a1c4bbddefbeb3ee612ed85) Co-authored-by: Merve Noyan <merve@users.noreply.huggingface.co>a0b4013
-
Fixed task tag (#1)
- Fixed task tag (32cfef19bd9f65f1513a5068dc02e80de99388f7) Co-authored-by: Merve Noyan <merve@users.noreply.huggingface.co>733b42a
-
Update model config and README
c53fbb4 -
Update model config and README
d1fd955
-
Add model
3108e38