Instructions to use WinKawaks/vit-small-patch16-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WinKawaks/vit-small-patch16-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="WinKawaks/vit-small-patch16-224") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("WinKawaks/vit-small-patch16-224") model = AutoModelForImageClassification.from_pretrained("WinKawaks/vit-small-patch16-224") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding ONNX file of this model
#5
by Shmul - opened
- onnx/model.onnx +2 -2
onnx/model.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:385f889ce15b3ebce96a08ef58bdfb769786762f2d9aabbdec762218e9c2d4a5
|
| 3 |
+
size 88455883
|