Instructions to use apjanco/candy-first with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use apjanco/candy-first with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="apjanco/candy-first") 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("apjanco/candy-first") model = AutoModelForImageClassification.from_pretrained("apjanco/candy-first", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download images/twix.jpg from apjanco/candy-first: direct link, hf CLI and curl.
- Browser
- Download file 9.88 kB
-
https://huggingface.co/apjanco/candy-first/resolve/main/images/twix.jpg
- Command line
-
hf download hf://apjanco/candy-first/images/twix.jpg
-
curl -L -o twix.jpg https://huggingface.co/apjanco/candy-first/resolve/main/images/twix.jpg
9.88 kB

- Xet hash:
- f49fc67487087d15e99e79de4d7e30838da959cbd6bc85cee87378d8fb0abd34
- Size of remote file:
- 9.88 kB
- SHA256:
- 03d4447eb2f7e1e8e482d5be6a2dc360e232799b1816310a03e7b358eb37e3a9
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.