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