swin-food102 / config.json
juliensimon's picture
juliensimon HF staff
End of training
3393419
raw
history blame
No virus
5.93 kB
{
"_name_or_path": "juliensimon/autotrain-food101-1471154053",
"architectures": [
"SwinForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"depths": [
2,
2,
18,
2
],
"drop_path_rate": 0.1,
"embed_dim": 128,
"encoder_stride": 32,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 1024,
"id2label": {
"0": "apple_pie",
"1": "baby_back_ribs",
"10": "breakfast_burrito",
"100": "tuna_tartare",
"101": "waffles",
"11": "bruschetta",
"12": "caesar_salad",
"13": "cannoli",
"14": "caprese_salad",
"15": "carrot_cake",
"16": "ceviche",
"17": "cheese_plate",
"18": "cheesecake",
"19": "chicken_curry",
"2": "baklava",
"20": "chicken_quesadilla",
"21": "chicken_wings",
"22": "chocolate_cake",
"23": "chocolate_mousse",
"24": "churros",
"25": "clam_chowder",
"26": "club_sandwich",
"27": "crab_cakes",
"28": "creme_brulee",
"29": "croque_madame",
"3": "beef_carpaccio",
"30": "cup_cakes",
"31": "deviled_eggs",
"32": "donuts",
"33": "dumplings",
"34": "edamame",
"35": "eggs_benedict",
"36": "escargots",
"37": "falafel",
"38": "filet_mignon",
"39": "fish_and_chips",
"4": "beef_tartare",
"40": "foie_gras",
"41": "french_fries",
"42": "french_onion_soup",
"43": "french_toast",
"44": "fried_calamari",
"45": "fried_rice",
"46": "frozen_yogurt",
"47": "garlic_bread",
"48": "gnocchi",
"49": "greek_salad",
"5": "beet_salad",
"50": "grilled_cheese_sandwich",
"51": "grilled_salmon",
"52": "guacamole",
"53": "gyoza",
"54": "hamburger",
"55": "hot_and_sour_soup",
"56": "hot_dog",
"57": "huevos_rancheros",
"58": "hummus",
"59": "ice_cream",
"6": "beignets",
"60": "lasagna",
"61": "lobster_bisque",
"62": "lobster_roll_sandwich",
"63": "macaroni_and_cheese",
"64": "macarons",
"65": "miso_soup",
"66": "mussels",
"67": "nachos",
"68": "omelette",
"69": "onion_rings",
"7": "bibimbap",
"70": "oysters",
"71": "pad_thai",
"72": "paella",
"73": "pancakes",
"74": "panna_cotta",
"75": "peking_duck",
"76": "pho",
"77": "pizza",
"78": "pork_chop",
"79": "poutine",
"8": "boeuf_bourguignon",
"80": "prime_rib",
"81": "pulled_pork_sandwich",
"82": "ramen",
"83": "ravioli",
"84": "red_velvet_cake",
"85": "risotto",
"86": "samosa",
"87": "sashimi",
"88": "scallops",
"89": "seaweed_salad",
"9": "bread_pudding",
"90": "shrimp_and_grits",
"91": "spaghetti_bolognese",
"92": "spaghetti_carbonara",
"93": "spring_rolls",
"94": "steak",
"95": "strawberry_shortcake",
"96": "sushi",
"97": "tacos",
"98": "takoyaki",
"99": "tiramisu"
},
"image_size": 224,
"initializer_range": 0.02,
"label2id": {
"apple_pie": "0",
"baby_back_ribs": "1",
"baklava": "2",
"beef_carpaccio": "3",
"beef_tartare": "4",
"beet_salad": "5",
"beignets": "6",
"bibimbap": "7",
"boeuf_bourguignon": "8",
"bread_pudding": "9",
"breakfast_burrito": "10",
"bruschetta": "11",
"caesar_salad": "12",
"cannoli": "13",
"caprese_salad": "14",
"carrot_cake": "15",
"ceviche": "16",
"cheese_plate": "17",
"cheesecake": "18",
"chicken_curry": "19",
"chicken_quesadilla": "20",
"chicken_wings": "21",
"chocolate_cake": "22",
"chocolate_mousse": "23",
"churros": "24",
"clam_chowder": "25",
"club_sandwich": "26",
"crab_cakes": "27",
"creme_brulee": "28",
"croque_madame": "29",
"cup_cakes": "30",
"deviled_eggs": "31",
"donuts": "32",
"dumplings": "33",
"edamame": "34",
"eggs_benedict": "35",
"escargots": "36",
"falafel": "37",
"filet_mignon": "38",
"fish_and_chips": "39",
"foie_gras": "40",
"french_fries": "41",
"french_onion_soup": "42",
"french_toast": "43",
"fried_calamari": "44",
"fried_rice": "45",
"frozen_yogurt": "46",
"garlic_bread": "47",
"gnocchi": "48",
"greek_salad": "49",
"grilled_cheese_sandwich": "50",
"grilled_salmon": "51",
"guacamole": "52",
"gyoza": "53",
"hamburger": "54",
"hot_and_sour_soup": "55",
"hot_dog": "56",
"huevos_rancheros": "57",
"hummus": "58",
"ice_cream": "59",
"lasagna": "60",
"lobster_bisque": "61",
"lobster_roll_sandwich": "62",
"macaroni_and_cheese": "63",
"macarons": "64",
"miso_soup": "65",
"mussels": "66",
"nachos": "67",
"omelette": "68",
"onion_rings": "69",
"oysters": "70",
"pad_thai": "71",
"paella": "72",
"pancakes": "73",
"panna_cotta": "74",
"peking_duck": "75",
"pho": "76",
"pizza": "77",
"pork_chop": "78",
"poutine": "79",
"prime_rib": "80",
"pulled_pork_sandwich": "81",
"ramen": "82",
"ravioli": "83",
"red_velvet_cake": "84",
"risotto": "85",
"samosa": "86",
"sashimi": "87",
"scallops": "88",
"seaweed_salad": "89",
"shrimp_and_grits": "90",
"spaghetti_bolognese": "91",
"spaghetti_carbonara": "92",
"spring_rolls": "93",
"steak": "94",
"strawberry_shortcake": "95",
"sushi": "96",
"tacos": "97",
"takoyaki": "98",
"tiramisu": "99",
"tuna_tartare": "100",
"waffles": "101"
},
"layer_norm_eps": 1e-05,
"max_length": 128,
"mlp_ratio": 4.0,
"model_type": "swin",
"num_channels": 3,
"num_heads": [
4,
8,
16,
32
],
"num_layers": 4,
"padding": "max_length",
"patch_size": 4,
"path_norm": true,
"problem_type": "single_label_classification",
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.23.1",
"use_absolute_embeddings": false,
"window_size": 7
}