herbal_identification / config.json
LongLe3102000's picture
Upload ViTForImageClassification
e92b91d verified
{
"_name_or_path": "/content/drive/MyDrive/Herb identification/model",
"architectures": [
"ViTForImageClassification"
],
"attention_probs_dropout_prob": 0.0,
"encoder_stride": 16,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 768,
"id2label": {
"0": "10_Tuc_doan",
"1": "11_Thien_mon",
"2": "12_Sai_ho",
"3": "13_Vien_chi",
"4": "14_Su_quan_tu",
"5": "15_Bach_mao_can",
"6": "16_Cau_ky_tu",
"7": "17_Do_trong",
"8": "18_Dang_sam",
"9": "19_Cau_tich",
"10": "1_Boi_mau",
"11": "20_Tho_ty_tu",
"12": "21_Hoang_ky",
"13": "22_Coi_xay",
"14": "23_Huyen_sam",
"15": "24_Tang_chi",
"16": "25_Diep_ha_chau",
"17": "26_Kim_anh",
"18": "27_Cat_can",
"19": "28_Co_ngot",
"20": "29_Cuc_hoa",
"21": "2_Hoe_hoa",
"22": "30_To_moc",
"23": "31_Kim_tien_thao",
"24": "32_Dan_sam",
"25": "33_Chi_tu",
"26": "34_Ngai_Cuu",
"27": "35_Sinh_dia",
"28": "36_Nguu_tat",
"29": "37_Bach_truat",
"30": "38_Nhan_tran",
"31": "39_Duong_quy",
"32": "3_Linh_chi",
"33": "40_Nho_noi",
"34": "41_Dao_nhan",
"35": "42_Cat_canh",
"36": "43_Ha_kho_thao",
"37": "44_Xa_tien_tu",
"38": "45_Che_day",
"39": "46_Xa_can",
"40": "47_Tang_diep",
"41": "48_Ngu_boi_tu",
"42": "49_Ngu_gia_bi",
"43": "4_Thong_thao",
"44": "50_Rau_ngo",
"45": "51_Nguu_bang_tu",
"46": "52_Cam_thao_dat",
"47": "53_Dai_hoang",
"48": "54_Hoai_son",
"49": "55_Dam_duong_hoac",
"50": "56_Moc_qua",
"51": "57_Bo_cong_anh",
"52": "58_Tho_phuc_linh",
"53": "59_Mach_mon",
"54": "5_Trach_ta",
"55": "60_Ke_dau_ngua",
"56": "61_Tang_bach_bi",
"57": "62_Cam_thao_bac",
"58": "63_O_tac_cot",
"59": "64_Thao_quyet_minh",
"60": "65_Dai_tao",
"61": "66_Kim_ngan_hoa",
"62": "67_Tao_nhan",
"63": "68_Ban_ha",
"64": "69_Ca_gai_leo",
"65": "6_Y_di",
"66": "70_Kho_qua",
"67": "71_Xuyen_tam_lien",
"68": "72_Nhan_sam",
"69": "73_Bach_gioi_tu",
"70": "74_Tam_that",
"71": "75_Bach_chi",
"72": "76_Sa_sam",
"73": "77_Bach_thuoc",
"74": "7_Can_khuong",
"75": "8_Ty_Giai",
"76": "9_Cot_toai_bo"
},
"image_size": 224,
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"10_Tuc_doan": "0",
"11_Thien_mon": "1",
"12_Sai_ho": "2",
"13_Vien_chi": "3",
"14_Su_quan_tu": "4",
"15_Bach_mao_can": "5",
"16_Cau_ky_tu": "6",
"17_Do_trong": "7",
"18_Dang_sam": "8",
"19_Cau_tich": "9",
"1_Boi_mau": "10",
"20_Tho_ty_tu": "11",
"21_Hoang_ky": "12",
"22_Coi_xay": "13",
"23_Huyen_sam": "14",
"24_Tang_chi": "15",
"25_Diep_ha_chau": "16",
"26_Kim_anh": "17",
"27_Cat_can": "18",
"28_Co_ngot": "19",
"29_Cuc_hoa": "20",
"2_Hoe_hoa": "21",
"30_To_moc": "22",
"31_Kim_tien_thao": "23",
"32_Dan_sam": "24",
"33_Chi_tu": "25",
"34_Ngai_Cuu": "26",
"35_Sinh_dia": "27",
"36_Nguu_tat": "28",
"37_Bach_truat": "29",
"38_Nhan_tran": "30",
"39_Duong_quy": "31",
"3_Linh_chi": "32",
"40_Nho_noi": "33",
"41_Dao_nhan": "34",
"42_Cat_canh": "35",
"43_Ha_kho_thao": "36",
"44_Xa_tien_tu": "37",
"45_Che_day": "38",
"46_Xa_can": "39",
"47_Tang_diep": "40",
"48_Ngu_boi_tu": "41",
"49_Ngu_gia_bi": "42",
"4_Thong_thao": "43",
"50_Rau_ngo": "44",
"51_Nguu_bang_tu": "45",
"52_Cam_thao_dat": "46",
"53_Dai_hoang": "47",
"54_Hoai_son": "48",
"55_Dam_duong_hoac": "49",
"56_Moc_qua": "50",
"57_Bo_cong_anh": "51",
"58_Tho_phuc_linh": "52",
"59_Mach_mon": "53",
"5_Trach_ta": "54",
"60_Ke_dau_ngua": "55",
"61_Tang_bach_bi": "56",
"62_Cam_thao_bac": "57",
"63_O_tac_cot": "58",
"64_Thao_quyet_minh": "59",
"65_Dai_tao": "60",
"66_Kim_ngan_hoa": "61",
"67_Tao_nhan": "62",
"68_Ban_ha": "63",
"69_Ca_gai_leo": "64",
"6_Y_di": "65",
"70_Kho_qua": "66",
"71_Xuyen_tam_lien": "67",
"72_Nhan_sam": "68",
"73_Bach_gioi_tu": "69",
"74_Tam_that": "70",
"75_Bach_chi": "71",
"76_Sa_sam": "72",
"77_Bach_thuoc": "73",
"7_Can_khuong": "74",
"8_Ty_Giai": "75",
"9_Cot_toai_bo": "76"
},
"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.44.0.dev0"
}