plant-identity / config.json
umutbozdag's picture
commit files to HF hub
dbe074c
raw
history blame
No virus
1.57 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": "Aloe vera",
"1": "Bamboo",
"10": "Orchids",
"11": "Peace lily",
"12": "Philodendron",
"13": "Pothos",
"14": "Rosemary",
"15": "Rubber plant",
"16": "Snake plant",
"17": "Spider plant",
"18": "Succulents",
"19": "ZZ plant",
"2": "Basil",
"3": "Boston fern",
"4": "English ivy",
"5": "Ficus",
"6": "Fiddle leaf fig",
"7": "Lavender",
"8": "Mint",
"9": "Monstera deliciosa"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"Aloe vera": "0",
"Bamboo": "1",
"Basil": "2",
"Boston fern": "3",
"English ivy": "4",
"Ficus": "5",
"Fiddle leaf fig": "6",
"Lavender": "7",
"Mint": "8",
"Monstera deliciosa": "9",
"Orchids": "10",
"Peace lily": "11",
"Philodendron": "12",
"Pothos": "13",
"Rosemary": "14",
"Rubber plant": "15",
"Snake plant": "16",
"Spider plant": "17",
"Succulents": "18",
"ZZ plant": "19"
},
"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.42.4"
}