Instructions to use facebook/deit-tiny-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/deit-tiny-patch16-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="facebook/deit-tiny-patch16-224") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("facebook/deit-tiny-patch16-224") model = AutoModelForImageClassification.from_pretrained("facebook/deit-tiny-patch16-224") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
#4 opened over 1 year ago
by
jzhang533
Adding `safetensors` variant of this model
#3 opened almost 3 years ago
by
SFconvertbot
Accuracy Drop
#2 opened over 3 years ago
by
mhyatt000