Instructions to use facebook/deit-base-distilled-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/deit-base-distilled-patch16-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="facebook/deit-base-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-base-distilled-patch16-224") model = AutoModelForImageClassification.from_pretrained("facebook/deit-base-distilled-patch16-224", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add TF weights
Model converted by the [`transformers`' `pt_to_tf` CLI](https://github.com/huggingface/transformers/blob/main/src/transformers/commands/pt_to_tf.py). All converted model outputs and hidden layers were validated against its Pytorch counterpart. Maximum crossload output difference=3.612e-05; Maximum crossload hidden layer difference=1.945e-03; Maximum conversion output difference=3.612e-05; Maximum conversion hidden layer difference=1.945e-03;2ab8949
-
Add vision tag
ea2cf46
-
Make code example more clear
702e82a
-
Remove timm tag
429dc56
-
Fix typo
6b7c95f -
Fix typo
9e3eec5 -
Fix typo
3c0d779 -
Add model card
0b07514
-
Update size
fd87cd5 -
First commit
f444be0 -
initial commit
f5a6b25