|
{ |
|
"_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": "apple", |
|
"1": "apricot", |
|
"10": "cantaloupe", |
|
"11": "carrot", |
|
"12": "cauliflower", |
|
"13": "celery", |
|
"14": "cherry", |
|
"15": "coconut", |
|
"16": "corn", |
|
"17": "cranberry", |
|
"18": "cucumber", |
|
"19": "date", |
|
"2": "asparagus", |
|
"20": "dragon_fruit", |
|
"21": "eggplant", |
|
"22": "fig", |
|
"23": "grape", |
|
"24": "grapefruit", |
|
"25": "guava", |
|
"26": "honeydew", |
|
"27": "kiwi", |
|
"28": "leek", |
|
"29": "lettuce", |
|
"3": "avocado", |
|
"30": "mango", |
|
"31": "nectarine", |
|
"32": "orange", |
|
"33": "papaya", |
|
"34": "passion_fruit", |
|
"35": "pea", |
|
"36": "peach", |
|
"37": "pear", |
|
"38": "pineapple", |
|
"39": "plum", |
|
"4": "banana", |
|
"40": "pomegranate", |
|
"41": "potato", |
|
"42": "radish", |
|
"43": "raspberry", |
|
"44": "spinach", |
|
"45": "strawberry", |
|
"46": "sweet_potato", |
|
"47": "tomato", |
|
"48": "watermelon", |
|
"49": "zucchini", |
|
"5": "bell_pepper", |
|
"6": "blackberry", |
|
"7": "blueberry", |
|
"8": "broccoli", |
|
"9": "cabbage" |
|
}, |
|
"image_size": 224, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"apple": "0", |
|
"apricot": "1", |
|
"asparagus": "2", |
|
"avocado": "3", |
|
"banana": "4", |
|
"bell_pepper": "5", |
|
"blackberry": "6", |
|
"blueberry": "7", |
|
"broccoli": "8", |
|
"cabbage": "9", |
|
"cantaloupe": "10", |
|
"carrot": "11", |
|
"cauliflower": "12", |
|
"celery": "13", |
|
"cherry": "14", |
|
"coconut": "15", |
|
"corn": "16", |
|
"cranberry": "17", |
|
"cucumber": "18", |
|
"date": "19", |
|
"dragon_fruit": "20", |
|
"eggplant": "21", |
|
"fig": "22", |
|
"grape": "23", |
|
"grapefruit": "24", |
|
"guava": "25", |
|
"honeydew": "26", |
|
"kiwi": "27", |
|
"leek": "28", |
|
"lettuce": "29", |
|
"mango": "30", |
|
"nectarine": "31", |
|
"orange": "32", |
|
"papaya": "33", |
|
"passion_fruit": "34", |
|
"pea": "35", |
|
"peach": "36", |
|
"pear": "37", |
|
"pineapple": "38", |
|
"plum": "39", |
|
"pomegranate": "40", |
|
"potato": "41", |
|
"radish": "42", |
|
"raspberry": "43", |
|
"spinach": "44", |
|
"strawberry": "45", |
|
"sweet_potato": "46", |
|
"tomato": "47", |
|
"watermelon": "48", |
|
"zucchini": "49" |
|
}, |
|
"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.35.2" |
|
} |
|
|