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