Run this model with HF Jobs
Run kobe/vit-base-beans on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/kobe/vit-base-beans. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/kobe/vit-base-beans on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use kobe/vit-base-beans with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kobe/vit-base-beans with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="kobe/vit-base-beans") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("kobe/vit-base-beans") model = AutoModelForImageClassification.from_pretrained("kobe/vit-base-beans", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download eval_results.json from kobe/vit-base-beans: direct link, hf CLI and curl.
- Browser
- Download file 202 Bytes
-
https://huggingface.co/kobe/vit-base-beans/resolve/refs%2Fpr%2F2/eval_results.json
- Command line
-
hf download hf://kobe/vit-base-beans@refs/pr/2/eval_results.json
-
curl -L -o eval_results.json https://huggingface.co/kobe/vit-base-beans/resolve/refs%2Fpr%2F2/eval_results.json
202 Bytes
| { | |
| "epoch": 5.0, | |
| "eval_accuracy": 0.9849624060150376, | |
| "eval_loss": 0.0866488441824913, | |
| "eval_runtime": 1.3516, | |
| "eval_samples_per_second": 98.403, | |
| "eval_steps_per_second": 12.578 | |
| } |