Image Classification
Transformers
TensorBoard
ONNX
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Run this model with HF Jobs
Run spolivin/food-vit-tutorial 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/spolivin/food-vit-tutorial. 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/spolivin/food-vit-tutorial 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 spolivin/food-vit-tutorial with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use spolivin/food-vit-tutorial with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="spolivin/food-vit-tutorial") 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("spolivin/food-vit-tutorial") model = AutoModelForImageClassification.from_pretrained("spolivin/food-vit-tutorial", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files22 unmodified lines2324252627282922 unmodified linesvalue: 0.916datasets:- food101library_name: transformers.js---<!-- This model card has been generated automatically according to the information the Trainer had access to. You22 unmodified lines23242526272822 unmodified linesvalue: 0.916datasets:- food101---<!-- This model card has been generated automatically according to the information the Trainer had access to. You
README.md-1