Instructions to use bazudde/potato_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bazudde/potato_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="bazudde/potato_model") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("bazudde/potato_model") model = AutoModelForImageClassification.from_pretrained("bazudde/potato_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
75d302e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5dd4709bc4830c1f06f9195ab1eb7f8708d0578cd33a86185419e95a46e48aec
size 346863481
|