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