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