Instructions to use pytholic/vit_classification_huggingface with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pytholic/vit_classification_huggingface with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="pytholic/vit_classification_huggingface") 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("pytholic/vit_classification_huggingface") model = AutoModelForImageClassification.from_pretrained("pytholic/vit_classification_huggingface", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 130 Bytes
ee1aa63 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:47fe24fe24110e940203879ce0a3fa940dc0dab157461ba2fa8f1cdebbec4592
size 10715
|