coverpage2 / config.json
jamielee's picture
Upload LayoutLMv3ForTokenClassification
d49b134 verified
{
"_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-DAForm4082",
"2": "B-Title",
"3": "B-bankDeposit",
"4": "B-bankDepositFC",
"5": "B-cashJournal",
"6": "B-cashReceipt",
"7": "B-contracts",
"8": "B-creditCardReport",
"9": "B-dar",
"10": "B-facility",
"11": "B-fdd",
"12": "B-fdm",
"13": "B-fdy",
"14": "B-fileName",
"15": "B-form5069",
"16": "B-garrison",
"17": "B-glDistrobution",
"18": "B-ldd",
"19": "B-ldm",
"20": "B-other3type",
"21": "B-ldy",
"22": "B-locationCode",
"23": "B-other1",
"24": "B-other1Type",
"25": "B-otherType2",
"26": "B-other1type",
"27": "B-otherType1",
"28": "B-other2",
"29": "B-other2Type",
"30": "B-other2type",
"31": "B-other3",
"32": "B-other3Type",
"33": "B-otherType3",
"34": "B-returnChecks",
"35": "B-senderEmail",
"36": "B-senderName",
"37": "B-senderPhone",
"38": "B-submission",
"39": "B-ticket",
"40": "B-tips",
"41": "B-totalPages",
"42": "B-tour",
"43": "B-vending",
"44": "B-datePrepared",
"45": "I-DAForm4082",
"46": "I-Title",
"47": "I-bankDeposit",
"48": "I-bankDepositFC",
"49": "I-cashJournal",
"50": "I-cashReceipt",
"51": "I-contracts",
"52": "I-creditCardReport",
"53": "I-dar",
"54": "I-facility",
"55": "I-fdd",
"56": "I-fdm",
"57": "I-fdy",
"58": "I-fileName",
"59": "I-form5069",
"60": "I-garrison",
"61": "I-glDistrobution",
"62": "I-ldd",
"63": "I-ldm",
"64": "I-ldy",
"65": "I-locationCode",
"66": "I-other1",
"67": "I-other1Type",
"68": "I-other2",
"69": "I-other2Type",
"70": "I-other3",
"71": "I-other3Type",
"72": "I-returnChecks",
"73": "I-senderEmail",
"74": "I-senderName",
"75": "I-senderPhone",
"76": "I-submission",
"77": "I-ticket",
"78": "I-tips",
"79": "I-totalPages",
"80": "I-tour",
"81": "I-vending"
},
"initializer_range": 0.02,
"input_size": 224,
"intermediate_size": 3072,
"label2id": {
"B-DAForm4082": 1,
"B-Title": 2,
"B-bankDeposit": 3,
"B-bankDepositFC": 4,
"B-cashJournal": 5,
"B-cashReceipt": 6,
"B-contracts": 7,
"B-creditCardReport": 8,
"B-dar": 9,
"B-datePrepared": 44,
"B-facility": 10,
"B-fdd": 11,
"B-fdm": 12,
"B-fdy": 13,
"B-fileName": 14,
"B-form5069": 15,
"B-garrison": 16,
"B-glDistrobution": 17,
"B-ldd": 18,
"B-ldm": 19,
"B-ldy": 21,
"B-locationCode": 22,
"B-other1": 23,
"B-other1Type": 24,
"B-other1type": 26,
"B-other2": 28,
"B-other2Type": 29,
"B-other2type": 30,
"B-other3": 31,
"B-other3Type": 32,
"B-other3type": 20,
"B-otherType1": 27,
"B-otherType2": 25,
"B-otherType3": 33,
"B-returnChecks": 34,
"B-senderEmail": 35,
"B-senderName": 36,
"B-senderPhone": 37,
"B-submission": 38,
"B-ticket": 39,
"B-tips": 40,
"B-totalPages": 41,
"B-tour": 42,
"B-vending": 43,
"I-DAForm4082": 45,
"I-Title": 46,
"I-bankDeposit": 47,
"I-bankDepositFC": 48,
"I-cashJournal": 49,
"I-cashReceipt": 50,
"I-contracts": 51,
"I-creditCardReport": 52,
"I-dar": 53,
"I-facility": 54,
"I-fdd": 55,
"I-fdm": 56,
"I-fdy": 57,
"I-fileName": 58,
"I-form5069": 59,
"I-garrison": 60,
"I-glDistrobution": 61,
"I-ldd": 62,
"I-ldm": 63,
"I-ldy": 64,
"I-locationCode": 65,
"I-other1": 66,
"I-other1Type": 67,
"I-other2": 68,
"I-other2Type": 69,
"I-other3": 70,
"I-other3Type": 71,
"I-returnChecks": 72,
"I-senderEmail": 73,
"I-senderName": 74,
"I-senderPhone": 75,
"I-submission": 76,
"I-ticket": 77,
"I-tips": 78,
"I-totalPages": 79,
"I-tour": 80,
"I-vending": 81,
"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.34.1",
"type_vocab_size": 1,
"visual_embed": true,
"vocab_size": 50265
}