Image Classification
Transformers
TensorBoard
Safetensors
vit
Generated from Trainer
Eval Results (legacy)
Instructions to use hanslab37/emotion_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hanslab37/emotion_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="hanslab37/emotion_classification") 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("hanslab37/emotion_classification") model = AutoModelForImageClassification.from_pretrained("hanslab37/emotion_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, epoch 7
Browse files123version https://git-lfs.github.com/spec/v1oid sha256:a8ee56ecb09441f8f73b601d554a9cebb4d847d85a3d7396a9c4e4bdc3d9db8esize 343242432123version https://git-lfs.github.com/spec/v1oid sha256:9cd8ef928c5de49123a84ae6906dccf21e9bb21b7237a6b9b95069772fe721e0size 343242432
model.safetensors+1-1