uoft-cs/cifar10
Viewer • Updated • 60k • 132k • 105
How to use Weili/vit-base-patch16-224-finetuned-cifar10 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="Weili/vit-base-patch16-224-finetuned-cifar10")
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("Weili/vit-base-patch16-224-finetuned-cifar10")
model = AutoModelForImageClassification.from_pretrained("Weili/vit-base-patch16-224-finetuned-cifar10")This model is a fine-tuned version of google/vit-base-patch16-224 on the cifar10 dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.2518 | 1.0 | 390 | 0.0609 | 0.9821 |
| 0.1985 | 2.0 | 780 | 0.0532 | 0.983 |
| 0.197 | 3.0 | 1170 | 0.0427 | 0.9876 |