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")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("semihdervis/cat-emotion-classifier") model = AutoModelForImageClassification.from_pretrained("semihdervis/cat-emotion-classifier") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 10.0, | |
| "total_flos": 3.8902722072367104e+17, | |
| "train_loss": 0.3804276719689369, | |
| "train_runtime": 80.487, | |
| "train_samples_per_second": 62.37, | |
| "train_steps_per_second": 3.976 | |
| } |