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

- Xet hash:
- 95c52a3a0de618bb281ecaa2e7f28413e0a5579b1f8f81d6bc2b0f3ceedcfc94
- Size of remote file:
- 36 kB
- SHA256:
- 48db3b74075e721a31a8a9d61224674d4a0a0918622dfd96e521955da60c76ea
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.