{ "_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": "O", "1": "B-MENU.CNT", "2": "B-MENU.DISCOUNTPRICE", "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.UNITPRICE", "10": "B-SUB_TOTAL.DISCOUNT_PRICE", "11": "B-SUB_TOTAL.ETC", "12": "B-SUB_TOTAL.SERVICE_PRICE", "13": "B-SUB_TOTAL.SUBTOTAL_PRICE", "14": "B-SUB_TOTAL.TAX_PRICE", "15": "B-TOTAL.CASHPRICE", "16": "B-TOTAL.CHANGEPRICE", "17": "B-TOTAL.CREDITCARDPRICE", "18": "B-TOTAL.MENUQTY_CNT", "19": "B-TOTAL.TOTAL_PRICE", "20": "I-MENU.CNT", "21": "I-MENU.DISCOUNTPRICE", "22": "I-MENU.NM", "23": "I-MENU.NUM", "24": "I-MENU.PRICE", "25": "I-MENU.SUB.CNT", "26": "I-MENU.SUB.NM", "27": "I-MENU.SUB.PRICE", "28": "I-MENU.UNITPRICE", "29": "I-SUB_TOTAL.DISCOUNT_PRICE", "30": "I-SUB_TOTAL.ETC", "31": "I-SUB_TOTAL.SERVICE_PRICE", "32": "I-SUB_TOTAL.SUBTOTAL_PRICE", "33": "I-SUB_TOTAL.TAX_PRICE", "34": "I-TOTAL.CASHPRICE", "35": "I-TOTAL.CHANGEPRICE", "36": "I-TOTAL.CREDITCARDPRICE", "37": "I-TOTAL.MENUQTY_CNT", "38": "I-TOTAL.TOTAL_PRICE" }, "initializer_range": 0.02, "input_size": 224, "intermediate_size": 3072, "label2id": { "B-MENU.CNT": 1, "B-MENU.DISCOUNTPRICE": 2, "B-MENU.NM": 3, "B-MENU.NUM": 4, "B-MENU.PRICE": 5, "B-MENU.SUB.CNT": 6, "B-MENU.SUB.NM": 7, "B-MENU.SUB.PRICE": 8, "B-MENU.UNITPRICE": 9, "B-SUB_TOTAL.DISCOUNT_PRICE": 10, "B-SUB_TOTAL.ETC": 11, "B-SUB_TOTAL.SERVICE_PRICE": 12, "B-SUB_TOTAL.SUBTOTAL_PRICE": 13, "B-SUB_TOTAL.TAX_PRICE": 14, "B-TOTAL.CASHPRICE": 15, "B-TOTAL.CHANGEPRICE": 16, "B-TOTAL.CREDITCARDPRICE": 17, "B-TOTAL.MENUQTY_CNT": 18, "B-TOTAL.TOTAL_PRICE": 19, "I-MENU.CNT": 20, "I-MENU.DISCOUNTPRICE": 21, "I-MENU.NM": 22, "I-MENU.NUM": 23, "I-MENU.PRICE": 24, "I-MENU.SUB.CNT": 25, "I-MENU.SUB.NM": 26, "I-MENU.SUB.PRICE": 27, "I-MENU.UNITPRICE": 28, "I-SUB_TOTAL.DISCOUNT_PRICE": 29, "I-SUB_TOTAL.ETC": 30, "I-SUB_TOTAL.SERVICE_PRICE": 31, "I-SUB_TOTAL.SUBTOTAL_PRICE": 32, "I-SUB_TOTAL.TAX_PRICE": 33, "I-TOTAL.CASHPRICE": 34, "I-TOTAL.CHANGEPRICE": 35, "I-TOTAL.CREDITCARDPRICE": 36, "I-TOTAL.MENUQTY_CNT": 37, "I-TOTAL.TOTAL_PRICE": 38, "O": 0 }, "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.44.2", "type_vocab_size": 1, "visual_embed": true, "vocab_size": 50265 }