Instructions to use timm/deit_tiny_distilled_patch16_224.fb_in1k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/deit_tiny_distilled_patch16_224.fb_in1k with timm:
import timm model = timm.create_model("hf_hub:timm/deit_tiny_distilled_patch16_224.fb_in1k", pretrained=True) - Transformers
How to use timm/deit_tiny_distilled_patch16_224.fb_in1k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/deit_tiny_distilled_patch16_224.fb_in1k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/deit_tiny_distilled_patch16_224.fb_in1k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
4decab5 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:06a694aa4fcf7f01fe90cd23c64d1d4616d542ce425b224078a1af0c308f15e0
size 23700217
|