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