Instructions to use thenewsupercell/Emotion_DF_Image_VIT_V1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use thenewsupercell/Emotion_DF_Image_VIT_V1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="thenewsupercell/Emotion_DF_Image_VIT_V1") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("thenewsupercell/Emotion_DF_Image_VIT_V1") model = AutoModelForImageClassification.from_pretrained("thenewsupercell/Emotion_DF_Image_VIT_V1") - Notebooks
- Google Colab
- Kaggle
Emotion_DF_Image_VIT_V1
This model is a fine-tuned version of google/vit-base-patch16-224-in21k on the imagefolder dataset. It achieves the following results on the evaluation set:
- Loss: 1.3507
- Accuracy: 1.0
Model description
More information needed
Intended uses & limitations
More information needed
Training and evaluation data
More information needed
Training procedure
Training hyperparameters
The following hyperparameters were used during training:
- learning_rate: 5e-05
- train_batch_size: 16
- eval_batch_size: 16
- seed: 42
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
- lr_scheduler_type: linear
- num_epochs: 3
- mixed_precision_training: Native AMP
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 2.3386 | 1.0 | 75 | 2.1762 | 0.9642 |
| 1.6256 | 2.0 | 150 | 1.5539 | 1.0 |
| 1.3628 | 3.0 | 225 | 1.3507 | 1.0 |
Framework versions
- Transformers 4.47.0
- Pytorch 2.5.1+cu121
- Datasets 3.2.0
- Tokenizers 0.21.0
- Downloads last month
- -
Model tree for thenewsupercell/Emotion_DF_Image_VIT_V1
Base model
google/vit-base-patch16-224-in21kEvaluation results
- Accuracy on imagefolderself-reported1.000