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