|
{ |
|
"_name_or_path": "microsoft/layoutlm-base-uncased", |
|
"architectures": [ |
|
"LayoutLMForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 768, |
|
"id2label": { |
|
"0": "other", |
|
"1": "header:invoice_no", |
|
"2": "header:invoice_date", |
|
"3": "header:seller", |
|
"4": "header:client", |
|
"5": "header:seller_tax_id", |
|
"6": "header:client_tax_id", |
|
"7": "header:iban", |
|
"8": "items_row1:item_desc", |
|
"9": "items_row1:item_qty", |
|
"10": "items_row1:item_net_price", |
|
"11": "items_row1:item_net_worth", |
|
"12": "items_row1:item_vat", |
|
"13": "items_row1:item_gross_worth", |
|
"14": "summary:total_net_worth", |
|
"15": "summary:total_vat", |
|
"16": "summary:total_gross_worth", |
|
"17": "items_row2:item_desc", |
|
"18": "items_row2:item_qty", |
|
"19": "items_row2:item_net_price", |
|
"20": "items_row2:total_net_worth", |
|
"21": "items_row2:item_vat", |
|
"22": "items_row2:item_gross_worth", |
|
"23": "items_row3:item_desc", |
|
"24": "items_row3:item_qty", |
|
"25": "items_row3:item_net_price", |
|
"26": "items_row3:total_net_worth", |
|
"27": "items_row3:item_vat", |
|
"28": "items_row3:item_gross_worth", |
|
"29": "items_row4:item_desc", |
|
"30": "items_row4:item_qty", |
|
"31": "items_row4:item_net_price", |
|
"32": "items_row4:item_net_worth", |
|
"33": "items_row4:item_vat", |
|
"34": "items_row4:item_gross_worth", |
|
"35": "items_row2:item_net_worth", |
|
"36": "items_row3:item_net_worth", |
|
"37": "items_row5:item_desc", |
|
"38": "items_row5:item_qty", |
|
"39": "items_row5:item_net_price", |
|
"40": "items_row5:item_net_worth", |
|
"41": "items_row5:item_vat", |
|
"42": "items_row5:item_gross_worth", |
|
"43": "items_row6:item_desc", |
|
"44": "items_row6:item_qty", |
|
"45": "items_row6:item_net_price", |
|
"46": "items_row6:item_net_worth", |
|
"47": "items_row6:item_vat", |
|
"48": "items_row6:item_gross_worth", |
|
"49": "invoice_no", |
|
"50": "invoice_date", |
|
"51": "seller", |
|
"52": "client", |
|
"53": "client_tax_id", |
|
"54": "seller_tax_id", |
|
"55": "iban", |
|
"56": "item_desc", |
|
"57": "item_qty", |
|
"58": "item_net_price", |
|
"59": "item_net_worth", |
|
"60": "item_vat", |
|
"61": "item_gross_worth", |
|
"62": "total_net_worth", |
|
"63": "total_vat", |
|
"64": "total_gross_worth", |
|
"65": "items_row7:item_desc", |
|
"66": "items_row7:item_qty", |
|
"67": "items_row7:item_net_price", |
|
"68": "items_row7:item_net_worth", |
|
"69": "items_row7:item_gross_worth", |
|
"70": "items_row7:item_vat", |
|
"71": "None:invoice_no", |
|
"72": "None:invoice_date", |
|
"73": "None:seller", |
|
"74": "None:client", |
|
"75": "None:seller_tax_id", |
|
"76": "None:client_tax_id", |
|
"77": "None:iban", |
|
"78": "None:item_desc", |
|
"79": "None:item_qty", |
|
"80": "None:item_net_price", |
|
"81": "None:item_net_worth", |
|
"82": "None:item_vat", |
|
"83": "None:item_gross_worth", |
|
"84": "None:total_net_worth", |
|
"85": "None:total_vat", |
|
"86": "None:total_gross_worth", |
|
"87": "summary:item_gross_worth", |
|
"88": "items_row5:total_net_worth", |
|
"89": "items_row1:seller_tax_id", |
|
"90": "items_row4:total_net_worth" |
|
}, |
|
"initializer_range": 0.02, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"None:client": 74, |
|
"None:client_tax_id": 76, |
|
"None:iban": 77, |
|
"None:invoice_date": 72, |
|
"None:invoice_no": 71, |
|
"None:item_desc": 78, |
|
"None:item_gross_worth": 83, |
|
"None:item_net_price": 80, |
|
"None:item_net_worth": 81, |
|
"None:item_qty": 79, |
|
"None:item_vat": 82, |
|
"None:seller": 73, |
|
"None:seller_tax_id": 75, |
|
"None:total_gross_worth": 86, |
|
"None:total_net_worth": 84, |
|
"None:total_vat": 85, |
|
"client": 52, |
|
"client_tax_id": 53, |
|
"header:client": 4, |
|
"header:client_tax_id": 6, |
|
"header:iban": 7, |
|
"header:invoice_date": 2, |
|
"header:invoice_no": 1, |
|
"header:seller": 3, |
|
"header:seller_tax_id": 5, |
|
"iban": 55, |
|
"invoice_date": 50, |
|
"invoice_no": 49, |
|
"item_desc": 56, |
|
"item_gross_worth": 61, |
|
"item_net_price": 58, |
|
"item_net_worth": 59, |
|
"item_qty": 57, |
|
"item_vat": 60, |
|
"items_row1:item_desc": 8, |
|
"items_row1:item_gross_worth": 13, |
|
"items_row1:item_net_price": 10, |
|
"items_row1:item_net_worth": 11, |
|
"items_row1:item_qty": 9, |
|
"items_row1:item_vat": 12, |
|
"items_row1:seller_tax_id": 89, |
|
"items_row2:item_desc": 17, |
|
"items_row2:item_gross_worth": 22, |
|
"items_row2:item_net_price": 19, |
|
"items_row2:item_net_worth": 35, |
|
"items_row2:item_qty": 18, |
|
"items_row2:item_vat": 21, |
|
"items_row2:total_net_worth": 20, |
|
"items_row3:item_desc": 23, |
|
"items_row3:item_gross_worth": 28, |
|
"items_row3:item_net_price": 25, |
|
"items_row3:item_net_worth": 36, |
|
"items_row3:item_qty": 24, |
|
"items_row3:item_vat": 27, |
|
"items_row3:total_net_worth": 26, |
|
"items_row4:item_desc": 29, |
|
"items_row4:item_gross_worth": 34, |
|
"items_row4:item_net_price": 31, |
|
"items_row4:item_net_worth": 32, |
|
"items_row4:item_qty": 30, |
|
"items_row4:item_vat": 33, |
|
"items_row4:total_net_worth": 90, |
|
"items_row5:item_desc": 37, |
|
"items_row5:item_gross_worth": 42, |
|
"items_row5:item_net_price": 39, |
|
"items_row5:item_net_worth": 40, |
|
"items_row5:item_qty": 38, |
|
"items_row5:item_vat": 41, |
|
"items_row5:total_net_worth": 88, |
|
"items_row6:item_desc": 43, |
|
"items_row6:item_gross_worth": 48, |
|
"items_row6:item_net_price": 45, |
|
"items_row6:item_net_worth": 46, |
|
"items_row6:item_qty": 44, |
|
"items_row6:item_vat": 47, |
|
"items_row7:item_desc": 65, |
|
"items_row7:item_gross_worth": 69, |
|
"items_row7:item_net_price": 67, |
|
"items_row7:item_net_worth": 68, |
|
"items_row7:item_qty": 66, |
|
"items_row7:item_vat": 70, |
|
"other": 0, |
|
"seller": 51, |
|
"seller_tax_id": 54, |
|
"summary:item_gross_worth": 87, |
|
"summary:total_gross_worth": 16, |
|
"summary:total_net_worth": 14, |
|
"summary:total_vat": 15, |
|
"total_gross_worth": 64, |
|
"total_net_worth": 62, |
|
"total_vat": 63 |
|
}, |
|
"layer_norm_eps": 1e-12, |
|
"max_2d_position_embeddings": 1024, |
|
"max_position_embeddings": 512, |
|
"model_type": "layoutlm", |
|
"num_attention_heads": 12, |
|
"num_hidden_layers": 12, |
|
"output_past": true, |
|
"pad_token_id": 0, |
|
"position_embedding_type": "absolute", |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.28.0", |
|
"type_vocab_size": 2, |
|
"use_cache": true, |
|
"vocab_size": 30522 |
|
} |
|
|