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