Model save
Browse files
README.md
CHANGED
@@ -2,8 +2,9 @@
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
5 |
-
- image-classification
|
6 |
- generated_from_trainer
|
|
|
|
|
7 |
model-index:
|
8 |
- name: finetuned-indian-food
|
9 |
results: []
|
@@ -14,7 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
14 |
|
15 |
# finetuned-indian-food
|
16 |
|
17 |
-
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on
|
|
|
|
|
|
|
18 |
|
19 |
## Model description
|
20 |
|
@@ -42,6 +46,25 @@ The following hyperparameters were used during training:
|
|
42 |
- num_epochs: 4
|
43 |
- mixed_precision_training: Native AMP
|
44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
### Framework versions
|
46 |
|
47 |
- Transformers 4.42.4
|
|
|
2 |
license: apache-2.0
|
3 |
base_model: google/vit-base-patch16-224-in21k
|
4 |
tags:
|
|
|
5 |
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- accuracy
|
8 |
model-index:
|
9 |
- name: finetuned-indian-food
|
10 |
results: []
|
|
|
15 |
|
16 |
# finetuned-indian-food
|
17 |
|
18 |
+
This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.2867
|
21 |
+
- Accuracy: 0.9267
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
46 |
- num_epochs: 4
|
47 |
- mixed_precision_training: Native AMP
|
48 |
|
49 |
+
### Training results
|
50 |
+
|
51 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
+
|:-------------:|:------:|:----:|:---------------:|:--------:|
|
53 |
+
| 1.0192 | 0.3003 | 100 | 0.9248 | 0.8480 |
|
54 |
+
| 0.635 | 0.6006 | 200 | 0.5917 | 0.8863 |
|
55 |
+
| 0.6523 | 0.9009 | 300 | 0.5134 | 0.8799 |
|
56 |
+
| 0.4247 | 1.2012 | 400 | 0.3983 | 0.9044 |
|
57 |
+
| 0.4393 | 1.5015 | 500 | 0.4119 | 0.8980 |
|
58 |
+
| 0.4631 | 1.8018 | 600 | 0.3752 | 0.9107 |
|
59 |
+
| 0.2992 | 2.1021 | 700 | 0.3469 | 0.9129 |
|
60 |
+
| 0.3 | 2.4024 | 800 | 0.3157 | 0.9203 |
|
61 |
+
| 0.2372 | 2.7027 | 900 | 0.3210 | 0.9192 |
|
62 |
+
| 0.2447 | 3.0030 | 1000 | 0.3140 | 0.9224 |
|
63 |
+
| 0.2209 | 3.3033 | 1100 | 0.3034 | 0.9160 |
|
64 |
+
| 0.2641 | 3.6036 | 1200 | 0.2896 | 0.9277 |
|
65 |
+
| 0.0954 | 3.9039 | 1300 | 0.2867 | 0.9267 |
|
66 |
+
|
67 |
+
|
68 |
### Framework versions
|
69 |
|
70 |
- Transformers 4.42.4
|
config.json
CHANGED
@@ -61,6 +61,7 @@
|
|
61 |
"num_channels": 3,
|
62 |
"num_hidden_layers": 12,
|
63 |
"patch_size": 16,
|
|
|
64 |
"qkv_bias": true,
|
65 |
"torch_dtype": "float32",
|
66 |
"transformers_version": "4.42.4"
|
|
|
61 |
"num_channels": 3,
|
62 |
"num_hidden_layers": 12,
|
63 |
"patch_size": 16,
|
64 |
+
"problem_type": "single_label_classification",
|
65 |
"qkv_bias": true,
|
66 |
"torch_dtype": "float32",
|
67 |
"transformers_version": "4.42.4"
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 343279344
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e005b47bf0a3e628ba056c9d80df83a4157d3c57539c95c64b7f64ae9cdcdc97
|
3 |
size 343279344
|
runs/Aug22_09-00-22_e6ee7653b19d/events.out.tfevents.1724317241.e6ee7653b19d.364.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5bf3adbcc8a75e769732f0ceac0a635a10a97ca3e95f98e63ecdb8b0934550eb
|
3 |
+
size 7684
|
runs/Aug22_09-03-46_e6ee7653b19d/events.out.tfevents.1724317443.e6ee7653b19d.364.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:14346bc5e081a3434c5f4e065c5a6e7db5408a54af4ad0e6420d28bbbf383d51
|
3 |
+
size 38176
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5112
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:98750c7900609da7837278d54129418c77f926c8b4dfb16a55dbbdd349afe395
|
3 |
size 5112
|