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