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 training_args.bin from mruby/swin-tiny-patch4-window7-224-attempt-m: direct link, hf CLI and curl.
- Browser
- Download file 4.03 kB
-
https://huggingface.co/mruby/swin-tiny-patch4-window7-224-attempt-m/resolve/main/training_args.bin
- Command line
-
hf download hf://mruby/swin-tiny-patch4-window7-224-attempt-m/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/mruby/swin-tiny-patch4-window7-224-attempt-m/resolve/main/training_args.bin
4.03 kB
- Xet hash:
- 6560d9e9d13079850ebe2505f8ecc9f20eb8fa50c249b736b7b133d99917b7d9
- Size of remote file:
- 4.03 kB
- SHA256:
- 09338ea3dc45d0e31b224831532b728404c871685f20996b40bc5ebcadbbb489
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.