{ "_name_or_path": "microsoft/layoutlmv3-base", "architectures": [ "LayoutLMv3ForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "classifier_dropout": null, "coordinate_size": 128, "eos_token_id": 2, "has_relative_attention_bias": true, "has_spatial_attention_bias": true, "hidden_act": "gelu", "hidden_dropout_prob": 0.1, "hidden_size": 768, "id2label": { "0": "B-MENU.CNT", "1": "B-MENU.DISCOUNTPRICE", "2": "B-MENU.ETC", "3": "B-MENU.ITEMSUBTOTAL", "4": "B-MENU.NM", "5": "B-MENU.NUM", "6": "B-MENU.PRICE", "7": "B-MENU.SUB.CNT", "8": "B-MENU.SUB.NM", "9": "B-MENU.SUB.PRICE", "10": "B-MENU.SUB.UNITPRICE", "11": "B-MENU.UNITPRICE", "12": "B-MENU.VATYN", "13": "B-SUB_TOTAL.DISCOUNT_PRICE", "14": "B-SUB_TOTAL.ETC", "15": "B-SUB_TOTAL.OTHERSVC_PRICE", "16": "B-SUB_TOTAL.SERVICE_PRICE", "17": "B-SUB_TOTAL.SUBTOTAL_PRICE", "18": "B-SUB_TOTAL.TAX_PRICE", "19": "B-TOTAL.CASHPRICE", "20": "B-TOTAL.CHANGEPRICE", "21": "B-TOTAL.CREDITCARDPRICE", "22": "B-TOTAL.EMONEYPRICE", "23": "B-TOTAL.MENUQTY_CNT", "24": "B-TOTAL.MENUTYPE_CNT", "25": "B-TOTAL.TOTAL_ETC", "26": "B-TOTAL.TOTAL_PRICE", "27": "B-VOID_MENU.NM", "28": "B-VOID_MENU.PRICE", "29": "I-MENU.CNT", "30": "I-MENU.DISCOUNTPRICE", "31": "I-MENU.ETC", "32": "I-MENU.ITEMSUBTOTAL", "33": "I-MENU.NM", "34": "I-MENU.NUM", "35": "I-MENU.PRICE", "36": "I-MENU.SUB.CNT", "37": "I-MENU.SUB.NM", "38": "I-MENU.SUB.PRICE", "39": "I-MENU.SUB.UNITPRICE", "40": "I-MENU.UNITPRICE", "41": "I-MENU.VATYN", "42": "I-SUB_TOTAL.DISCOUNT_PRICE", "43": "I-SUB_TOTAL.ETC", "44": "I-SUB_TOTAL.OTHERSVC_PRICE", "45": "I-SUB_TOTAL.SERVICE_PRICE", "46": "I-SUB_TOTAL.SUBTOTAL_PRICE", "47": "I-SUB_TOTAL.TAX_PRICE", "48": "I-TOTAL.CASHPRICE", "49": "I-TOTAL.CHANGEPRICE", "50": "I-TOTAL.CREDITCARDPRICE", "51": "I-TOTAL.EMONEYPRICE", "52": "I-TOTAL.MENUQTY_CNT", "53": "I-TOTAL.MENUTYPE_CNT", "54": "I-TOTAL.TOTAL_ETC", "55": "I-TOTAL.TOTAL_PRICE", "56": "I-VOID_MENU.NM", "57": "I-VOID_MENU.PRICE", "58": "O" }, "initializer_range": 0.02, "input_size": 224, "intermediate_size": 3072, "label2id": { "B-MENU.CNT": 0, "B-MENU.DISCOUNTPRICE": 1, "B-MENU.ETC": 2, "B-MENU.ITEMSUBTOTAL": 3, "B-MENU.NM": 4, "B-MENU.NUM": 5, "B-MENU.PRICE": 6, "B-MENU.SUB.CNT": 7, "B-MENU.SUB.NM": 8, "B-MENU.SUB.PRICE": 9, "B-MENU.SUB.UNITPRICE": 10, "B-MENU.UNITPRICE": 11, "B-MENU.VATYN": 12, "B-SUB_TOTAL.DISCOUNT_PRICE": 13, "B-SUB_TOTAL.ETC": 14, "B-SUB_TOTAL.OTHERSVC_PRICE": 15, "B-SUB_TOTAL.SERVICE_PRICE": 16, "B-SUB_TOTAL.SUBTOTAL_PRICE": 17, "B-SUB_TOTAL.TAX_PRICE": 18, "B-TOTAL.CASHPRICE": 19, "B-TOTAL.CHANGEPRICE": 20, "B-TOTAL.CREDITCARDPRICE": 21, "B-TOTAL.EMONEYPRICE": 22, "B-TOTAL.MENUQTY_CNT": 23, "B-TOTAL.MENUTYPE_CNT": 24, "B-TOTAL.TOTAL_ETC": 25, "B-TOTAL.TOTAL_PRICE": 26, "B-VOID_MENU.NM": 27, "B-VOID_MENU.PRICE": 28, "I-MENU.CNT": 29, "I-MENU.DISCOUNTPRICE": 30, "I-MENU.ETC": 31, "I-MENU.ITEMSUBTOTAL": 32, "I-MENU.NM": 33, "I-MENU.NUM": 34, "I-MENU.PRICE": 35, "I-MENU.SUB.CNT": 36, "I-MENU.SUB.NM": 37, "I-MENU.SUB.PRICE": 38, "I-MENU.SUB.UNITPRICE": 39, "I-MENU.UNITPRICE": 40, "I-MENU.VATYN": 41, "I-SUB_TOTAL.DISCOUNT_PRICE": 42, "I-SUB_TOTAL.ETC": 43, "I-SUB_TOTAL.OTHERSVC_PRICE": 44, "I-SUB_TOTAL.SERVICE_PRICE": 45, "I-SUB_TOTAL.SUBTOTAL_PRICE": 46, "I-SUB_TOTAL.TAX_PRICE": 47, "I-TOTAL.CASHPRICE": 48, "I-TOTAL.CHANGEPRICE": 49, "I-TOTAL.CREDITCARDPRICE": 50, "I-TOTAL.EMONEYPRICE": 51, "I-TOTAL.MENUQTY_CNT": 52, "I-TOTAL.MENUTYPE_CNT": 53, "I-TOTAL.TOTAL_ETC": 54, "I-TOTAL.TOTAL_PRICE": 55, "I-VOID_MENU.NM": 56, "I-VOID_MENU.PRICE": 57, "O": 58 }, "layer_norm_eps": 1e-05, "max_2d_position_embeddings": 1024, "max_position_embeddings": 514, "max_rel_2d_pos": 256, "max_rel_pos": 128, "model_type": "layoutlmv3", "num_attention_heads": 12, "num_channels": 3, "num_hidden_layers": 12, "pad_token_id": 1, "patch_size": 16, "rel_2d_pos_bins": 64, "rel_pos_bins": 32, "second_input_size": 112, "shape_size": 128, "text_embed": true, "torch_dtype": "float32", "transformers_version": "4.46.2", "type_vocab_size": 1, "visual_embed": true, "vocab_size": 50265 }