Instructions to use timm/vit_huge_patch14_224_in21k with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/vit_huge_patch14_224_in21k with timm:
import timm model = timm.create_model("hf_hub:timm/vit_huge_patch14_224_in21k", pretrained=True) - Transformers
How to use timm/vit_huge_patch14_224_in21k with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/vit_huge_patch14_224_in21k") 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/vit_huge_patch14_224_in21k", dtype="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
81f8fe4 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:44efe50e6b889e919b8cd7feb35b6114a0a75a9bee17bc3597df36a66a3aeab1
size 2641619129
|