uoft-cs/cifar10
Viewer • Updated • 60k • 120k • 105
How to use jcollado/swin-tiny-patch4-window7-224-finetuned-cifar10 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="jcollado/swin-tiny-patch4-window7-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("jcollado/swin-tiny-patch4-window7-224-finetuned-cifar10")
model = AutoModelForImageClassification.from_pretrained("jcollado/swin-tiny-patch4-window7-224-finetuned-cifar10")This model is a fine-tuned version of microsoft/swin-tiny-patch4-window7-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.5048 | 1.0 | 351 | 0.1324 | 0.9592 |
| 0.4048 | 2.0 | 703 | 0.1134 | 0.9628 |
| 0.3391 | 2.99 | 1053 | 0.0948 | 0.9698 |
Base model
microsoft/swin-tiny-patch4-window7-224