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:75f20a5985d7ca56469946d8aab68a35d6dffe290034c641ed1d4e26a785f2be
size 14907
|