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