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