{ "_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-AMOU", "1": "B-ATT", "2": "B-CED", "3": "B-CTY", "4": "B-CUPS", "5": "B-DATE", "6": "B-DIAG", "7": "B-DIAT", "8": "B-EVT", "9": "B-GEA", "10": "B-IDP", "11": "B-IDTR", "12": "B-IDTY", "13": "B-NIT", "14": "B-PER", "15": "B-PROC", "16": "B-PROV", "17": "B-SPA", "18": "B-SPE", "19": "B-TRE", "20": "B-OBS", "21": "B-JST", "22": "I-AMOU", "23": "I-ATT", "24": "I-CED", "25": "I-CTY", "26": "I-CUPS", "27": "I-DATE", "28": "I-DIAG", "29": "I-DIAT", "30": "I-EVT", "31": "I-GEA", "32": "I-IDP", "33": "I-IDTR", "34": "I-IDTY", "35": "I-NIT", "36": "I-PER", "37": "I-PROC", "38": "I-PROV", "39": "I-SPA", "40": "I-SPE", "41": "I-TRE", "42": "O", "43": "BDTP", "44": "I-OBS", "45": "I-JST" }, "initializer_range": 0.02, "input_size": 224, "intermediate_size": 3072, "label2id": { "B-AMOU": 0, "B-ATT": 1, "B-CED": 2, "B-CTY": 3, "B-CUPS": 4, "B-DATE": 5, "B-DIAG": 6, "B-DIAT": 7, "B-EVT": 8, "B-GEA": 9, "B-IDP": 10, "B-IDTR": 11, "B-IDTY": 12, "B-JST": 21, "B-NIT": 13, "B-OBS": 20, "B-PER": 14, "B-PROC": 15, "B-PROV": 16, "B-SPA": 17, "B-SPE": 18, "B-TRE": 19, "BDTP": 43, "I-AMOU": 22, "I-ATT": 23, "I-CED": 24, "I-CTY": 25, "I-CUPS": 26, "I-DATE": 27, "I-DIAG": 28, "I-DIAT": 29, "I-EVT": 30, "I-GEA": 31, "I-IDP": 32, "I-IDTR": 33, "I-IDTY": 34, "I-JST": 45, "I-NIT": 35, "I-OBS": 44, "I-PER": 36, "I-PROC": 37, "I-PROV": 38, "I-SPA": 39, "I-SPE": 40, "I-TRE": 41, "O": 42 }, "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.26.0", "type_vocab_size": 1, "visual_embed": true, "vocab_size": 50265 }