File size: 3,488 Bytes
30f593c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 |
{
"_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
}
|