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