Instructions to use kinghoon/vit-base-beans-demo-v5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kinghoon/vit-base-beans-demo-v5 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="kinghoon/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("kinghoon/vit-base-beans-demo-v5") model = AutoModelForImageClassification.from_pretrained("kinghoon/vit-base-beans-demo-v5") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 4.0, | |
| "total_flos": 3.205097416476426e+17, | |
| "train_loss": 0.13281054170085835, | |
| "train_runtime": 85.7697, | |
| "train_samples_per_second": 48.222, | |
| "train_steps_per_second": 3.031 | |
| } |