Instructions to use Dc-4nderson/vit-emotion-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Dc-4nderson/vit-emotion-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Dc-4nderson/vit-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("Dc-4nderson/vit-emotion-classifier") model = AutoModelForImageClassification.from_pretrained("Dc-4nderson/vit-emotion-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature1e38540 -
Update README.md
Verified signaturea2b8ca5 -
Update config.json
Verified signature73c84c4 -
Update config.json
Verified signature1b51852 -
Update config.json
Verified signature6a30a70 -
Create README.md
Verified signaturea070ac5 -
Update config.json
Verified signature16c78a1 -
Upload folder using huggingface_hub
Verified signature3967676 -
initial commit
Verified signature687e16a