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)
1223version https://git-lfs.github.com/spec/v1oid sha256:930942308c69976214f8dafc9e4492f97c13fcb2e5ed3143c3f8b2ccde5d53aaoid sha256:2d365c84d5b35c791177efd7f58380c58ad2ff8a16c9d4c12ed5885f7c67cb34size 3432424321223version https://git-lfs.github.com/spec/v1oid sha256:f91799ac19ad09ee80361a70380b8467af4405609123d30c997630cccc2b10b9oid sha256:80705202374d454f45bee1bfd040ab0dc41b0a2ca4f86024788dc7086ff58f98size 5112model.safetensors+1-1
training_args.bin+1-1