pkr7098 commited on
Commit
c354fb9
1 Parent(s): 90e4b7e

Model save

Browse files
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/deit-tiny-patch16-224
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ model-index:
9
+ - name: food101-deit-tiny-patch16-224
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ # food101-deit-tiny-patch16-224
17
+
18
+ This model is a fine-tuned version of [facebook/deit-tiny-patch16-224](https://huggingface.co/facebook/deit-tiny-patch16-224) on an unknown dataset.
19
+ It achieves the following results on the evaluation set:
20
+ - Loss: 0.6538
21
+ - Accuracy: 0.8204
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - learning_rate: 2e-05
41
+ - train_batch_size: 8
42
+ - eval_batch_size: 8
43
+ - seed: 1337
44
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
+ - lr_scheduler_type: linear
46
+ - num_epochs: 10.0
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy |
51
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|
52
+ | 1.7988 | 1.0 | 9469 | 1.4392 | 0.6555 |
53
+ | 1.5581 | 2.0 | 18938 | 1.1165 | 0.7145 |
54
+ | 1.2981 | 3.0 | 28407 | 0.9254 | 0.7558 |
55
+ | 1.4347 | 4.0 | 37876 | 0.8343 | 0.7739 |
56
+ | 0.9679 | 5.0 | 47345 | 0.7731 | 0.7922 |
57
+ | 0.9975 | 6.0 | 56814 | 0.7378 | 0.7998 |
58
+ | 1.0269 | 7.0 | 66283 | 0.7022 | 0.8073 |
59
+ | 0.8969 | 8.0 | 75752 | 0.6865 | 0.8117 |
60
+ | 0.8152 | 9.0 | 85221 | 0.6641 | 0.8194 |
61
+ | 0.7437 | 10.0 | 94690 | 0.6538 | 0.8204 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.38.0
67
+ - Pytorch 2.1.2+cu118
68
+ - Datasets 2.19.1
69
+ - Tokenizers 0.15.2
all_results.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.9035247524752476,
4
+ "eval_loss": 0.38733184337615967,
5
+ "eval_runtime": 228.3973,
6
+ "eval_samples_per_second": 110.553,
7
+ "eval_steps_per_second": 13.822,
8
+ "train_loss": 0.6563277260213383,
9
+ "train_runtime": 13063.3743,
10
+ "train_samples_per_second": 57.987,
11
+ "train_steps_per_second": 7.249
12
+ }
config.json ADDED
@@ -0,0 +1,231 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/deit-tiny-patch16-224",
3
+ "architectures": [
4
+ "ViTForImageClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.0,
7
+ "encoder_stride": 16,
8
+ "finetuning_task": "image-classification",
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.0,
11
+ "hidden_size": 192,
12
+ "id2label": {
13
+ "0": "apple_pie",
14
+ "1": "baby_back_ribs",
15
+ "10": "bruschetta",
16
+ "100": "waffles",
17
+ "11": "caesar_salad",
18
+ "12": "cannoli",
19
+ "13": "caprese_salad",
20
+ "14": "carrot_cake",
21
+ "15": "ceviche",
22
+ "16": "cheesecake",
23
+ "17": "cheese_plate",
24
+ "18": "chicken_curry",
25
+ "19": "chicken_quesadilla",
26
+ "2": "baklava",
27
+ "20": "chicken_wings",
28
+ "21": "chocolate_cake",
29
+ "22": "chocolate_mousse",
30
+ "23": "churros",
31
+ "24": "clam_chowder",
32
+ "25": "club_sandwich",
33
+ "26": "crab_cakes",
34
+ "27": "creme_brulee",
35
+ "28": "croque_madame",
36
+ "29": "cup_cakes",
37
+ "3": "beef_carpaccio",
38
+ "30": "deviled_eggs",
39
+ "31": "donuts",
40
+ "32": "dumplings",
41
+ "33": "edamame",
42
+ "34": "eggs_benedict",
43
+ "35": "escargots",
44
+ "36": "falafel",
45
+ "37": "filet_mignon",
46
+ "38": "fish_and_chips",
47
+ "39": "foie_gras",
48
+ "4": "beef_tartare",
49
+ "40": "french_fries",
50
+ "41": "french_onion_soup",
51
+ "42": "french_toast",
52
+ "43": "fried_calamari",
53
+ "44": "fried_rice",
54
+ "45": "frozen_yogurt",
55
+ "46": "garlic_bread",
56
+ "47": "gnocchi",
57
+ "48": "greek_salad",
58
+ "49": "grilled_cheese_sandwich",
59
+ "5": "beet_salad",
60
+ "50": "grilled_salmon",
61
+ "51": "guacamole",
62
+ "52": "gyoza",
63
+ "53": "hamburger",
64
+ "54": "hot_and_sour_soup",
65
+ "55": "hot_dog",
66
+ "56": "huevos_rancheros",
67
+ "57": "hummus",
68
+ "58": "ice_cream",
69
+ "59": "lasagna",
70
+ "6": "beignets",
71
+ "60": "lobster_bisque",
72
+ "61": "lobster_roll_sandwich",
73
+ "62": "macaroni_and_cheese",
74
+ "63": "macarons",
75
+ "64": "miso_soup",
76
+ "65": "mussels",
77
+ "66": "nachos",
78
+ "67": "omelette",
79
+ "68": "onion_rings",
80
+ "69": "oysters",
81
+ "7": "bibimbap",
82
+ "70": "pad_thai",
83
+ "71": "paella",
84
+ "72": "pancakes",
85
+ "73": "panna_cotta",
86
+ "74": "peking_duck",
87
+ "75": "pho",
88
+ "76": "pizza",
89
+ "77": "pork_chop",
90
+ "78": "poutine",
91
+ "79": "prime_rib",
92
+ "8": "bread_pudding",
93
+ "80": "pulled_pork_sandwich",
94
+ "81": "ramen",
95
+ "82": "ravioli",
96
+ "83": "red_velvet_cake",
97
+ "84": "risotto",
98
+ "85": "samosa",
99
+ "86": "sashimi",
100
+ "87": "scallops",
101
+ "88": "seaweed_salad",
102
+ "89": "shrimp_and_grits",
103
+ "9": "breakfast_burrito",
104
+ "90": "spaghetti_bolognese",
105
+ "91": "spaghetti_carbonara",
106
+ "92": "spring_rolls",
107
+ "93": "steak",
108
+ "94": "strawberry_shortcake",
109
+ "95": "sushi",
110
+ "96": "tacos",
111
+ "97": "takoyaki",
112
+ "98": "tiramisu",
113
+ "99": "tuna_tartare"
114
+ },
115
+ "image_size": 224,
116
+ "initializer_range": 0.02,
117
+ "intermediate_size": 768,
118
+ "label2id": {
119
+ "apple_pie": "0",
120
+ "baby_back_ribs": "1",
121
+ "baklava": "2",
122
+ "beef_carpaccio": "3",
123
+ "beef_tartare": "4",
124
+ "beet_salad": "5",
125
+ "beignets": "6",
126
+ "bibimbap": "7",
127
+ "bread_pudding": "8",
128
+ "breakfast_burrito": "9",
129
+ "bruschetta": "10",
130
+ "caesar_salad": "11",
131
+ "cannoli": "12",
132
+ "caprese_salad": "13",
133
+ "carrot_cake": "14",
134
+ "ceviche": "15",
135
+ "cheese_plate": "17",
136
+ "cheesecake": "16",
137
+ "chicken_curry": "18",
138
+ "chicken_quesadilla": "19",
139
+ "chicken_wings": "20",
140
+ "chocolate_cake": "21",
141
+ "chocolate_mousse": "22",
142
+ "churros": "23",
143
+ "clam_chowder": "24",
144
+ "club_sandwich": "25",
145
+ "crab_cakes": "26",
146
+ "creme_brulee": "27",
147
+ "croque_madame": "28",
148
+ "cup_cakes": "29",
149
+ "deviled_eggs": "30",
150
+ "donuts": "31",
151
+ "dumplings": "32",
152
+ "edamame": "33",
153
+ "eggs_benedict": "34",
154
+ "escargots": "35",
155
+ "falafel": "36",
156
+ "filet_mignon": "37",
157
+ "fish_and_chips": "38",
158
+ "foie_gras": "39",
159
+ "french_fries": "40",
160
+ "french_onion_soup": "41",
161
+ "french_toast": "42",
162
+ "fried_calamari": "43",
163
+ "fried_rice": "44",
164
+ "frozen_yogurt": "45",
165
+ "garlic_bread": "46",
166
+ "gnocchi": "47",
167
+ "greek_salad": "48",
168
+ "grilled_cheese_sandwich": "49",
169
+ "grilled_salmon": "50",
170
+ "guacamole": "51",
171
+ "gyoza": "52",
172
+ "hamburger": "53",
173
+ "hot_and_sour_soup": "54",
174
+ "hot_dog": "55",
175
+ "huevos_rancheros": "56",
176
+ "hummus": "57",
177
+ "ice_cream": "58",
178
+ "lasagna": "59",
179
+ "lobster_bisque": "60",
180
+ "lobster_roll_sandwich": "61",
181
+ "macaroni_and_cheese": "62",
182
+ "macarons": "63",
183
+ "miso_soup": "64",
184
+ "mussels": "65",
185
+ "nachos": "66",
186
+ "omelette": "67",
187
+ "onion_rings": "68",
188
+ "oysters": "69",
189
+ "pad_thai": "70",
190
+ "paella": "71",
191
+ "pancakes": "72",
192
+ "panna_cotta": "73",
193
+ "peking_duck": "74",
194
+ "pho": "75",
195
+ "pizza": "76",
196
+ "pork_chop": "77",
197
+ "poutine": "78",
198
+ "prime_rib": "79",
199
+ "pulled_pork_sandwich": "80",
200
+ "ramen": "81",
201
+ "ravioli": "82",
202
+ "red_velvet_cake": "83",
203
+ "risotto": "84",
204
+ "samosa": "85",
205
+ "sashimi": "86",
206
+ "scallops": "87",
207
+ "seaweed_salad": "88",
208
+ "shrimp_and_grits": "89",
209
+ "spaghetti_bolognese": "90",
210
+ "spaghetti_carbonara": "91",
211
+ "spring_rolls": "92",
212
+ "steak": "93",
213
+ "strawberry_shortcake": "94",
214
+ "sushi": "95",
215
+ "tacos": "96",
216
+ "takoyaki": "97",
217
+ "tiramisu": "98",
218
+ "tuna_tartare": "99",
219
+ "waffles": "100"
220
+ },
221
+ "layer_norm_eps": 1e-12,
222
+ "model_type": "vit",
223
+ "num_attention_heads": 3,
224
+ "num_channels": 3,
225
+ "num_hidden_layers": 12,
226
+ "patch_size": 16,
227
+ "problem_type": "single_label_classification",
228
+ "qkv_bias": true,
229
+ "torch_dtype": "float32",
230
+ "transformers_version": "4.38.0"
231
+ }
eval_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "eval_accuracy": 0.9035247524752476,
4
+ "eval_loss": 0.38733184337615967,
5
+ "eval_runtime": 228.3973,
6
+ "eval_samples_per_second": 110.553,
7
+ "eval_steps_per_second": 13.822
8
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2e4cbbd027d03653bf7d36183c9cabc69a64ba78695a4fa9af93c5e2782ba40
3
+ size 22198364
preprocessor_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_normalize": true,
3
+ "do_rescale": true,
4
+ "do_resize": true,
5
+ "image_mean": [
6
+ 0.5,
7
+ 0.5,
8
+ 0.5
9
+ ],
10
+ "image_processor_type": "ViTImageProcessor",
11
+ "image_std": [
12
+ 0.5,
13
+ 0.5,
14
+ 0.5
15
+ ],
16
+ "resample": 2,
17
+ "rescale_factor": 0.00392156862745098,
18
+ "size": {
19
+ "height": 224,
20
+ "width": 224
21
+ }
22
+ }
runs/Aug10_14-54-37_kwangryeol-OMEN-30L-Desktop-GT13-1xxx/events.out.tfevents.1723269285.kwangryeol-OMEN-30L-Desktop-GT13-1xxx.3540755.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8cf1b102f71cbddea549df2ce4b10991ef601ca5dbe8cff375cf065a8614afc
3
+ size 20329
runs/Aug12_14-38-34_kwangryeol-OMEN-30L-Desktop-GT13-1xxx/events.out.tfevents.1723441125.kwangryeol-OMEN-30L-Desktop-GT13-1xxx.339363.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02285239099ff4aeb5589287dea37b95d52445a3b9275c458af27d2ee5ed0011
3
+ size 2042494
runs/Aug12_14-38-34_kwangryeol-OMEN-30L-Desktop-GT13-1xxx/events.out.tfevents.1723454450.kwangryeol-OMEN-30L-Desktop-GT13-1xxx.339363.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f80c657faf420c2cc568e5bb26549d75ffc9660e85c2a4b2b3e258da905e3db9
3
+ size 417
runs/Aug13_11-17-46_kwangryeol-OMEN-30L-Desktop-GT13-1xxx/events.out.tfevents.1723515475.kwangryeol-OMEN-30L-Desktop-GT13-1xxx.1052785.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:451eb57fcd068cf3b6bac42dce793c02a16c453a01dd49e69ac58311952081d2
3
+ size 2042495
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 10.0,
3
+ "train_loss": 0.6563277260213383,
4
+ "train_runtime": 13063.3743,
5
+ "train_samples_per_second": 57.987,
6
+ "train_steps_per_second": 7.249
7
+ }
trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cf24294da76a49e6a005410248b8267b2a83dae81dcace407e03470c874a3f12
3
+ size 5048