{ "_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": "B-B-ADDRESS", "1": "B-B-NAME", "2": "B-INVOICE NO", "3": "B-ORDER DATE", "4": "B-ORDER ID", "5": "B-S-ADDRESS", "6": "B-S-NAME", "7": "B-TOTAL GROSS", "8": "E-B-ADDRESS", "9": "E-B-NAME", "10": "E-INVOICE NO", "11": "E-ORDER DATE", "12": "E-ORDER ID", "13": "E-S-ADDRESS", "14": "E-S-NAME", "15": "E-TOTAL GROSS", "16": "I-B-ADDRESS", "17": "I-B-NAME", "18": "I-INVOICE NO", "19": "I-ORDER DATE", "20": "I-S-ADDRESS", "21": "I-S-NAME", "22": "I-TOTAL GROSS", "23": "O", "24": "S-B-ADDRESS", "25": "S-B-NAME", "26": "S-GST NO", "27": "S-INVOICE NO", "28": "S-ORDER DATE", "29": "S-ORDER ID", "30": "S-S-ADDRESS", "31": "S-S-NAME", "32": "S-TOTAL GROSS" }, "initializer_range": 0.02, "input_size": 224, "intermediate_size": 3072, "label2id": { "B-B-ADDRESS": 0, "B-B-NAME": 1, "B-INVOICE NO": 2, "B-ORDER DATE": 3, "B-ORDER ID": 4, "B-S-ADDRESS": 5, "B-S-NAME": 6, "B-TOTAL GROSS": 7, "E-B-ADDRESS": 8, "E-B-NAME": 9, "E-INVOICE NO": 10, "E-ORDER DATE": 11, "E-ORDER ID": 12, "E-S-ADDRESS": 13, "E-S-NAME": 14, "E-TOTAL GROSS": 15, "I-B-ADDRESS": 16, "I-B-NAME": 17, "I-INVOICE NO": 18, "I-ORDER DATE": 19, "I-S-ADDRESS": 20, "I-S-NAME": 21, "I-TOTAL GROSS": 22, "O": 23, "S-B-ADDRESS": 24, "S-B-NAME": 25, "S-GST NO": 26, "S-INVOICE NO": 27, "S-ORDER DATE": 28, "S-ORDER ID": 29, "S-S-ADDRESS": 30, "S-S-NAME": 31, "S-TOTAL GROSS": 32 }, "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 }