| { |
| "_name_or_path": "../models/docpolarbert-cord", |
| "architectures": [ |
| "DocPolarBERTForTokenClassification" |
| ], |
| "attention_probs_dropout_prob": 0.1, |
| "bos_token_id": 0, |
| "classifier_dropout": null, |
| "coordinate_size": 128, |
| "eos_token_id": 2, |
| "has_angle_attention_bias": true, |
| "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": "I-menu.cnt", |
| "2": "B-menu.discountprice", |
| "3": "I-menu.discountprice", |
| "4": "B-menu.etc", |
| "5": "I-menu.etc", |
| "6": "B-menu.itemsubtotal", |
| "7": "I-menu.itemsubtotal", |
| "8": "B-menu.nm", |
| "9": "I-menu.nm", |
| "10": "B-menu.num", |
| "11": "I-menu.num", |
| "12": "B-menu.price", |
| "13": "I-menu.price", |
| "14": "B-menu.sub.cnt", |
| "15": "I-menu.sub.cnt", |
| "16": "B-menu.sub.etc", |
| "17": "I-menu.sub.etc", |
| "18": "B-menu.sub.nm", |
| "19": "I-menu.sub.nm", |
| "20": "B-menu.sub.price", |
| "21": "I-menu.sub.price", |
| "22": "B-menu.sub.unitprice", |
| "23": "I-menu.sub.unitprice", |
| "24": "B-menu.unitprice", |
| "25": "I-menu.unitprice", |
| "26": "B-menu.vatyn", |
| "27": "I-menu.vatyn", |
| "28": "B-sub_total.discount_price", |
| "29": "I-sub_total.discount_price", |
| "30": "B-sub_total.etc", |
| "31": "I-sub_total.etc", |
| "32": "B-sub_total.othersvc_price", |
| "33": "I-sub_total.othersvc_price", |
| "34": "B-sub_total.service_price", |
| "35": "I-sub_total.service_price", |
| "36": "B-sub_total.subtotal_price", |
| "37": "I-sub_total.subtotal_price", |
| "38": "B-sub_total.tax_price", |
| "39": "I-sub_total.tax_price", |
| "40": "B-total.cashprice", |
| "41": "I-total.cashprice", |
| "42": "B-total.changeprice", |
| "43": "I-total.changeprice", |
| "44": "B-total.creditcardprice", |
| "45": "I-total.creditcardprice", |
| "46": "B-total.emoneyprice", |
| "47": "I-total.emoneyprice", |
| "48": "B-total.menuqty_cnt", |
| "49": "I-total.menuqty_cnt", |
| "50": "B-total.menutype_cnt", |
| "51": "I-total.menutype_cnt", |
| "52": "B-total.total_etc", |
| "53": "I-total.total_etc", |
| "54": "B-total.total_price", |
| "55": "I-total.total_price", |
| "56": "B-void_menu.nm", |
| "57": "I-void_menu.nm", |
| "58": "B-void_menu.price", |
| "59": "I-void_menu.price" |
| }, |
| "initializer_range": 0.02, |
| "input_size": 224, |
| "intermediate_size": 3072, |
| "label2id": { |
| "B-menu.cnt": 0, |
| "B-menu.discountprice": 2, |
| "B-menu.etc": 4, |
| "B-menu.itemsubtotal": 6, |
| "B-menu.nm": 8, |
| "B-menu.num": 10, |
| "B-menu.price": 12, |
| "B-menu.sub.cnt": 14, |
| "B-menu.sub.etc": 16, |
| "B-menu.sub.nm": 18, |
| "B-menu.sub.price": 20, |
| "B-menu.sub.unitprice": 22, |
| "B-menu.unitprice": 24, |
| "B-menu.vatyn": 26, |
| "B-sub_total.discount_price": 28, |
| "B-sub_total.etc": 30, |
| "B-sub_total.othersvc_price": 32, |
| "B-sub_total.service_price": 34, |
| "B-sub_total.subtotal_price": 36, |
| "B-sub_total.tax_price": 38, |
| "B-total.cashprice": 40, |
| "B-total.changeprice": 42, |
| "B-total.creditcardprice": 44, |
| "B-total.emoneyprice": 46, |
| "B-total.menuqty_cnt": 48, |
| "B-total.menutype_cnt": 50, |
| "B-total.total_etc": 52, |
| "B-total.total_price": 54, |
| "B-void_menu.nm": 56, |
| "B-void_menu.price": 58, |
| "I-menu.cnt": 1, |
| "I-menu.discountprice": 3, |
| "I-menu.etc": 5, |
| "I-menu.itemsubtotal": 7, |
| "I-menu.nm": 9, |
| "I-menu.num": 11, |
| "I-menu.price": 13, |
| "I-menu.sub.cnt": 15, |
| "I-menu.sub.etc": 17, |
| "I-menu.sub.nm": 19, |
| "I-menu.sub.price": 21, |
| "I-menu.sub.unitprice": 23, |
| "I-menu.unitprice": 25, |
| "I-menu.vatyn": 27, |
| "I-sub_total.discount_price": 29, |
| "I-sub_total.etc": 31, |
| "I-sub_total.othersvc_price": 33, |
| "I-sub_total.service_price": 35, |
| "I-sub_total.subtotal_price": 37, |
| "I-sub_total.tax_price": 39, |
| "I-total.cashprice": 41, |
| "I-total.changeprice": 43, |
| "I-total.creditcardprice": 45, |
| "I-total.emoneyprice": 47, |
| "I-total.menuqty_cnt": 49, |
| "I-total.menutype_cnt": 51, |
| "I-total.total_etc": 53, |
| "I-total.total_price": 55, |
| "I-void_menu.nm": 57, |
| "I-void_menu.price": 59 |
| }, |
| "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": "docpolarbert", |
| "num_attention_heads": 12, |
| "num_channels": 3, |
| "num_hidden_layers": 12, |
| "pad_token_id": 1, |
| "patch_size": 16, |
| "rel_2d_angle_bins": 4, |
| "rel_2d_pos_bins": 4, |
| "rel_pos_bins": 32, |
| "shape_size": 128, |
| "text_embed": true, |
| "torch_dtype": "float32", |
| "transformers_version": "4.35.1", |
| "type_vocab_size": 1, |
| "visual_embed": false, |
| "vocab_size": 50265 |
| } |
|
|