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