Instructions to use hanying/vit-base-cifar10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hanying/vit-base-cifar10 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hanying/vit-base-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("hanying/vit-base-cifar10") model = AutoModelForImageClassification.from_pretrained("hanying/vit-base-cifar10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update ML Intern artifact metadata
Verified signaturea60ef3c -
End of training
Verified signaturedadfe22 -
Update ML Intern artifact metadata
Verified signaturebed588e -
Model save
Verified signatured0ed10d -
Update ML Intern artifact metadata
Verified signature70074a5 -
initial commit
Verified signature1188b13