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:ab0f9176d16fc4ce5b62bcdb4f2d97ad0e9efba9c599d3108dc3c83ad8342d8esize 343242432123version https://git-lfs.github.com/spec/v1oid sha256:d92f0144e4e101aecf0bcf45b09c25cf81210e7a5d55a93ed569a8c4623e7419size 343242432
123version https://git-lfs.github.com/spec/v1oid sha256:80705202374d454f45bee1bfd040ab0dc41b0a2ca4f86024788dc7086ff58f98size 5112123version https://git-lfs.github.com/spec/v1oid sha256:fd0cdf36ac77d4c61571454841937a50b326ff2f62e4b4b73b8fb18e0cdc0a23size 5112
model.safetensors+1-1
training_args.bin+1-1