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