Create Read.me
Browse files
README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- vision
|
| 5 |
+
- image-classification
|
| 6 |
+
- fine-tuning
|
| 7 |
+
- transformer
|
| 8 |
+
- vit
|
| 9 |
+
datasets:
|
| 10 |
+
- cifar10
|
| 11 |
+
- imagenet
|
| 12 |
+
metrics:
|
| 13 |
+
- accuracy
|
| 14 |
+
- f1
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Vision Transformer Fine-tuned on CIFAR-10
|
| 18 |
+
|
| 19 |
+
This model is a Vision Transformer (ViT) fine-tuned on the CIFAR-10 dataset for image classification.
|
| 20 |
+
|
| 21 |
+
## Model Description
|
| 22 |
+
The model was trained on the CIFAR-10 dataset, which consists of 60,000 32x32 color images in 10 classes, with 6,000 images per class. The fine-tuning was performed on the pretrained ViT base model.
|
| 23 |
+
|
| 24 |
+
## Intended Use
|
| 25 |
+
This model is intended for image classification tasks.
|
| 26 |
+
|
| 27 |
+
## How to Use
|
| 28 |
+
```python
|
| 29 |
+
from transformers import pipeline
|
| 30 |
+
|
| 31 |
+
classifier = pipeline('image-classification', model='your-username/your-model-name')
|
| 32 |
+
results = classifier('path/to/your/image.jpg')
|
| 33 |
+
print(results)
|