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