CoolFace
Modelpublic

MuafiraThasni/layout-classification-doclaynet-base

sourceHugging Facemitupdated 2y agoView on Hugging Face
1likes31downloads
config.json57 linesDownload Raw Back to root
1{2  "_name_or_path": "nielsr/lilt-xlm-roberta-base",3  "architectures": [4    "LiltForTokenClassification"5  ],6  "attention_probs_dropout_prob": 0.1,7  "bos_token_id": 0,8  "channel_shrink_ratio": 4,9  "classifier_dropout": null,10  "eos_token_id": 2,11  "hidden_act": "gelu",12  "hidden_dropout_prob": 0.1,13  "hidden_size": 768,14  "id2label": {15    "0": "Caption",16    "1": "Footnote",17    "2": "Formula",18    "3": "List-item",19    "4": "Page-footer",20    "5": "Page-header",21    "6": "Picture",22    "7": "Section-header",23    "8": "Table",24    "9": "Text",25    "10": "Title"26  },27  "initializer_range": 0.02,28  "intermediate_size": 3072,29  "label2id": {30    "Caption": 0,31    "Footnote": 1,32    "Formula": 2,33    "List-item": 3,34    "Page-footer": 4,35    "Page-header": 5,36    "Picture": 6,37    "Section-header": 7,38    "Table": 8,39    "Text": 9,40    "Title": 1041  },42  "layer_norm_eps": 1e-05,43  "max_2d_position_embeddings": 1024,44  "max_position_embeddings": 514,45  "model_type": "lilt",46  "num_attention_heads": 12,47  "num_hidden_layers": 12,48  "output_past": true,49  "pad_token_id": 1,50  "position_embedding_type": "absolute",51  "torch_dtype": "float32",52  "transformers_version": "4.42.3",53  "type_vocab_size": 1,54  "use_cache": true,55  "vocab_size": 25000256}57