adisaljusi commited on
Commit Β·
5fb37cd
1
Parent(s): 26af242
Update model links and training configuration details
Browse files
README.md
CHANGED
|
@@ -14,18 +14,18 @@ short_description: 'Block 2 '
|
|
| 14 |
|
| 15 |
Compare three classification approaches on CIFAR-10 images:
|
| 16 |
|
| 17 |
-
- **Fine-tuned ViT** ([adisaljusi/
|
| 18 |
- **CLIP Zero-Shot** (`openai/clip-vit-large-patch14`) β open-source zero-shot classification
|
| 19 |
- **OpenAI GPT-4.1-mini** β closed-source vision model via API
|
| 20 |
|
| 21 |
## Dataset
|
| 22 |
|
| 23 |
-
**CIFAR-10** β 60,000 32x32 color images in 10 classes (6,000 images per class):
|
| 24 |
|
| 25 |
-
| Split |
|
| 26 |
-
|-------|--------|
|
| 27 |
-
| Train | 50,000 |
|
| 28 |
-
| Test | 10,000 |
|
| 29 |
|
| 30 |
**Classes:** airplane, automobile, bird, cat, deer, dog, frog, horse, ship, truck
|
| 31 |
|
|
@@ -45,7 +45,7 @@ Applied using `AutoImageProcessor` from `google/vit-base-patch16-224`.
|
|
| 45 |
|
| 46 |
**Transfer learning approach:** All layers frozen except the final classification head (10 outputs for CIFAR-10 classes). Only 7,690 of 85.8M parameters are trainable.
|
| 47 |
|
| 48 |
-
**Training config:**
|
| 49 |
|
| 50 |
### Training Results
|
| 51 |
|
|
@@ -55,7 +55,7 @@ Applied using `AutoImageProcessor` from `google/vit-base-patch16-224`.
|
|
| 55 |
|
| 56 |
## Links
|
| 57 |
|
| 58 |
-
- **Model:** [adisaljusi/
|
| 59 |
- **App:** [adisaljusi/computer-vision-classification-model-comparison](https://huggingface.co/spaces/adisaljusi/computer-vision-classification-model-comparison)
|
| 60 |
|
| 61 |
## Comparison Results
|
|
|
|
| 14 |
|
| 15 |
Compare three classification approaches on CIFAR-10 images:
|
| 16 |
|
| 17 |
+
- **Fine-tuned ViT** ([adisaljusi/cifar10-vit](https://huggingface.co/adisaljusi/cifar10-vit)) β transfer learning model trained on CIFAR-10
|
| 18 |
- **CLIP Zero-Shot** (`openai/clip-vit-large-patch14`) β open-source zero-shot classification
|
| 19 |
- **OpenAI GPT-4.1-mini** β closed-source vision model via API
|
| 20 |
|
| 21 |
## Dataset
|
| 22 |
|
| 23 |
+
**CIFAR-10** β 60,000 32x32 color images in 10 classes (6,000 images per class). For training we use a smaller subset to keep runtime manageable on a laptop:
|
| 24 |
|
| 25 |
+
| Split | Full Dataset | Used for Training |
|
| 26 |
+
|-------|-------------:|------------------:|
|
| 27 |
+
| Train | 50,000 | 8,000 |
|
| 28 |
+
| Test | 10,000 | 2,000 |
|
| 29 |
|
| 30 |
**Classes:** airplane, automobile, bird, cat, deer, dog, frog, horse, ship, truck
|
| 31 |
|
|
|
|
| 45 |
|
| 46 |
**Transfer learning approach:** All layers frozen except the final classification head (10 outputs for CIFAR-10 classes). Only 7,690 of 85.8M parameters are trainable.
|
| 47 |
|
| 48 |
+
**Training config:** 4 epochs, batch size 32, learning rate 2e-4, warmup ratio 0.1, weight decay 0.01, AdamW optimizer.
|
| 49 |
|
| 50 |
### Training Results
|
| 51 |
|
|
|
|
| 55 |
|
| 56 |
## Links
|
| 57 |
|
| 58 |
+
- **Model:** [adisaljusi/cifar10-vit](https://huggingface.co/adisaljusi/cifar10-vit)
|
| 59 |
- **App:** [adisaljusi/computer-vision-classification-model-comparison](https://huggingface.co/spaces/adisaljusi/computer-vision-classification-model-comparison)
|
| 60 |
|
| 61 |
## Comparison Results
|