dima806's picture
Upload folder using huggingface_hub
f0cbdaf
raw
history blame
2.09 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": "lemon",
"1": "orange",
"2": "beetroot",
"3": "mango",
"4": "chilli pepper",
"5": "banana",
"6": "cauliflower",
"7": "cucumber",
"8": "raddish",
"9": "grapes",
"10": "corn",
"11": "pomegranate",
"12": "bell pepper",
"13": "peas",
"14": "pear",
"15": "sweetpotato",
"16": "carrot",
"17": "capsicum",
"18": "spinach",
"19": "apple",
"20": "eggplant",
"21": "tomato",
"22": "paprika",
"23": "ginger",
"24": "pineapple",
"25": "garlic",
"26": "soy beans",
"27": "watermelon",
"28": "cabbage",
"29": "potato",
"30": "lettuce",
"31": "sweetcorn",
"32": "onion",
"33": "turnip",
"34": "jalepeno",
"35": "kiwi"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"apple": 19,
"banana": 5,
"beetroot": 2,
"bell pepper": 12,
"cabbage": 28,
"capsicum": 17,
"carrot": 16,
"cauliflower": 6,
"chilli pepper": 4,
"corn": 10,
"cucumber": 7,
"eggplant": 20,
"garlic": 25,
"ginger": 23,
"grapes": 9,
"jalepeno": 34,
"kiwi": 35,
"lemon": 0,
"lettuce": 30,
"mango": 3,
"onion": 32,
"orange": 1,
"paprika": 22,
"pear": 14,
"peas": 13,
"pineapple": 24,
"pomegranate": 11,
"potato": 29,
"raddish": 8,
"soy beans": 26,
"spinach": 18,
"sweetcorn": 31,
"sweetpotato": 15,
"tomato": 21,
"turnip": 33,
"watermelon": 27
},
"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.32.1"
}