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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
transformers tag
Browse files
README.md
CHANGED
|
@@ -3,6 +3,7 @@ tags:
|
|
| 3 |
- image-classification
|
| 4 |
- timm
|
| 5 |
- vision-transformer
|
|
|
|
| 6 |
license: apache-2.0
|
| 7 |
datasets:
|
| 8 |
- imagenet_21k
|
|
|
|
| 3 |
- image-classification
|
| 4 |
- timm
|
| 5 |
- vision-transformer
|
| 6 |
+
- transformers
|
| 7 |
license: apache-2.0
|
| 8 |
datasets:
|
| 9 |
- imagenet_21k
|