Instructions to use Maria-pro/emotions_classif_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Maria-pro/emotions_classif_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Maria-pro/emotions_classif_model") 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("Maria-pro/emotions_classif_model") model = AutoModelForImageClassification.from_pretrained("Maria-pro/emotions_classif_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
a791dcb | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:67740279915d5d73c21ab41b4b6b49e97b78613d701ea32a3019e2f32612b196
size 5777
|