Instructions to use Luke537/image_classification_food_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Luke537/image_classification_food_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Luke537/image_classification_food_model") 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("Luke537/image_classification_food_model") model = AutoModelForImageClassification.from_pretrained("Luke537/image_classification_food_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from Luke537/image_classification_food_model: direct link, hf CLI and curl.
- Browser
- Download file 344 MB
-
https://huggingface.co/Luke537/image_classification_food_model/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://Luke537/image_classification_food_model/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/Luke537/image_classification_food_model/resolve/main/pytorch_model.bin
344 MB
- Xet hash:
- edfaec608ef5553c09b86abfc902352fa8c500b7a120e7aa978bd18af5988999
- Size of remote file:
- 344 MB
- SHA256:
- 02b2dc3d33766b9c801ba95f0f48c57735ac53e8dafedb2fb94b6d09c3cc1885
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.