Instructions to use philldevcoder/my_awesome_food_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use philldevcoder/my_awesome_food_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="philldevcoder/my_awesome_food_model") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("philldevcoder/my_awesome_food_model") model = AutoModelForImageClassification.from_pretrained("philldevcoder/my_awesome_food_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
7034767 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:db0fce5d7e77b65f50946bd99767352c2819d0339d04e08386630552fec6e442
size 5777
|