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/skittles.jpg from apjanco/candy-first: direct link, hf CLI and curl.
- Browser
- Download file 34.9 kB
-
https://huggingface.co/apjanco/candy-first/resolve/main/images/skittles.jpg
- Command line
-
hf download hf://apjanco/candy-first/images/skittles.jpg
-
curl -L -o skittles.jpg https://huggingface.co/apjanco/candy-first/resolve/main/images/skittles.jpg
34.9 kB

- Xet hash:
- 2545aa07042b40079ee5ae08aafecac3ced37546a64412fab55dde04d9d388cf
- Size of remote file:
- 34.9 kB
- SHA256:
- bb9371432ddf89a4f22df66c119a6a89c270ab511bc105d1b80f7bb3d1ac05d8
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.