Instructions to use smc/PANDA_ViT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use smc/PANDA_ViT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="smc/PANDA_ViT", device_map="auto") 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("smc/PANDA_ViT") model = AutoModelForImageClassification.from_pretrained("smc/PANDA_ViT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Sebastián Medina commited on
Commit ·
5658088
1
Parent(s): ee5d192
Upload 00bbc1482301d16de3ff63238cfd0b34_2.jpeg
Browse files
00bbc1482301d16de3ff63238cfd0b34_2.jpeg
ADDED
|