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