{ "architectures": [ "LayoutLMv3ForTokenClassification" ], "attention_probs_dropout_prob": 0.1, "bos_token_id": 0, "classifier_dropout": null, "coordinate_size": 128, "dtype": "float32", "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_ETC", "9": "B-MENU.SUB_NM", "10": "B-MENU.SUB_PRICE", "11": "B-MENU.SUB_UNITPRICE", "12": "B-MENU.UNITPRICE", "13": "B-MENU.VATYN", "14": "B-SUB_TOTAL.DISCOUNT_PRICE", "15": "B-SUB_TOTAL.ETC", "16": "B-SUB_TOTAL.OTHERSVC_PRICE", "17": "B-SUB_TOTAL.SERVICE_PRICE", "18": "B-SUB_TOTAL.SUBTOTAL_PRICE", "19": "B-SUB_TOTAL.TAX_PRICE", "20": "B-TOTAL.CASHPRICE", "21": "B-TOTAL.CHANGEPRICE", "22": "B-TOTAL.CREDITCARDPRICE", "23": "B-TOTAL.EMONEYPRICE", "24": "B-TOTAL.MENUQTY_CNT", "25": "B-TOTAL.MENUTYPE_CNT", "26": "B-TOTAL.TOTAL_ETC", "27": "B-TOTAL.TOTAL_PRICE", "28": "B-VOID_MENU.NM", "29": "B-VOID_MENU.PRICE", "30": "I-MENU.CNT", "31": "I-MENU.DISCOUNTPRICE", "32": "I-MENU.ETC", "33": "I-MENU.NM", "34": "I-MENU.PRICE", "35": "I-MENU.SUB_ETC", "36": "I-MENU.SUB_NM", "37": "I-MENU.UNITPRICE", "38": "I-MENU.VATYN", "39": "I-SUB_TOTAL.DISCOUNT_PRICE", "40": "I-SUB_TOTAL.ETC", "41": "I-SUB_TOTAL.OTHERSVC_PRICE", "42": "I-SUB_TOTAL.SERVICE_PRICE", "43": "I-SUB_TOTAL.SUBTOTAL_PRICE", "44": "I-SUB_TOTAL.TAX_PRICE", "45": "I-TOTAL.CASHPRICE", "46": "I-TOTAL.CHANGEPRICE", "47": "I-TOTAL.CREDITCARDPRICE", "48": "I-TOTAL.EMONEYPRICE", "49": "I-TOTAL.MENUQTY_CNT", "50": "I-TOTAL.MENUTYPE_CNT", "51": "I-TOTAL.TOTAL_ETC", "52": "I-TOTAL.TOTAL_PRICE", "53": "I-VOID_MENU.NM" }, "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_ETC": 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.NM": 33, "I-MENU.PRICE": 34, "I-MENU.SUB_ETC": 35, "I-MENU.SUB_NM": 36, "I-MENU.UNITPRICE": 37, "I-MENU.VATYN": 38, "I-SUB_TOTAL.DISCOUNT_PRICE": 39, "I-SUB_TOTAL.ETC": 40, "I-SUB_TOTAL.OTHERSVC_PRICE": 41, "I-SUB_TOTAL.SERVICE_PRICE": 42, "I-SUB_TOTAL.SUBTOTAL_PRICE": 43, "I-SUB_TOTAL.TAX_PRICE": 44, "I-TOTAL.CASHPRICE": 45, "I-TOTAL.CHANGEPRICE": 46, "I-TOTAL.CREDITCARDPRICE": 47, "I-TOTAL.EMONEYPRICE": 48, "I-TOTAL.MENUQTY_CNT": 49, "I-TOTAL.MENUTYPE_CNT": 50, "I-TOTAL.TOTAL_ETC": 51, "I-TOTAL.TOTAL_PRICE": 52, "I-VOID_MENU.NM": 53 }, "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, "transformers_version": "5.13.1", "type_vocab_size": 1, "use_cache": false, "visual_embed": true, "vocab_size": 50265 }