|
{ |
|
"_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-REG_CIV_BIRTHDATE", |
|
"1": "B-REG_CIV_BLOOD", |
|
"2": "B-REG_CIV_CITYBD", |
|
"3": "B-REG_CIV_CLIN", |
|
"4": "B-REG_CIV_COUNTRYBD", |
|
"5": "B-REG_CIV_DAD_LASTNAME", |
|
"6": "B-REG_CIV_DADLUGEXP", |
|
"7": "B-REG_CIV_DADNAC", |
|
"8": "B-REG_CIV_DADNAME", |
|
"9": "B-REG_CIV_DADNUMDOC", |
|
"10": "B-REG_CIV_DADOC", |
|
"11": "B-REG_CIV_DEPBD", |
|
"12": "B-REG_CIV_GENDER", |
|
"13": "B-REG_CIV_LASTNAME1", |
|
"14": "B-REG_CIV_LASTNAME2", |
|
"15": "B-REG_CIV_MAMDOC", |
|
"16": "B-REG_CIV_MAM_LASTNAME", |
|
"17": "B-REG_CIV_MAMLUGEXP", |
|
"18": "B-REG_CIV_MAMNAC", |
|
"19": "B-REG_CIV_MAMNAME", |
|
"20": "B-REG_CIV_MAMNUMDOC", |
|
"21": "B-REG_CIV_NAME", |
|
"22": "B-REG_CIV_NUIP", |
|
"23": "B-REG_CIV_REGDATE", |
|
"24": "B-REG_CIV_RH", |
|
"25": "B-REG_CIV_SERIAL", |
|
"26": "I-REG_CIV_BIRTHDATE", |
|
"27": "I-REG_CIV_CITYBD", |
|
"28": "I-REG_CIV_CLIN", |
|
"29": "I-REG_CIV_DAD_LASTNAME", |
|
"30": "I-REG_CIV_DADLUGEXP", |
|
"31": "I-REG_CIV_DADNAME", |
|
"32": "I-REG_CIV_DADOC", |
|
"33": "I-REG_CIV_DEPBD", |
|
"34": "I-REG_CIV_MAMDOC", |
|
"35": "I-REG_CIV_MAM_LASTNAME", |
|
"36": "I-REG_CIV_MAMLUGEXP", |
|
"37": "I-REG_CIV_MAMNAME", |
|
"38": "I-REG_CIV_NAME", |
|
"39": "I-REG_CIV_REGDATE", |
|
"40": "O" |
|
}, |
|
"initializer_range": 0.02, |
|
"input_size": 224, |
|
"intermediate_size": 3072, |
|
"label2id": { |
|
"B-REG_CIV_BIRTHDATE": 0, |
|
"B-REG_CIV_BLOOD": 1, |
|
"B-REG_CIV_CITYBD": 2, |
|
"B-REG_CIV_CLIN": 3, |
|
"B-REG_CIV_COUNTRYBD": 4, |
|
"B-REG_CIV_DADLUGEXP": 6, |
|
"B-REG_CIV_DADNAC": 7, |
|
"B-REG_CIV_DADNAME": 8, |
|
"B-REG_CIV_DADNUMDOC": 9, |
|
"B-REG_CIV_DADOC": 10, |
|
"B-REG_CIV_DAD_LASTNAME": 5, |
|
"B-REG_CIV_DEPBD": 11, |
|
"B-REG_CIV_GENDER": 12, |
|
"B-REG_CIV_LASTNAME1": 13, |
|
"B-REG_CIV_LASTNAME2": 14, |
|
"B-REG_CIV_MAMDOC": 15, |
|
"B-REG_CIV_MAMLUGEXP": 17, |
|
"B-REG_CIV_MAMNAC": 18, |
|
"B-REG_CIV_MAMNAME": 19, |
|
"B-REG_CIV_MAMNUMDOC": 20, |
|
"B-REG_CIV_MAM_LASTNAME": 16, |
|
"B-REG_CIV_NAME": 21, |
|
"B-REG_CIV_NUIP": 22, |
|
"B-REG_CIV_REGDATE": 23, |
|
"B-REG_CIV_RH": 24, |
|
"B-REG_CIV_SERIAL": 25, |
|
"I-REG_CIV_BIRTHDATE": 26, |
|
"I-REG_CIV_CITYBD": 27, |
|
"I-REG_CIV_CLIN": 28, |
|
"I-REG_CIV_DADLUGEXP": 30, |
|
"I-REG_CIV_DADNAME": 31, |
|
"I-REG_CIV_DADOC": 32, |
|
"I-REG_CIV_DAD_LASTNAME": 29, |
|
"I-REG_CIV_DEPBD": 33, |
|
"I-REG_CIV_MAMDOC": 34, |
|
"I-REG_CIV_MAMLUGEXP": 36, |
|
"I-REG_CIV_MAMNAME": 37, |
|
"I-REG_CIV_MAM_LASTNAME": 35, |
|
"I-REG_CIV_NAME": 38, |
|
"I-REG_CIV_REGDATE": 39, |
|
"O": 40 |
|
}, |
|
"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.29.2", |
|
"type_vocab_size": 1, |
|
"visual_embed": true, |
|
"vocab_size": 50265 |
|
} |
|
|