{ "_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": "doc_type", "1": "entity_name", "2": "entity_name_address", "3": "invoice_number", "4": "inoice_number_key", "5": "issued_date", "6": "due_date", "7": "doc_amount_tax_ex", "8": "doc_amount_tax", "9": "doc_amount_total", "10": "doc_amount_currency", "11": "po_number", "12": "po_number_key", "13": "account_number", "14": "vendor_business_number", "15": "vendor_name", "16": "vendor_address", "17": "vendor_bank_bsb", "18": "vendor_bank_account_number", "19": "bpay_biller_code", "20": "bpay_reference_number", "21": "invoice_name", "22": "invoice_address", "23": "statement_invoice_numbers", "24": "line_product_code", "25": "line_quantity", "26": "line_uom", "27": "line_unit_amount_tax_ex", "28": "line_amount_tax", "29": "line_amount_tax_ex", "30": "line_amount_total", "31": "line_description", "32": "line_valid_additional_charge", "33": "line_po_number" }, "initializer_range": 0.02, "input_size": 224, "intermediate_size": 3072, "label2id": { "account_number": 13, "bpay_biller_code": 19, "bpay_reference_number": 20, "doc_amount_currency": 10, "doc_amount_tax": 8, "doc_amount_tax_ex": 7, "doc_amount_total": 9, "doc_type": 0, "due_date": 6, "entity_name": 1, "entity_name_address": 2, "inoice_number_key": 4, "invoice_address": 22, "invoice_name": 21, "invoice_number": 3, "issued_date": 5, "line_amount_tax": 28, "line_amount_tax_ex": 29, "line_amount_total": 30, "line_description": 31, "line_po_number": 33, "line_product_code": 24, "line_quantity": 25, "line_unit_amount_tax_ex": 27, "line_uom": 26, "line_valid_additional_charge": 32, "po_number": 11, "po_number_key": 12, "statement_invoice_numbers": 23, "vendor_address": 16, "vendor_bank_account_number": 18, "vendor_bank_bsb": 17, "vendor_business_number": 14, "vendor_name": 15 }, "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.36.0.dev0", "type_vocab_size": 1, "visual_embed": true, "vocab_size": 50265 }