Instructions to use semihdervis/cat-emotion-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use semihdervis/cat-emotion-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="semihdervis/cat-emotion-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("semihdervis/cat-emotion-classifier") model = AutoModelForImageClassification.from_pretrained("semihdervis/cat-emotion-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download training_args.bin from semihdervis/cat-emotion-classifier: direct link, hf CLI and curl.
- Browser
- Download file 5.18 kB
-
https://huggingface.co/semihdervis/cat-emotion-classifier/resolve/main/training_args.bin
- Command line
-
hf download hf://semihdervis/cat-emotion-classifier/training_args.bin
-
curl -L -o training_args.bin https://huggingface.co/semihdervis/cat-emotion-classifier/resolve/main/training_args.bin
5.18 kB
This file contains binary data. It cannot be displayed, but you can still download it.