rajistics commited on
Commit
6dd4624
1 Parent(s): c2ae712

update model card README.md

Browse files
Files changed (1) hide show
  1. README.md +22 -82
README.md CHANGED
@@ -1,20 +1,11 @@
1
  ---
2
  license: apache-2.0
3
  tags:
4
- - image-classification
5
  - generated_from_trainer
6
  datasets:
7
  - imagefolder
8
- - rajistics/indian_food_images
9
  metrics:
10
  - accuracy
11
- widget:
12
- - src: https://huggingface.co/rajistics/finetuned-indian-food/resolve/main/003.jpg
13
- example_title: Fried Rice
14
- - src: https://huggingface.co/rajistics/finetuned-indian-food/resolve/main/126.jpg
15
- example_title: Paani Puri
16
- - src: https://huggingface.co/rajistics/finetuned-indian-food/resolve/main/401.jpg
17
- example_title: Chapathi
18
  model-index:
19
  - name: finetuned-indian-food
20
  results:
@@ -22,66 +13,15 @@ model-index:
22
  name: Image Classification
23
  type: image-classification
24
  dataset:
25
- name: indian_food_images
26
  type: imagefolder
 
 
27
  args: default
28
  metrics:
29
  - name: Accuracy
30
  type: accuracy
31
- value: 0.9521785334750266
32
- - task:
33
- type: image-classification
34
- name: Image Classification
35
- dataset:
36
- name: rajistics/indian_food_images
37
- type: rajistics/indian_food_images
38
- config: rajistics--indian_food_images
39
- split: test
40
- metrics:
41
- - name: Accuracy
42
- type: accuracy
43
- value: 0.8257173219978746
44
- verified: true
45
- - name: Precision Macro
46
- type: precision
47
- value: 0.8391547623590003
48
- verified: true
49
- - name: Precision Micro
50
- type: precision
51
- value: 0.8257173219978746
52
- verified: true
53
- - name: Precision Weighted
54
- type: precision
55
- value: 0.8437849242516663
56
- verified: true
57
- - name: Recall Macro
58
- type: recall
59
- value: 0.8199909093335551
60
- verified: true
61
- - name: Recall Micro
62
- type: recall
63
- value: 0.8257173219978746
64
- verified: true
65
- - name: Recall Weighted
66
- type: recall
67
- value: 0.8257173219978746
68
- verified: true
69
- - name: F1 Macro
70
- type: f1
71
- value: 0.8207881196755944
72
- verified: true
73
- - name: F1 Micro
74
- type: f1
75
- value: 0.8257173219978746
76
- verified: true
77
- - name: F1 Weighted
78
- type: f1
79
- value: 0.8256340007731109
80
- verified: true
81
- - name: loss
82
- type: loss
83
- value: 0.6241679787635803
84
- verified: true
85
  ---
86
 
87
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -89,10 +29,10 @@ should probably proofread and complete it, then remove this comment. -->
89
 
90
  # finetuned-indian-food
91
 
92
- This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the indian_food_images dataset.
93
  It achieves the following results on the evaluation set:
94
- - Loss: 0.2139
95
- - Accuracy: 0.9522
96
 
97
  ## Model description
98
 
@@ -124,24 +64,24 @@ The following hyperparameters were used during training:
124
 
125
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
126
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
127
- | 1.0846 | 0.3 | 100 | 0.9561 | 0.8555 |
128
- | 0.7894 | 0.6 | 200 | 0.5871 | 0.8927 |
129
- | 0.6233 | 0.9 | 300 | 0.4447 | 0.9107 |
130
- | 0.3619 | 1.2 | 400 | 0.4355 | 0.8937 |
131
- | 0.34 | 1.5 | 500 | 0.3712 | 0.9118 |
132
- | 0.3413 | 1.8 | 600 | 0.4088 | 0.8916 |
133
- | 0.3619 | 2.1 | 700 | 0.3741 | 0.9044 |
134
- | 0.2135 | 2.4 | 800 | 0.3286 | 0.9160 |
135
- | 0.2166 | 2.7 | 900 | 0.2758 | 0.9416 |
136
- | 0.1557 | 3.0 | 1000 | 0.2679 | 0.9330 |
137
- | 0.1115 | 3.3 | 1100 | 0.2529 | 0.9362 |
138
- | 0.1571 | 3.6 | 1200 | 0.2360 | 0.9469 |
139
- | 0.1079 | 3.9 | 1300 | 0.2139 | 0.9522 |
140
 
141
 
142
  ### Framework versions
143
 
144
- - Transformers 4.20.1
145
  - Pytorch 1.12.0+cu113
146
- - Datasets 2.3.2
147
  - Tokenizers 0.12.1
 
1
  ---
2
  license: apache-2.0
3
  tags:
 
4
  - generated_from_trainer
5
  datasets:
6
  - imagefolder
 
7
  metrics:
8
  - accuracy
 
 
 
 
 
 
 
9
  model-index:
10
  - name: finetuned-indian-food
11
  results:
 
13
  name: Image Classification
14
  type: image-classification
15
  dataset:
16
+ name: imagefolder
17
  type: imagefolder
18
+ config: default
19
+ split: train
20
  args: default
21
  metrics:
22
  - name: Accuracy
23
  type: accuracy
24
+ value: 0.9543039319872476
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  ---
26
 
27
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
29
 
30
  # finetuned-indian-food
31
 
32
+ This model is a fine-tuned version of [google/vit-base-patch16-224-in21k](https://huggingface.co/google/vit-base-patch16-224-in21k) on the imagefolder dataset.
33
  It achieves the following results on the evaluation set:
34
+ - Loss: 0.1918
35
+ - Accuracy: 0.9543
36
 
37
  ## Model description
38
 
 
64
 
65
  | Training Loss | Epoch | Step | Validation Loss | Accuracy |
66
  |:-------------:|:-----:|:----:|:---------------:|:--------:|
67
+ | 1.0175 | 0.3 | 100 | 0.9247 | 0.8629 |
68
+ | 0.7418 | 0.6 | 200 | 0.5536 | 0.8990 |
69
+ | 0.6652 | 0.9 | 300 | 0.4036 | 0.9182 |
70
+ | 0.5959 | 1.2 | 400 | 0.4022 | 0.8980 |
71
+ | 0.4478 | 1.5 | 500 | 0.3247 | 0.9288 |
72
+ | 0.4717 | 1.8 | 600 | 0.3019 | 0.9267 |
73
+ | 0.34 | 2.1 | 700 | 0.2594 | 0.9352 |
74
+ | 0.3518 | 2.4 | 800 | 0.2507 | 0.9352 |
75
+ | 0.3352 | 2.7 | 900 | 0.2484 | 0.9426 |
76
+ | 0.2493 | 3.0 | 1000 | 0.2266 | 0.9394 |
77
+ | 0.2034 | 3.3 | 1100 | 0.2011 | 0.9479 |
78
+ | 0.1753 | 3.6 | 1200 | 0.2089 | 0.9447 |
79
+ | 0.1614 | 3.9 | 1300 | 0.1918 | 0.9543 |
80
 
81
 
82
  ### Framework versions
83
 
84
+ - Transformers 4.21.0
85
  - Pytorch 1.12.0+cu113
86
+ - Datasets 2.4.0
87
  - Tokenizers 0.12.1