layoutlmv3 / config.json
hslee's picture
Upload LayoutLMv3ForTokenClassification
adfa9c6
{
"_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": "O",
"1": "B-\uac1c\uc5c5\uc5f0\uc6d4\uc77c",
"2": "B-\uacfc\uc138\uad6c\ubd84",
"3": "B-\ub300\ud45c\uc790",
"4": "B-\ub4f1\ub85d\ubc88\ud638",
"5": "B-\ubc1c\uae09\uc0ac\uc720",
"6": "B-\ubc1c\uae09\uc77c",
"7": "B-\ubc95\uc778\ub4f1\ub85d\ubc88\ud638",
"8": "B-\ubcf8\uc810\uc18c\uc7ac\uc9c0",
"9": "B-\uc0ac\uc5c5\uc7a5\uc18c\uc7ac\uc9c0",
"10": "B-\uc5c5\uc885",
"11": "B-\uc5c5\ud0dc",
"12": "B-\ud68c\uc0ac\uba85",
"13": "I-\uac1c\uc5c5\uc5f0\uc6d4\uc77c",
"14": "I-\uacfc\uc138\uad6c\ubd84",
"15": "I-\ub300\ud45c\uc790",
"16": "I-\ub4f1\ub85d\ubc88\ud638",
"17": "I-\ubc1c\uae09\uc0ac\uc720",
"18": "I-\ubc1c\uae09\uc77c",
"19": "I-\ubc95\uc778\ub4f1\ub85d\ubc88\ud638",
"20": "I-\ubcf8\uc810\uc18c\uc7ac\uc9c0",
"21": "I-\uc0ac\uc5c5\uc7a5\uc18c\uc7ac\uc9c0",
"22": "I-\uc5c5\uc885",
"23": "I-\uc5c5\ud0dc",
"24": "I-\ud68c\uc0ac\uba85"
},
"initializer_range": 0.02,
"input_size": 224,
"intermediate_size": 3072,
"label2id": {
"B-\uac1c\uc5c5\uc5f0\uc6d4\uc77c": 1,
"B-\uacfc\uc138\uad6c\ubd84": 2,
"B-\ub300\ud45c\uc790": 3,
"B-\ub4f1\ub85d\ubc88\ud638": 4,
"B-\ubc1c\uae09\uc0ac\uc720": 5,
"B-\ubc1c\uae09\uc77c": 6,
"B-\ubc95\uc778\ub4f1\ub85d\ubc88\ud638": 7,
"B-\ubcf8\uc810\uc18c\uc7ac\uc9c0": 8,
"B-\uc0ac\uc5c5\uc7a5\uc18c\uc7ac\uc9c0": 9,
"B-\uc5c5\uc885": 10,
"B-\uc5c5\ud0dc": 11,
"B-\ud68c\uc0ac\uba85": 12,
"I-\uac1c\uc5c5\uc5f0\uc6d4\uc77c": 13,
"I-\uacfc\uc138\uad6c\ubd84": 14,
"I-\ub300\ud45c\uc790": 15,
"I-\ub4f1\ub85d\ubc88\ud638": 16,
"I-\ubc1c\uae09\uc0ac\uc720": 17,
"I-\ubc1c\uae09\uc77c": 18,
"I-\ubc95\uc778\ub4f1\ub85d\ubc88\ud638": 19,
"I-\ubcf8\uc810\uc18c\uc7ac\uc9c0": 20,
"I-\uc0ac\uc5c5\uc7a5\uc18c\uc7ac\uc9c0": 21,
"I-\uc5c5\uc885": 22,
"I-\uc5c5\ud0dc": 23,
"I-\ud68c\uc0ac\uba85": 24,
"O": 0
},
"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
}