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 `safetensors` variant of this model
#1
by SFconvertbot - opened
No description provided.
@SFconvertbot Many thanks! Could you also upload the safetensors model in this repository -- https://huggingface.co/WinKawaks/vit-tiny-patch16-224 ?
WinKawaks changed pull request status to merged