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