Instructions to use simlaharma/vit-base-cifar10 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use simlaharma/vit-base-cifar10 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="simlaharma/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("simlaharma/vit-base-cifar10") model = AutoModelForImageClassification.from_pretrained("simlaharma/vit-base-cifar10", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
b1e4647
1
Parent(s): 7105aac
Training in progress, epoch 7
Browse files- pytorch_model.bin +1 -1
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 343293293
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:55ab422efd2db340fc53398b366c1eb5571f4fa3d2c4f8426c2b365976a365a8
|
| 3 |
size 343293293
|