layoutlmv3-final-v5-BI / config.json
noavm's picture
Training in progress, step 500
eea0545
{
"_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": "I-SENDERADRESS",
"1": "I-SENDERCITY",
"10": "B-RECEIVERNAME",
"11": "B-SENDERZIPCODE",
"12": "I-REFERENCE",
"13": "B-RECEIVERADRESS",
"14": "B-INVOICEDATE",
"15": "I-INVOICEDATE",
"16": "B-VATAMOUNT",
"17": "B-SENDERCITY",
"18": "B-RECEIVERZIPCODE",
"19": "I-SENDERZIPCODE",
"2": "I-RECEIVERADRESS",
"20": "I-RECEIVERNAME",
"21": "B-TOTALAMOUNT",
"22": "I-EXPIRATIONDATE",
"23": "I-RECEIVERCITY",
"24": "B-REFERENCE",
"25": "B-RECEIVERCITY",
"3": "I-SENDERNAME",
"4": "B-SENDERNAME",
"5": "I-RECEIVERZIPCODE",
"6": "B-SENDERADRESS",
"7": "I-TOTALAMOUNT",
"8": "B-EXPIRATIONDATE",
"9": "I-VATAMOUNT"
},
"initializer_range": 0.02,
"input_size": 224,
"intermediate_size": 3072,
"label2id": {
"B-EXPIRATIONDATE": 8,
"B-INVOICEDATE": 14,
"B-RECEIVERADRESS": 13,
"B-RECEIVERCITY": 25,
"B-RECEIVERNAME": 10,
"B-RECEIVERZIPCODE": 18,
"B-REFERENCE": 24,
"B-SENDERADRESS": 6,
"B-SENDERCITY": 17,
"B-SENDERNAME": 4,
"B-SENDERZIPCODE": 11,
"B-TOTALAMOUNT": 21,
"B-VATAMOUNT": 16,
"I-EXPIRATIONDATE": 22,
"I-INVOICEDATE": 15,
"I-RECEIVERADRESS": 2,
"I-RECEIVERCITY": 23,
"I-RECEIVERNAME": 20,
"I-RECEIVERZIPCODE": 5,
"I-REFERENCE": 12,
"I-SENDERADRESS": 0,
"I-SENDERCITY": 1,
"I-SENDERNAME": 3,
"I-SENDERZIPCODE": 19,
"I-TOTALAMOUNT": 7,
"I-VATAMOUNT": 9
},
"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.30.0.dev0",
"type_vocab_size": 1,
"visual_embed": true,
"vocab_size": 50265
}