Sebabrata's picture
Training in progress, epoch 1
536f089
raw
history blame
5.6 kB
{
"_name_or_path": "microsoft/layoutlmv2-base-uncased",
"architectures": [
"LayoutLMv2ForTokenClassification"
],
"attention_probs_dropout_prob": 0.1,
"convert_sync_batchnorm": true,
"coordinate_size": 128,
"detectron2_config_args": {
"MODEL.ANCHOR_GENERATOR.SIZES": [
[
32
],
[
64
],
[
128
],
[
256
],
[
512
]
],
"MODEL.BACKBONE.NAME": "build_resnet_fpn_backbone",
"MODEL.FPN.IN_FEATURES": [
"res2",
"res3",
"res4",
"res5"
],
"MODEL.MASK_ON": true,
"MODEL.PIXEL_STD": [
57.375,
57.12,
58.395
],
"MODEL.POST_NMS_TOPK_TEST": 1000,
"MODEL.RESNETS.ASPECT_RATIOS": [
[
0.5,
1.0,
2.0
]
],
"MODEL.RESNETS.DEPTH": 101,
"MODEL.RESNETS.NUM_GROUPS": 32,
"MODEL.RESNETS.OUT_FEATURES": [
"res2",
"res3",
"res4",
"res5"
],
"MODEL.RESNETS.SIZES": [
[
32
],
[
64
],
[
128
],
[
256
],
[
512
]
],
"MODEL.RESNETS.STRIDE_IN_1X1": false,
"MODEL.RESNETS.WIDTH_PER_GROUP": 8,
"MODEL.ROI_BOX_HEAD.NAME": "FastRCNNConvFCHead",
"MODEL.ROI_BOX_HEAD.NUM_FC": 2,
"MODEL.ROI_BOX_HEAD.POOLER_RESOLUTION": 14,
"MODEL.ROI_HEADS.IN_FEATURES": [
"p2",
"p3",
"p4",
"p5"
],
"MODEL.ROI_HEADS.NAME": "StandardROIHeads",
"MODEL.ROI_HEADS.NUM_CLASSES": 5,
"MODEL.ROI_MASK_HEAD.NAME": "MaskRCNNConvUpsampleHead",
"MODEL.ROI_MASK_HEAD.NUM_CONV": 4,
"MODEL.ROI_MASK_HEAD.POOLER_RESOLUTION": 7,
"MODEL.RPN.IN_FEATURES": [
"p2",
"p3",
"p4",
"p5",
"p6"
],
"MODEL.RPN.POST_NMS_TOPK_TRAIN": 1000,
"MODEL.RPN.PRE_NMS_TOPK_TEST": 1000,
"MODEL.RPN.PRE_NMS_TOPK_TRAIN": 2000
},
"fast_qkv": true,
"gradient_checkpointing": false,
"has_relative_attention_bias": true,
"has_spatial_attention_bias": true,
"has_visual_segment_embedding": false,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.1,
"hidden_size": 768,
"id2label": {
"0": "O",
"1": "I-EMPLOYER\u2019S_NAME",
"2": "B-FEDERAL_INCOME_TAX_WITHHELD",
"3": "I-CONTROL_NUMBER",
"4": "I-WAGES_TIPS",
"5": "E-EMPLOYEE\u2019S_NAME",
"6": "S-EIN",
"7": "B-EMPLOYEE\u2019S_NAME",
"8": "I-MEDICARE_WAGES_TIPS",
"9": "S-FEDERAL_INCOME_TAX_WITHHELD",
"10": "B-SOCIAL_SECURITY_WAGES",
"11": "S-SOCIAL_SECURITY_WAGES",
"12": "B-EMPLOYER\u2019S_NAME",
"13": "E-EMPLOYER\u2019S_NAME",
"14": "I-SOCIAL_SECURITY_WAGES",
"15": "B-EMPLOYEE\u2019S_ADDRESS",
"16": "S-SOCIAL_SECURITY_TAX_WITHHELD",
"17": "E-FEDERAL_INCOME_TAX_WITHHELD",
"18": "S-EMPLOYEE\u2019S_ADDRESS",
"19": "B-WAGES_TIPS",
"20": "S-MEDICARE_TAX_WITHHELD",
"21": "E-WAGES_TIPS",
"22": "B-CONTROL_NUMBER",
"23": "E-SOCIAL_SECURITY_WAGES",
"24": "I-FEDERAL_INCOME_TAX_WITHHELD",
"25": "S-CONTROL_NUMBER",
"26": "S-MEDICARE_WAGES_TIPS",
"27": "I-EMPLOYEE\u2019S_ADDRESS",
"28": "S-EMPLOYEE\u2019S_NAME",
"29": "E-EMPLOYER\u2019S_ADDRESS",
"30": "E-CONTROL_NUMBER",
"31": "S-WAGES_TIPS",
"32": "B-EMPLOYER\u2019S_ADDRESS",
"33": "E-EIN",
"34": "B-EIN",
"35": "B-MEDICARE_WAGES_TIPS",
"36": "I-EIN",
"37": "I-EMPLOYER\u2019S_ADDRESS",
"38": "E-MEDICARE_WAGES_TIPS",
"39": "S-EMPLOYER\u2019S_NAME",
"40": "S-EMPLOYEE\u2019S_SSN",
"41": "I-EMPLOYEE\u2019S_NAME",
"42": "E-EMPLOYEE\u2019S_ADDRESS"
},
"image_feature_pool_shape": [
7,
7,
256
],
"initializer_range": 0.02,
"intermediate_size": 3072,
"label2id": {
"B-CONTROL_NUMBER": 22,
"B-EIN": 34,
"B-EMPLOYEE\u2019S_ADDRESS": 15,
"B-EMPLOYEE\u2019S_NAME": 7,
"B-EMPLOYER\u2019S_ADDRESS": 32,
"B-EMPLOYER\u2019S_NAME": 12,
"B-FEDERAL_INCOME_TAX_WITHHELD": 2,
"B-MEDICARE_WAGES_TIPS": 35,
"B-SOCIAL_SECURITY_WAGES": 10,
"B-WAGES_TIPS": 19,
"E-CONTROL_NUMBER": 30,
"E-EIN": 33,
"E-EMPLOYEE\u2019S_ADDRESS": 42,
"E-EMPLOYEE\u2019S_NAME": 5,
"E-EMPLOYER\u2019S_ADDRESS": 29,
"E-EMPLOYER\u2019S_NAME": 13,
"E-FEDERAL_INCOME_TAX_WITHHELD": 17,
"E-MEDICARE_WAGES_TIPS": 38,
"E-SOCIAL_SECURITY_WAGES": 23,
"E-WAGES_TIPS": 21,
"I-CONTROL_NUMBER": 3,
"I-EIN": 36,
"I-EMPLOYEE\u2019S_ADDRESS": 27,
"I-EMPLOYEE\u2019S_NAME": 41,
"I-EMPLOYER\u2019S_ADDRESS": 37,
"I-EMPLOYER\u2019S_NAME": 1,
"I-FEDERAL_INCOME_TAX_WITHHELD": 24,
"I-MEDICARE_WAGES_TIPS": 8,
"I-SOCIAL_SECURITY_WAGES": 14,
"I-WAGES_TIPS": 4,
"O": 0,
"S-CONTROL_NUMBER": 25,
"S-EIN": 6,
"S-EMPLOYEE\u2019S_ADDRESS": 18,
"S-EMPLOYEE\u2019S_NAME": 28,
"S-EMPLOYEE\u2019S_SSN": 40,
"S-EMPLOYER\u2019S_NAME": 39,
"S-FEDERAL_INCOME_TAX_WITHHELD": 9,
"S-MEDICARE_TAX_WITHHELD": 20,
"S-MEDICARE_WAGES_TIPS": 26,
"S-SOCIAL_SECURITY_TAX_WITHHELD": 16,
"S-SOCIAL_SECURITY_WAGES": 11,
"S-WAGES_TIPS": 31
},
"layer_norm_eps": 1e-12,
"max_2d_position_embeddings": 1024,
"max_position_embeddings": 512,
"max_rel_2d_pos": 256,
"max_rel_pos": 128,
"model_type": "layoutlmv2",
"num_attention_heads": 12,
"num_hidden_layers": 12,
"output_past": true,
"pad_token_id": 0,
"rel_2d_pos_bins": 64,
"rel_pos_bins": 32,
"shape_size": 128,
"torch_dtype": "float32",
"transformers_version": "4.22.0.dev0",
"type_vocab_size": 2,
"vocab_size": 30522
}