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