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 pytorch_model.bin from tzhao3/vit-CIFAR10: direct link, hf CLI and curl.
- Browser
- Download file 343 MB
-
https://huggingface.co/tzhao3/vit-CIFAR10/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://tzhao3/vit-CIFAR10/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/tzhao3/vit-CIFAR10/resolve/main/pytorch_model.bin
343 MB
- Xet hash:
- 5be13accc83c63e51bb68b971514bd329d7676b0cf30f530f32bb5a6b880ed30
- Size of remote file:
- 343 MB
- SHA256:
- 8744925ea846b7432b43c4c7ba220e8fedbce7ddd2dcd789f67e0383eccf10c9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.