rohan4s commited on
Commit
fc8485d
·
verified ·
1 Parent(s): 8cf1974

🍻 cheers

Browse files
README.md CHANGED
@@ -3,6 +3,7 @@ library_name: transformers
3
  license: apache-2.0
4
  base_model: google/vit-base-patch16-224-in21k
5
  tags:
 
6
  - generated_from_trainer
7
  metrics:
8
  - accuracy
@@ -16,7 +17,7 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # finetuned-bangladeshi-traditional-food
18
 
19
- 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.
20
  It achieves the following results on the evaluation set:
21
  - Loss: 0.3867
22
  - Accuracy: 0.9190
 
3
  license: apache-2.0
4
  base_model: google/vit-base-patch16-224-in21k
5
  tags:
6
+ - image-classification
7
  - generated_from_trainer
8
  metrics:
9
  - accuracy
 
17
 
18
  # finetuned-bangladeshi-traditional-food
19
 
20
+ 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.
21
  It achieves the following results on the evaluation set:
22
  - Loss: 0.3867
23
  - Accuracy: 0.9190
all_results.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.9189944134078212,
4
+ "eval_loss": 0.3867419362068176,
5
+ "eval_runtime": 6.2539,
6
+ "eval_samples_per_second": 57.244,
7
+ "eval_steps_per_second": 3.678,
8
+ "total_flos": 6.287051649950024e+17,
9
+ "train_loss": 0.7197832907550037,
10
+ "train_runtime": 268.6443,
11
+ "train_samples_per_second": 30.196,
12
+ "train_steps_per_second": 0.953
13
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "eval_accuracy": 0.9189944134078212,
4
+ "eval_loss": 0.3867419362068176,
5
+ "eval_runtime": 6.2539,
6
+ "eval_samples_per_second": 57.244,
7
+ "eval_steps_per_second": 3.678
8
+ }
runs/Dec08_08-00-19_64968b5b03f4/events.out.tfevents.1733645166.64968b5b03f4.23.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:863153076db16af7877b2771aea097d3f2b278e513763c44a3433a004c7e2fb2
3
+ size 411
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 4.0,
3
+ "total_flos": 6.287051649950024e+17,
4
+ "train_loss": 0.7197832907550037,
5
+ "train_runtime": 268.6443,
6
+ "train_samples_per_second": 30.196,
7
+ "train_steps_per_second": 0.953
8
+ }
trainer_state.json ADDED
@@ -0,0 +1,235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.3867419362068176,
3
+ "best_model_checkpoint": "finetuned-bangladeshi-traditional-food/checkpoint-200",
4
+ "epoch": 4.0,
5
+ "eval_steps": 100,
6
+ "global_step": 256,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.15625,
13
+ "grad_norm": 104808.0078125,
14
+ "learning_rate": 0.0001921875,
15
+ "loss": 2.5683,
16
+ "step": 10
17
+ },
18
+ {
19
+ "epoch": 0.3125,
20
+ "grad_norm": 121324.2109375,
21
+ "learning_rate": 0.000184375,
22
+ "loss": 2.0721,
23
+ "step": 20
24
+ },
25
+ {
26
+ "epoch": 0.46875,
27
+ "grad_norm": 112550.9140625,
28
+ "learning_rate": 0.00017656250000000002,
29
+ "loss": 1.5956,
30
+ "step": 30
31
+ },
32
+ {
33
+ "epoch": 0.625,
34
+ "grad_norm": 90598.2265625,
35
+ "learning_rate": 0.00016875,
36
+ "loss": 1.3772,
37
+ "step": 40
38
+ },
39
+ {
40
+ "epoch": 0.78125,
41
+ "grad_norm": 100583.53125,
42
+ "learning_rate": 0.0001609375,
43
+ "loss": 1.1265,
44
+ "step": 50
45
+ },
46
+ {
47
+ "epoch": 0.9375,
48
+ "grad_norm": 92339.28125,
49
+ "learning_rate": 0.000153125,
50
+ "loss": 1.0868,
51
+ "step": 60
52
+ },
53
+ {
54
+ "epoch": 1.09375,
55
+ "grad_norm": 94877.703125,
56
+ "learning_rate": 0.00014531250000000002,
57
+ "loss": 0.8778,
58
+ "step": 70
59
+ },
60
+ {
61
+ "epoch": 1.25,
62
+ "grad_norm": 129495.6640625,
63
+ "learning_rate": 0.0001375,
64
+ "loss": 0.6839,
65
+ "step": 80
66
+ },
67
+ {
68
+ "epoch": 1.40625,
69
+ "grad_norm": 150202.59375,
70
+ "learning_rate": 0.0001296875,
71
+ "loss": 0.6589,
72
+ "step": 90
73
+ },
74
+ {
75
+ "epoch": 1.5625,
76
+ "grad_norm": 128498.6953125,
77
+ "learning_rate": 0.00012187500000000001,
78
+ "loss": 0.703,
79
+ "step": 100
80
+ },
81
+ {
82
+ "epoch": 1.5625,
83
+ "eval_accuracy": 0.9022346368715084,
84
+ "eval_loss": 0.612750232219696,
85
+ "eval_runtime": 6.1858,
86
+ "eval_samples_per_second": 57.874,
87
+ "eval_steps_per_second": 3.718,
88
+ "step": 100
89
+ },
90
+ {
91
+ "epoch": 1.71875,
92
+ "grad_norm": 172968.234375,
93
+ "learning_rate": 0.0001140625,
94
+ "loss": 0.6179,
95
+ "step": 110
96
+ },
97
+ {
98
+ "epoch": 1.875,
99
+ "grad_norm": 193931.03125,
100
+ "learning_rate": 0.00010625000000000001,
101
+ "loss": 0.5416,
102
+ "step": 120
103
+ },
104
+ {
105
+ "epoch": 2.03125,
106
+ "grad_norm": 100722.890625,
107
+ "learning_rate": 9.84375e-05,
108
+ "loss": 0.4705,
109
+ "step": 130
110
+ },
111
+ {
112
+ "epoch": 2.1875,
113
+ "grad_norm": 111848.0234375,
114
+ "learning_rate": 9.062500000000001e-05,
115
+ "loss": 0.4895,
116
+ "step": 140
117
+ },
118
+ {
119
+ "epoch": 2.34375,
120
+ "grad_norm": 102607.46875,
121
+ "learning_rate": 8.28125e-05,
122
+ "loss": 0.4002,
123
+ "step": 150
124
+ },
125
+ {
126
+ "epoch": 2.5,
127
+ "grad_norm": 228628.328125,
128
+ "learning_rate": 7.500000000000001e-05,
129
+ "loss": 0.3947,
130
+ "step": 160
131
+ },
132
+ {
133
+ "epoch": 2.65625,
134
+ "grad_norm": 144436.234375,
135
+ "learning_rate": 6.71875e-05,
136
+ "loss": 0.3387,
137
+ "step": 170
138
+ },
139
+ {
140
+ "epoch": 2.8125,
141
+ "grad_norm": 218134.15625,
142
+ "learning_rate": 5.9375e-05,
143
+ "loss": 0.3805,
144
+ "step": 180
145
+ },
146
+ {
147
+ "epoch": 2.96875,
148
+ "grad_norm": 132064.421875,
149
+ "learning_rate": 5.15625e-05,
150
+ "loss": 0.3356,
151
+ "step": 190
152
+ },
153
+ {
154
+ "epoch": 3.125,
155
+ "grad_norm": 24524.32421875,
156
+ "learning_rate": 4.375e-05,
157
+ "loss": 0.252,
158
+ "step": 200
159
+ },
160
+ {
161
+ "epoch": 3.125,
162
+ "eval_accuracy": 0.9189944134078212,
163
+ "eval_loss": 0.3867419362068176,
164
+ "eval_runtime": 6.1019,
165
+ "eval_samples_per_second": 58.67,
166
+ "eval_steps_per_second": 3.769,
167
+ "step": 200
168
+ },
169
+ {
170
+ "epoch": 3.28125,
171
+ "grad_norm": 37676.6171875,
172
+ "learning_rate": 3.59375e-05,
173
+ "loss": 0.2721,
174
+ "step": 210
175
+ },
176
+ {
177
+ "epoch": 3.4375,
178
+ "grad_norm": 105781.78125,
179
+ "learning_rate": 2.8125000000000003e-05,
180
+ "loss": 0.2583,
181
+ "step": 220
182
+ },
183
+ {
184
+ "epoch": 3.59375,
185
+ "grad_norm": 42383.23828125,
186
+ "learning_rate": 2.0312500000000002e-05,
187
+ "loss": 0.2163,
188
+ "step": 230
189
+ },
190
+ {
191
+ "epoch": 3.75,
192
+ "grad_norm": 24589.4375,
193
+ "learning_rate": 1.25e-05,
194
+ "loss": 0.2903,
195
+ "step": 240
196
+ },
197
+ {
198
+ "epoch": 3.90625,
199
+ "grad_norm": 235633.53125,
200
+ "learning_rate": 4.6875000000000004e-06,
201
+ "loss": 0.2813,
202
+ "step": 250
203
+ },
204
+ {
205
+ "epoch": 4.0,
206
+ "step": 256,
207
+ "total_flos": 6.287051649950024e+17,
208
+ "train_loss": 0.7197832907550037,
209
+ "train_runtime": 268.6443,
210
+ "train_samples_per_second": 30.196,
211
+ "train_steps_per_second": 0.953
212
+ }
213
+ ],
214
+ "logging_steps": 10,
215
+ "max_steps": 256,
216
+ "num_input_tokens_seen": 0,
217
+ "num_train_epochs": 4,
218
+ "save_steps": 100,
219
+ "stateful_callbacks": {
220
+ "TrainerControl": {
221
+ "args": {
222
+ "should_epoch_stop": false,
223
+ "should_evaluate": false,
224
+ "should_log": false,
225
+ "should_save": true,
226
+ "should_training_stop": true
227
+ },
228
+ "attributes": {}
229
+ }
230
+ },
231
+ "total_flos": 6.287051649950024e+17,
232
+ "train_batch_size": 32,
233
+ "trial_name": null,
234
+ "trial_params": null
235
+ }