uoft-cs/cifar10
Viewer • Updated • 60k • 125k • 105
How to use simlaharma/vit-base-cifar10 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="simlaharma/vit-base-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("simlaharma/vit-base-cifar10")
model = AutoModelForImageClassification.from_pretrained("simlaharma/vit-base-cifar10")This model is a fine-tuned version of google/vit-base-patch16-224-in21k 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 |
|---|---|---|---|---|
| 2.3324 | 1.0 | 664 | 2.3352 | 0.0967 |
| 2.3489 | 2.0 | 1328 | 2.3288 | 0.1049 |
| 2.4899 | 3.0 | 1992 | 2.4473 | 0.0989 |
| 2.479 | 4.0 | 2656 | 2.4894 | 0.1 |
| 2.4179 | 5.0 | 3320 | 2.4404 | 0.0947 |
| 2.3881 | 6.0 | 3984 | 2.3931 | 0.102 |
| 2.3597 | 7.0 | 4648 | 2.3744 | 0.0967 |
| 2.3721 | 8.0 | 5312 | 2.3667 | 0.0935 |
| 2.3456 | 9.0 | 5976 | 2.3495 | 0.1036 |
| 2.3361 | 10.0 | 6640 | 2.3473 | 0.1025 |