Instructions to use timm/vit_medium_patch16_reg4_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_medium_patch16_reg4_gap_256.sbb_in1k with timm:
import timm model = timm.create_model("hf-hub:timm/vit_medium_patch16_reg4_gap_256.sbb_in1k", pretrained=True) - Transformers
How to use timm/vit_medium_patch16_reg4_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_medium_patch16_reg4_gap_256.sbb_in1k") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("timm/vit_medium_patch16_reg4_gap_256.sbb_in1k", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from timm/vit_medium_patch16_reg4_gap_256.sbb_in1k: direct link, hf CLI and curl.
- Browser
- Download file 156 MB
-
https://huggingface.co/timm/vit_medium_patch16_reg4_gap_256.sbb_in1k/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://timm/vit_medium_patch16_reg4_gap_256.sbb_in1k/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/timm/vit_medium_patch16_reg4_gap_256.sbb_in1k/resolve/main/pytorch_model.bin
156 MB
- Xet hash:
- 214d01cfca324cc50b3e65f5d652c14a1be690406a3c317b000fe97336667263
- Size of remote file:
- 156 MB
- SHA256:
- 2c1fa8e4f08abe3ec1ae45b664d7427fc948c580d0f00aaec0064d9eacf37900
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.