|
{ |
|
"_name_or_path": "microsoft/layoutlmv3-large", |
|
"architectures": [ |
|
"LayoutLMv3ForTokenClassification" |
|
], |
|
"attention_probs_dropout_prob": 0.1, |
|
"bos_token_id": 0, |
|
"classifier_dropout": null, |
|
"coordinate_size": 171, |
|
"eos_token_id": 2, |
|
"has_relative_attention_bias": true, |
|
"has_spatial_attention_bias": true, |
|
"hidden_act": "gelu", |
|
"hidden_dropout_prob": 0.1, |
|
"hidden_size": 1024, |
|
"id2label": { |
|
"0": "person_name", |
|
"1": "dob_key", |
|
"2": "dob_value", |
|
"3": "gender_key", |
|
"4": "gender_value", |
|
"5": "phonenumber_key", |
|
"6": "phonenumber_value", |
|
"7": "email_key", |
|
"8": "email_value", |
|
"9": "address_key", |
|
"10": "address_value", |
|
"11": "socical_address_value", |
|
"12": "education", |
|
"13": "education_name", |
|
"14": "education_time", |
|
"15": "experience", |
|
"16": "experience_name", |
|
"17": "experience_time", |
|
"18": "information", |
|
"19": "undefined" |
|
}, |
|
"initializer_range": 0.02, |
|
"input_size": 224, |
|
"intermediate_size": 4096, |
|
"label2id": { |
|
"address_key": 9, |
|
"address_value": 10, |
|
"dob_key": 1, |
|
"dob_value": 2, |
|
"education": 12, |
|
"education_name": 13, |
|
"education_time": 14, |
|
"email_key": 7, |
|
"email_value": 8, |
|
"experience": 15, |
|
"experience_name": 16, |
|
"experience_time": 17, |
|
"gender_key": 3, |
|
"gender_value": 4, |
|
"information": 18, |
|
"person_name": 0, |
|
"phonenumber_key": 5, |
|
"phonenumber_value": 6, |
|
"socical_address_value": 11, |
|
"undefined": 19 |
|
}, |
|
"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": 16, |
|
"num_channels": 3, |
|
"num_hidden_layers": 24, |
|
"pad_token_id": 1, |
|
"patch_size": 16, |
|
"rel_2d_pos_bins": 64, |
|
"rel_pos_bins": 32, |
|
"second_input_size": 112, |
|
"shape_size": 170, |
|
"text_embed": true, |
|
"torch_dtype": "float32", |
|
"transformers_version": "4.27.4", |
|
"type_vocab_size": 1, |
|
"visual_embed": true, |
|
"vocab_size": 50265 |
|
} |
|
|