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