{ "_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": "card_number_key", "1": "card_number_val", "2": "class_2_val", "3": "class_key", "4": "class_val", "5": "conditions_key", "6": "conditions_val", "7": "copuntry_2_val", "8": "country_val", "9": "date_of_birth_key", "10": "date_of_birth_val", "11": "driver's_licence_title_val", "12": "expiry_date_2_val", "13": "expiry_date_key", "14": "expiry_date_val", "15": "family_name_val", "16": "first_name_val", "17": "issue_date_2_val", "18": "issue_date_key", "19": "issue_date_val", "20": "licence_number_key", "21": "licence_number_val", "22": "provider_2_val", "23": "provider_val", "24": "state_val", "25": "type_2_val ", "26": "type_key", "27": "type_val" }, "initializer_range": 0.02, "input_size": 224, "intermediate_size": 3072, "label2id": { "card_number_key": 0, "card_number_val": 1, "class_2_val": 2, "class_key": 3, "class_val": 4, "conditions_key": 5, "conditions_val": 6, "copuntry_2_val": 7, "country_val": 8, "date_of_birth_key": 9, "date_of_birth_val": 10, "driver's_licence_title_val": 11, "expiry_date_2_val": 12, "expiry_date_key": 13, "expiry_date_val": 14, "family_name_val": 15, "first_name_val": 16, "issue_date_2_val": 17, "issue_date_key": 18, "issue_date_val": 19, "licence_number_key": 20, "licence_number_val": 21, "provider_2_val": 22, "provider_val": 23, "state_val": 24, "type_2_val ": 25, "type_key": 26, "type_val": 27 }, "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.38.2", "type_vocab_size": 1, "visual_embed": true, "vocab_size": 50265 }