How to use timm/hiera_base_224.mae with timm:
import timm model = timm.create_model("hf_hub:timm/hiera_base_224.mae", pretrained=True)
How to use timm/hiera_base_224.mae with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="timm/hiera_base_224.mae") 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/hiera_base_224.mae", dtype="auto")
The community tab is the place to discuss and collaborate with the HF community!