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")# pip install -U transformers accelerate # 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", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding ONNX file of this model
Verified signatureBeep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/onnx/export). On behalf of [mrm8848](https://huggingface.co/mrm8848), I would like to add to this repository the model converted to ONNX. What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at [onnx.ai](https://onnx.ai/)! The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how [here](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models)!c660d10
-
Update README.md
592871f -
Adding `safetensors` variant of this model (#1)
- Adding `safetensors` variant of this model (32a64aed11bf89963ac09c442658da4722ec6672) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>7a28680
-
Upload preprocessor_config.json
4ed2f21 -
Update README.md
dea083e -
Upload pytorch_model.bin with git-lfs
55d9570 -
Upload config.json
70b7ab1 -
Update README.md
aaf1a99 -
initial commit
c6b9481