CoolFace
Modelpublic

pmorelr/layoutlm-doclaynet-binary

sourceHugging Faceupdated 4y agoView on Hugging Face
0likes8downloads
config.json54 linesDownload Raw Back to root
1{2  "_name_or_path": "microsoft/layoutlm-base-uncased",3  "architectures": [4    "LayoutLMForTokenClassification"5  ],6  "attention_probs_dropout_prob": 0.1,7  "classifier_dropout": null,8  "hidden_act": "gelu",9  "hidden_dropout_prob": 0.1,10  "hidden_size": 768,11  "id2label": {12    "0": "Caption",13    "1": "Footnote",14    "2": "Formula",15    "3": "List-Item",16    "4": "Page-Footer",17    "5": "Page-Header",18    "6": "Picture",19    "7": "Section-Header",20    "8": "Table",21    "9": "Text",22    "10": "Title"23  },24  "initializer_range": 0.02,25  "intermediate_size": 3072,26  "label2id": {27    "Caption": 0,28    "Footnote": 1,29    "Formula": 2,30    "List-Item": 3,31    "Page-Footer": 4,32    "Page-Header": 5,33    "Picture": 6,34    "Section-Header": 7,35    "Table": 8,36    "Text": 9,37    "Title": 1038  },39  "layer_norm_eps": 1e-12,40  "max_2d_position_embeddings": 1024,41  "max_position_embeddings": 512,42  "model_type": "layoutlm",43  "num_attention_heads": 12,44  "num_hidden_layers": 12,45  "output_past": true,46  "pad_token_id": 0,47  "position_embedding_type": "absolute",48  "torch_dtype": "float32",49  "transformers_version": "4.26.1",50  "type_vocab_size": 2,51  "use_cache": true,52  "vocab_size": 3052253}54