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 training_args.bin from Mustafa21/my_awesome_food_model: direct link, hf CLI and curl.
- Browser
- Download file 3.52 kB
-
https://huggingface.co/Mustafa21/my_awesome_food_model/resolve/main/training_args.bin
- Command line
-
hf download hf://Mustafa21/my_awesome_food_model/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/Mustafa21/my_awesome_food_model/resolve/main/training_args.bin
3.52 kB
- Xet hash:
- 98ef9a78aceeb7fb8937a13a41dcc0d3298f7a2e9174583b824621c8be437c38
- Size of remote file:
- 3.52 kB
- SHA256:
- dd3063b8fbad374825943ab1c1e9c0701e976e35284a0a41c45abf5e68f91033
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.