Image Classification
Transformers
PyTorch
TensorBoard
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use sjdata/vit-base-beans with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sjdata/vit-base-beans with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="sjdata/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("sjdata/vit-base-beans") model = AutoModelForImageClassification.from_pretrained("sjdata/vit-base-beans") - Notebooks
- Google Colab
- Kaggle
Librarian Bot: Update Hugging Face dataset ID
#2
by librarian-bot - opened
This pull request updates the ID of the dataset used to train the model to the new Hub identifier AI-Lab-Makerere/beans (which has been migrated moved from beans). We have been working to migrate datasets to their own repositories on the Hub, and this is part of that effort.
Updating the dataset ID in the model card will ensure that the model card is correctly linked to the dataset repository on the Hub. This will also make it easier for people to find your model via the training data used to create it.
This PR comes courtesy of Librarian Bot. If you have any feedback, queries, or need assistance, please don't hesitate to reach out to @davanstrien.