Image Classification
Transformers
TensorBoard
Safetensors
vit
image-feature-extraction
image-to-text
Generated from Trainer
Eval Results (legacy)
Instructions to use d071696/vit-finetune-scrap with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use d071696/vit-finetune-scrap with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="d071696/vit-finetune-scrap") 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("d071696/vit-finetune-scrap") model = AutoModelForImageClassification.from_pretrained("d071696/vit-finetune-scrap") - Notebooks
- Google Colab
- Kaggle
vit-finetune-scrap
This model is a fine-tuned version of d071696/vit-finetune-scrap on the d071696/scraps1 dataset. It achieves the following results on the evaluation set:
- Loss: 0.3599
- Accuracy: 0.9260
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: 0.0002
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 4
Training results
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.0021 | 3.22 | 1000 | 0.3599 | 0.9260 |
Framework versions
- Transformers 4.39.0
- Pytorch 2.2.1
- Datasets 2.18.0
- Tokenizers 0.15.2
- Downloads last month
- 8
Model tree for d071696/vit-finetune-scrap
Unable to build the model tree, the base model loops to the model itself. Learn more.
Evaluation results
- Accuracy on d071696/scraps1self-reported0.926