| { | |
| "_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": "B-vendor_name", | |
| "1": "I-vendor_name", | |
| "2": "B-Other", | |
| "3": "I-Other", | |
| "4": "B-invoice_number", | |
| "5": "B-invoice_date", | |
| "6": "I-invoice_date", | |
| "7": "B-line_quantity", | |
| "8": "B-line_amount", | |
| "9": "B-payment_terms", | |
| "10": "I-payment_terms", | |
| "11": "B-due_date", | |
| "12": "I-due_date", | |
| "13": "B-remit_address", | |
| "14": "I-remit_address", | |
| "15": "B-line_item_name", | |
| "16": "I-line_item_name", | |
| "17": "B-total_amount", | |
| "18": "B-currency", | |
| "19": "B-shipping_address", | |
| "20": "I-shipping_address", | |
| "21": "B-vendor_address", | |
| "22": "I-vendor_address", | |
| "23": "B-po_number", | |
| "24": "B-shipping_terms", | |
| "25": "B-delivery_date", | |
| "26": "B-billing_address", | |
| "27": "I-billing_address", | |
| "28": "I-line_amount", | |
| "29": "I-total_amount", | |
| "30": "B-order_date", | |
| "31": "I-order_date", | |
| "32": "I-line_quantity", | |
| "33": "I-po_number", | |
| "34": "I-invoice_number", | |
| "35": "I-delivery_date" | |
| }, | |
| "initializer_range": 0.02, | |
| "intermediate_size": 3072, | |
| "label2id": { | |
| "B-Other": 2, | |
| "B-billing_address": 26, | |
| "B-currency": 18, | |
| "B-delivery_date": 25, | |
| "B-due_date": 11, | |
| "B-invoice_date": 5, | |
| "B-invoice_number": 4, | |
| "B-line_amount": 8, | |
| "B-line_item_name": 15, | |
| "B-line_quantity": 7, | |
| "B-order_date": 30, | |
| "B-payment_terms": 9, | |
| "B-po_number": 23, | |
| "B-remit_address": 13, | |
| "B-shipping_address": 19, | |
| "B-shipping_terms": 24, | |
| "B-total_amount": 17, | |
| "B-vendor_address": 21, | |
| "B-vendor_name": 0, | |
| "I-Other": 3, | |
| "I-billing_address": 27, | |
| "I-delivery_date": 35, | |
| "I-due_date": 12, | |
| "I-invoice_date": 6, | |
| "I-invoice_number": 34, | |
| "I-line_amount": 28, | |
| "I-line_item_name": 16, | |
| "I-line_quantity": 32, | |
| "I-order_date": 31, | |
| "I-payment_terms": 10, | |
| "I-po_number": 33, | |
| "I-remit_address": 14, | |
| "I-shipping_address": 20, | |
| "I-total_amount": 29, | |
| "I-vendor_address": 22, | |
| "I-vendor_name": 1 | |
| }, | |
| "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 | |
| } | |