Instructions to use mruby/swin-tiny-patch4-window7-224-attempt-m with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mruby/swin-tiny-patch4-window7-224-attempt-m with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="mruby/swin-tiny-patch4-window7-224-attempt-m") 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("mruby/swin-tiny-patch4-window7-224-attempt-m") model = AutoModelForImageClassification.from_pretrained("mruby/swin-tiny-patch4-window7-224-attempt-m", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from mruby/swin-tiny-patch4-window7-224-attempt-m: direct link, hf CLI and curl.
- Browser
- Download file 110 MB
-
https://huggingface.co/mruby/swin-tiny-patch4-window7-224-attempt-m/resolve/refs%2Fpr%2F1/pytorch_model.bin
- Command line
-
hf download hf://mruby/swin-tiny-patch4-window7-224-attempt-m@refs/pr/1/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/mruby/swin-tiny-patch4-window7-224-attempt-m/resolve/refs%2Fpr%2F1/pytorch_model.bin
110 MB
- Xet hash:
- dee1485fc3106532cc1df6aef8a712b4bcc288c79dbc91efde0e869ba5db3e84
- Size of remote file:
- 110 MB
- SHA256:
- eaf5d9c01f04248a4d51418ba3974d46ddf789f93010cfd0b5b14c1063b20451
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.