fruit-classifier / config.json
ivandrian11's picture
Training in progress, step 500
d304711 verified
raw
history blame
1.97 kB
{
"_name_or_path": "google/vit-base-patch16-224-in21k",
"architectures": [
"ViTForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"encoder_stride": 16,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "acerolas",
"1": "apples",
"10": "figs",
"11": "grapefruits",
"12": "grapes",
"13": "guava",
"14": "kiwifruit",
"15": "lemons",
"16": "limes",
"17": "mangos",
"18": "olives",
"19": "oranges",
"2": "apricots",
"20": "passionfruit",
"21": "peaches",
"22": "pears",
"23": "pineapples",
"24": "plums",
"25": "pomegranates",
"26": "raspberries",
"27": "strawberries",
"28": "tomatoes",
"29": "watermelons",
"3": "avocados",
"4": "bananas",
"5": "blackberries",
"6": "blueberries",
"7": "cantaloupes",
"8": "cherries",
"9": "coconuts"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"acerolas": "0",
"apples": "1",
"apricots": "2",
"avocados": "3",
"bananas": "4",
"blackberries": "5",
"blueberries": "6",
"cantaloupes": "7",
"cherries": "8",
"coconuts": "9",
"figs": "10",
"grapefruits": "11",
"grapes": "12",
"guava": "13",
"kiwifruit": "14",
"lemons": "15",
"limes": "16",
"mangos": "17",
"olives": "18",
"oranges": "19",
"passionfruit": "20",
"peaches": "21",
"pears": "22",
"pineapples": "23",
"plums": "24",
"pomegranates": "25",
"raspberries": "26",
"strawberries": "27",
"tomatoes": "28",
"watermelons": "29"
},
"layer_norm_eps": 1e-12,
"model_type": "vit",
"num_attention_heads": 12,
"num_channels": 3,
"num_hidden_layers": 12,
"patch_size": 16,
"problem_type": "single_label_classification",
"qkv_bias": true,
"torch_dtype": "float32",
"transformers_version": "4.38.2"
}