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