Instructions to use timm/hiera_small_224.mae with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use timm/hiera_small_224.mae with timm:
import timm model = timm.create_model("hf-hub:timm/hiera_small_224.mae", pretrained=True) - Transformers
How to use timm/hiera_small_224.mae with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/hiera_small_224.mae") 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("timm/hiera_small_224.mae") model = AutoModelForImageClassification.from_pretrained("timm/hiera_small_224.mae", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
7bcf42b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:1285479f3436db0ca1b04dc2f4b7fc7a0a47acfb417c0714f94dd7f732201425
size 137028150
|