therealcyberlord
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -8,12 +8,27 @@ metrics:
|
|
8 |
- recall
|
9 |
---
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
- recall
|
9 |
---
|
10 |
|
11 |
+
# Indian Food Classification with Vision Transformer (ViT)
|
12 |
+
|
13 |
+
## Overview
|
14 |
+
This model is a fine-tuned Vision Transformer (ViT) for the task of classifying images of Indian foods. The model was trained on the [Indian Foods Dataset](https://huggingface.co/datasets/bharat-raghunathan/indian-foods-dataset) from Hugging Face Datasets.
|
15 |
+
|
16 |
+
## Dataset
|
17 |
+
The Indian Foods Dataset contains 4,770 images across 15 different classes of popular Indian dishes. The dataset is split into:
|
18 |
+
|
19 |
+
- Training: 3,047 images
|
20 |
+
- Validation: 762 images
|
21 |
+
- Testing: 961 images
|
22 |
+
|
23 |
+
## Model
|
24 |
+
The base model used is the vision transformer (google/vit-base-patch16-224-in21k). The model was fine-tuned on the Indian Foods Dataset for 10 epochs using the AdamW optimizer with a learning rate of 2e-4.
|
25 |
+
|
26 |
+
## Evaluation
|
27 |
+
The model was evaluated on the test set and achieved the following metrics:
|
28 |
+
|
29 |
+
- Accuracy: 0.9667
|
30 |
+
- Precision: 0.9670
|
31 |
+
- Recall: 0.9667
|
32 |
+
|
33 |
+
## Usage
|
34 |
+
You can use this pre-trained model directly from Hugging Face
|