Instructions to use smaranjitghose/big-cat-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use smaranjitghose/big-cat-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="smaranjitghose/big-cat-classifier") 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("smaranjitghose/big-cat-classifier") model = AutoModelForImageClassification.from_pretrained("smaranjitghose/big-cat-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download src/__pycache__/__init__.cpython-38.pyc from smaranjitghose/big-cat-classifier: direct link, hf CLI and curl.
- Browser
- Download file 135 Bytes
-
https://huggingface.co/smaranjitghose/big-cat-classifier/resolve/refs%2Fpr%2F1/src/__pycache__/__init__.cpython-38.pyc
- Command line
-
hf download hf://smaranjitghose/big-cat-classifier@refs/pr/1/src/__pycache__/__init__.cpython-38.pyc
-
curl -L -o __init__.cpython-38.pyc https://huggingface.co/smaranjitghose/big-cat-classifier/resolve/refs%2Fpr%2F1/src/__pycache__/__init__.cpython-38.pyc
135 Bytes
This file contains binary data. It cannot be displayed, but you can still download it.