End of training
Browse files
README.md
ADDED
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: timm/mobilenetv4_conv_small.e2400_r224_in1k
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
model-index:
|
10 |
+
- name: my_awesome_food_model
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# my_awesome_food_model
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [timm/mobilenetv4_conv_small.e2400_r224_in1k](https://huggingface.co/timm/mobilenetv4_conv_small.e2400_r224_in1k) on an unknown dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 0.5888
|
22 |
+
- Accuracy: 0.825
|
23 |
+
|
24 |
+
## Model description
|
25 |
+
|
26 |
+
More information needed
|
27 |
+
|
28 |
+
## Intended uses & limitations
|
29 |
+
|
30 |
+
More information needed
|
31 |
+
|
32 |
+
## Training and evaluation data
|
33 |
+
|
34 |
+
More information needed
|
35 |
+
|
36 |
+
## Training procedure
|
37 |
+
|
38 |
+
### Training hyperparameters
|
39 |
+
|
40 |
+
The following hyperparameters were used during training:
|
41 |
+
- learning_rate: 5e-05
|
42 |
+
- train_batch_size: 16
|
43 |
+
- eval_batch_size: 16
|
44 |
+
- seed: 42
|
45 |
+
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
46 |
+
- lr_scheduler_type: linear
|
47 |
+
- lr_scheduler_warmup_ratio: 0.1
|
48 |
+
- num_epochs: 3
|
49 |
+
|
50 |
+
### Training results
|
51 |
+
|
52 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
+
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
54 |
+
| No log | 1.0 | 250 | 0.9502 | 0.767 |
|
55 |
+
| 1.8035 | 2.0 | 500 | 0.6483 | 0.814 |
|
56 |
+
| 1.8035 | 3.0 | 750 | 0.5888 | 0.825 |
|
57 |
+
|
58 |
+
|
59 |
+
### Framework versions
|
60 |
+
|
61 |
+
- Transformers 4.48.0.dev0
|
62 |
+
- Pytorch 2.5.0+cu118
|
63 |
+
- Datasets 2.21.0
|
64 |
+
- Tokenizers 0.21.0
|
config.json
ADDED
@@ -0,0 +1,256 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "timm/mobilenetv4_conv_small.e2400_r224_in1k",
|
3 |
+
"architecture": "mobilenetv4_conv_small",
|
4 |
+
"architectures": [
|
5 |
+
"TimmWrapperForImageClassification"
|
6 |
+
],
|
7 |
+
"do_pooling": true,
|
8 |
+
"id2label": {
|
9 |
+
"0": "apple_pie",
|
10 |
+
"1": "baby_back_ribs",
|
11 |
+
"10": "bruschetta",
|
12 |
+
"100": "waffles",
|
13 |
+
"11": "caesar_salad",
|
14 |
+
"12": "cannoli",
|
15 |
+
"13": "caprese_salad",
|
16 |
+
"14": "carrot_cake",
|
17 |
+
"15": "ceviche",
|
18 |
+
"16": "cheesecake",
|
19 |
+
"17": "cheese_plate",
|
20 |
+
"18": "chicken_curry",
|
21 |
+
"19": "chicken_quesadilla",
|
22 |
+
"2": "baklava",
|
23 |
+
"20": "chicken_wings",
|
24 |
+
"21": "chocolate_cake",
|
25 |
+
"22": "chocolate_mousse",
|
26 |
+
"23": "churros",
|
27 |
+
"24": "clam_chowder",
|
28 |
+
"25": "club_sandwich",
|
29 |
+
"26": "crab_cakes",
|
30 |
+
"27": "creme_brulee",
|
31 |
+
"28": "croque_madame",
|
32 |
+
"29": "cup_cakes",
|
33 |
+
"3": "beef_carpaccio",
|
34 |
+
"30": "deviled_eggs",
|
35 |
+
"31": "donuts",
|
36 |
+
"32": "dumplings",
|
37 |
+
"33": "edamame",
|
38 |
+
"34": "eggs_benedict",
|
39 |
+
"35": "escargots",
|
40 |
+
"36": "falafel",
|
41 |
+
"37": "filet_mignon",
|
42 |
+
"38": "fish_and_chips",
|
43 |
+
"39": "foie_gras",
|
44 |
+
"4": "beef_tartare",
|
45 |
+
"40": "french_fries",
|
46 |
+
"41": "french_onion_soup",
|
47 |
+
"42": "french_toast",
|
48 |
+
"43": "fried_calamari",
|
49 |
+
"44": "fried_rice",
|
50 |
+
"45": "frozen_yogurt",
|
51 |
+
"46": "garlic_bread",
|
52 |
+
"47": "gnocchi",
|
53 |
+
"48": "greek_salad",
|
54 |
+
"49": "grilled_cheese_sandwich",
|
55 |
+
"5": "beet_salad",
|
56 |
+
"50": "grilled_salmon",
|
57 |
+
"51": "guacamole",
|
58 |
+
"52": "gyoza",
|
59 |
+
"53": "hamburger",
|
60 |
+
"54": "hot_and_sour_soup",
|
61 |
+
"55": "hot_dog",
|
62 |
+
"56": "huevos_rancheros",
|
63 |
+
"57": "hummus",
|
64 |
+
"58": "ice_cream",
|
65 |
+
"59": "lasagna",
|
66 |
+
"6": "beignets",
|
67 |
+
"60": "lobster_bisque",
|
68 |
+
"61": "lobster_roll_sandwich",
|
69 |
+
"62": "macaroni_and_cheese",
|
70 |
+
"63": "macarons",
|
71 |
+
"64": "miso_soup",
|
72 |
+
"65": "mussels",
|
73 |
+
"66": "nachos",
|
74 |
+
"67": "omelette",
|
75 |
+
"68": "onion_rings",
|
76 |
+
"69": "oysters",
|
77 |
+
"7": "bibimbap",
|
78 |
+
"70": "pad_thai",
|
79 |
+
"71": "paella",
|
80 |
+
"72": "pancakes",
|
81 |
+
"73": "panna_cotta",
|
82 |
+
"74": "peking_duck",
|
83 |
+
"75": "pho",
|
84 |
+
"76": "pizza",
|
85 |
+
"77": "pork_chop",
|
86 |
+
"78": "poutine",
|
87 |
+
"79": "prime_rib",
|
88 |
+
"8": "bread_pudding",
|
89 |
+
"80": "pulled_pork_sandwich",
|
90 |
+
"81": "ramen",
|
91 |
+
"82": "ravioli",
|
92 |
+
"83": "red_velvet_cake",
|
93 |
+
"84": "risotto",
|
94 |
+
"85": "samosa",
|
95 |
+
"86": "sashimi",
|
96 |
+
"87": "scallops",
|
97 |
+
"88": "seaweed_salad",
|
98 |
+
"89": "shrimp_and_grits",
|
99 |
+
"9": "breakfast_burrito",
|
100 |
+
"90": "spaghetti_bolognese",
|
101 |
+
"91": "spaghetti_carbonara",
|
102 |
+
"92": "spring_rolls",
|
103 |
+
"93": "steak",
|
104 |
+
"94": "strawberry_shortcake",
|
105 |
+
"95": "sushi",
|
106 |
+
"96": "tacos",
|
107 |
+
"97": "takoyaki",
|
108 |
+
"98": "tiramisu",
|
109 |
+
"99": "tuna_tartare"
|
110 |
+
},
|
111 |
+
"initializer_range": 0.02,
|
112 |
+
"label2id": {
|
113 |
+
"apple_pie": "0",
|
114 |
+
"baby_back_ribs": "1",
|
115 |
+
"baklava": "2",
|
116 |
+
"beef_carpaccio": "3",
|
117 |
+
"beef_tartare": "4",
|
118 |
+
"beet_salad": "5",
|
119 |
+
"beignets": "6",
|
120 |
+
"bibimbap": "7",
|
121 |
+
"bread_pudding": "8",
|
122 |
+
"breakfast_burrito": "9",
|
123 |
+
"bruschetta": "10",
|
124 |
+
"caesar_salad": "11",
|
125 |
+
"cannoli": "12",
|
126 |
+
"caprese_salad": "13",
|
127 |
+
"carrot_cake": "14",
|
128 |
+
"ceviche": "15",
|
129 |
+
"cheese_plate": "17",
|
130 |
+
"cheesecake": "16",
|
131 |
+
"chicken_curry": "18",
|
132 |
+
"chicken_quesadilla": "19",
|
133 |
+
"chicken_wings": "20",
|
134 |
+
"chocolate_cake": "21",
|
135 |
+
"chocolate_mousse": "22",
|
136 |
+
"churros": "23",
|
137 |
+
"clam_chowder": "24",
|
138 |
+
"club_sandwich": "25",
|
139 |
+
"crab_cakes": "26",
|
140 |
+
"creme_brulee": "27",
|
141 |
+
"croque_madame": "28",
|
142 |
+
"cup_cakes": "29",
|
143 |
+
"deviled_eggs": "30",
|
144 |
+
"donuts": "31",
|
145 |
+
"dumplings": "32",
|
146 |
+
"edamame": "33",
|
147 |
+
"eggs_benedict": "34",
|
148 |
+
"escargots": "35",
|
149 |
+
"falafel": "36",
|
150 |
+
"filet_mignon": "37",
|
151 |
+
"fish_and_chips": "38",
|
152 |
+
"foie_gras": "39",
|
153 |
+
"french_fries": "40",
|
154 |
+
"french_onion_soup": "41",
|
155 |
+
"french_toast": "42",
|
156 |
+
"fried_calamari": "43",
|
157 |
+
"fried_rice": "44",
|
158 |
+
"frozen_yogurt": "45",
|
159 |
+
"garlic_bread": "46",
|
160 |
+
"gnocchi": "47",
|
161 |
+
"greek_salad": "48",
|
162 |
+
"grilled_cheese_sandwich": "49",
|
163 |
+
"grilled_salmon": "50",
|
164 |
+
"guacamole": "51",
|
165 |
+
"gyoza": "52",
|
166 |
+
"hamburger": "53",
|
167 |
+
"hot_and_sour_soup": "54",
|
168 |
+
"hot_dog": "55",
|
169 |
+
"huevos_rancheros": "56",
|
170 |
+
"hummus": "57",
|
171 |
+
"ice_cream": "58",
|
172 |
+
"lasagna": "59",
|
173 |
+
"lobster_bisque": "60",
|
174 |
+
"lobster_roll_sandwich": "61",
|
175 |
+
"macaroni_and_cheese": "62",
|
176 |
+
"macarons": "63",
|
177 |
+
"miso_soup": "64",
|
178 |
+
"mussels": "65",
|
179 |
+
"nachos": "66",
|
180 |
+
"omelette": "67",
|
181 |
+
"onion_rings": "68",
|
182 |
+
"oysters": "69",
|
183 |
+
"pad_thai": "70",
|
184 |
+
"paella": "71",
|
185 |
+
"pancakes": "72",
|
186 |
+
"panna_cotta": "73",
|
187 |
+
"peking_duck": "74",
|
188 |
+
"pho": "75",
|
189 |
+
"pizza": "76",
|
190 |
+
"pork_chop": "77",
|
191 |
+
"poutine": "78",
|
192 |
+
"prime_rib": "79",
|
193 |
+
"pulled_pork_sandwich": "80",
|
194 |
+
"ramen": "81",
|
195 |
+
"ravioli": "82",
|
196 |
+
"red_velvet_cake": "83",
|
197 |
+
"risotto": "84",
|
198 |
+
"samosa": "85",
|
199 |
+
"sashimi": "86",
|
200 |
+
"scallops": "87",
|
201 |
+
"seaweed_salad": "88",
|
202 |
+
"shrimp_and_grits": "89",
|
203 |
+
"spaghetti_bolognese": "90",
|
204 |
+
"spaghetti_carbonara": "91",
|
205 |
+
"spring_rolls": "92",
|
206 |
+
"steak": "93",
|
207 |
+
"strawberry_shortcake": "94",
|
208 |
+
"sushi": "95",
|
209 |
+
"tacos": "96",
|
210 |
+
"takoyaki": "97",
|
211 |
+
"tiramisu": "98",
|
212 |
+
"tuna_tartare": "99",
|
213 |
+
"waffles": "100"
|
214 |
+
},
|
215 |
+
"model_type": "timm_wrapper",
|
216 |
+
"num_classes": 101,
|
217 |
+
"num_features": 960,
|
218 |
+
"pretrained_cfg": {
|
219 |
+
"classifier": "classifier",
|
220 |
+
"crop_mode": "center",
|
221 |
+
"crop_pct": 0.875,
|
222 |
+
"custom_load": false,
|
223 |
+
"first_conv": "conv_stem",
|
224 |
+
"fixed_input_size": false,
|
225 |
+
"input_size": [
|
226 |
+
3,
|
227 |
+
224,
|
228 |
+
224
|
229 |
+
],
|
230 |
+
"interpolation": "bicubic",
|
231 |
+
"mean": [
|
232 |
+
0.485,
|
233 |
+
0.456,
|
234 |
+
0.406
|
235 |
+
],
|
236 |
+
"pool_size": [
|
237 |
+
7,
|
238 |
+
7
|
239 |
+
],
|
240 |
+
"std": [
|
241 |
+
0.229,
|
242 |
+
0.224,
|
243 |
+
0.225
|
244 |
+
],
|
245 |
+
"tag": "e2400_r224_in1k",
|
246 |
+
"test_crop_pct": 0.95,
|
247 |
+
"test_input_size": [
|
248 |
+
3,
|
249 |
+
256,
|
250 |
+
256
|
251 |
+
]
|
252 |
+
},
|
253 |
+
"problem_type": "single_label_classification",
|
254 |
+
"torch_dtype": "float32",
|
255 |
+
"transformers_version": "4.48.0.dev0"
|
256 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c9160bddbdd22eb8486688a3409c8f03d7a6eb6cd20dcf4f156c8863dba7400
|
3 |
+
size 10616564
|
runs/Dec13_11-24-26_ip-10-90-1-182/events.out.tfevents.1734089067.ip-10-90-1-182.145671.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d6534fe4641832fa20ee4f882b045aa97793ca88cfda20427f8e48e129fefbb3
|
3 |
+
size 10285
|
runs/Dec13_11-36-18_ip-10-90-1-182/events.out.tfevents.1734089779.ip-10-90-1-182.146648.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dadcd3c9e425724b7baa8f25a96731fdc93173bff9147caf52a1cfe4de8344e8
|
3 |
+
size 11819
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:62f979f848ebf7abf62b962f98331d1931721e2acdf587fb0b3ad8655cc4490d
|
3 |
+
size 5368
|