CoolFace
Modelpublic

Dongwookss/Visual_information_extraction

sourceHugging Facemitupdated 2y agoView on Hugging Face
0likes8downloads
config.json55 linesDownload Raw Back to root
1{2  "_name_or_path": "microsoft/layoutlmv3-base",3  "architectures": [4    "LayoutLMv3ForTokenClassification"5  ],6  "attention_probs_dropout_prob": 0.1,7  "bos_token_id": 0,8  "classifier_dropout": null,9  "coordinate_size": 128,10  "eos_token_id": 2,11  "has_relative_attention_bias": true,12  "has_spatial_attention_bias": true,13  "hidden_act": "gelu",14  "hidden_dropout_prob": 0.1,15  "hidden_size": 768,16  "id2label": {17    "0": "S-COMPANY",18    "1": "S-DATE",19    "2": "S-ADDRESS",20    "3": "S-TOTAL",21    "4": "O"22  },23  "initializer_range": 0.02,24  "input_size": 224,25  "intermediate_size": 3072,26  "label2id": {27    "O": 4,28    "S-ADDRESS": 2,29    "S-COMPANY": 0,30    "S-DATE": 1,31    "S-TOTAL": 332  },33  "layer_norm_eps": 1e-05,34  "max_2d_position_embeddings": 1024,35  "max_position_embeddings": 514,36  "max_rel_2d_pos": 256,37  "max_rel_pos": 128,38  "model_type": "layoutlmv3",39  "num_attention_heads": 12,40  "num_channels": 3,41  "num_hidden_layers": 12,42  "pad_token_id": 1,43  "patch_size": 16,44  "rel_2d_pos_bins": 64,45  "rel_pos_bins": 32,46  "second_input_size": 112,47  "shape_size": 128,48  "text_embed": true,49  "torch_dtype": "float32",50  "transformers_version": "4.46.2",51  "type_vocab_size": 1,52  "visual_embed": true,53  "vocab_size": 5026554}55