Instructions to use facebook/deit-small-distilled-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/deit-small-distilled-patch16-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="facebook/deit-small-distilled-patch16-224") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("facebook/deit-small-distilled-patch16-224") model = AutoModelForImageClassification.from_pretrained("facebook/deit-small-distilled-patch16-224", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add TF weights (#1)
- Add TF weights (432d3524a460edd5164eaed98d09849ecaa02d5d)3559f91
-
Add vision tag
167101e
-
Remove timm tag
ac43954
-
Fix typo
61f5740 -
Add model card
6b324db
-
Update size
f15b75f -
First commit
6dc42f4 -
initial commit
4234a78