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 1
Browse filesFiles changed (2)
123version https://git-lfs.github.com/spec/v1oid sha256:b032cc097cf0cf5883a5cedfd76f3e8d4c90d2f859e1faff72a6c7be0feab7eesize 343242432123version https://git-lfs.github.com/spec/v1oid sha256:a8ee56ecb09441f8f73b601d554a9cebb4d847d85a3d7396a9c4e4bdc3d9db8esize 343242432
123version https://git-lfs.github.com/spec/v1oid sha256:7d145b035a3b0d1bbb7d0c2a6aa97364b0d09f82e1844f212804f8f5a996da23size 5112123version https://git-lfs.github.com/spec/v1oid sha256:91c792257f9df132ef9b71f611e104e7aa84a9aaf0f598abc1ea9895d45b1056size 5112
model.safetensors+1-1
training_args.bin+1-1