Instructions to use tzhao3/vit-CIFAR10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tzhao3/vit-CIFAR10 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="tzhao3/vit-CIFAR10") 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("tzhao3/vit-CIFAR10") model = AutoModelForImageClassification.from_pretrained("tzhao3/vit-CIFAR10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from tzhao3/vit-CIFAR10: direct link, hf CLI and curl.
- Browser
- Download file 3.52 kB
-
https://huggingface.co/tzhao3/vit-CIFAR10/resolve/main/training_args.bin
- Command line
-
hf download hf://tzhao3/vit-CIFAR10/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/tzhao3/vit-CIFAR10/resolve/main/training_args.bin
3.52 kB
- Xet hash:
- 31e2431fae2010711b66d075acbb6685697cb447aa86d5f149a85c22213f68ec
- Size of remote file:
- 3.52 kB
- SHA256:
- 44c1d700b2b0104b38bf8d70080a1f38668ed5cba19136f28ff46a6192337142
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.