uoft-cs/cifar100
Viewer • Updated • 60k • 59.7k • 65
How to use MazenAmria/swin-tiny-finetuned-cifar100 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="MazenAmria/swin-tiny-finetuned-cifar100")
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("MazenAmria/swin-tiny-finetuned-cifar100")
model = AutoModelForImageClassification.from_pretrained("MazenAmria/swin-tiny-finetuned-cifar100")This model is a fine-tuned version of microsoft/swin-tiny-patch4-window7-224 on the cifar100 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 | Accuracy | Validation Loss |
|---|---|---|---|---|
| 0.6439 | 1.0 | 781 | 0.8138 | 0.6126 |
| 0.6222 | 2.0 | 1562 | 0.8393 | 0.5094 |
| 0.2912 | 3.0 | 2343 | 0.861 | 0.4452 |
| 0.2234 | 4.0 | 3124 | 0.8679 | 0.4330 |
| 0.121 | 5.0 | 3905 | 0.8735 | 0.4223 |
| 0.2589 | 6.0 | 4686 | 0.8622 | 0.4775 |
| 0.1419 | 7.0 | 5467 | 0.8642 | 0.4900 |
| 0.1513 | 8.0 | 6248 | 0.8667 | 0.4956 |