CoolFace
Apppublic

Sarath2002/Form_Understanding_sparkathon

sourceHugging Faceafl-3.0updated 3y agoView on Hugging Face
0likes
config.json59 linesDownload Raw Back to models
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": "O",18    "1": "B-HEADER",19    "2": "I-HEADER",20    "3": "B-QUESTION",21    "4": "I-QUESTION",22    "5": "B-ANSWER",23    "6": "I-ANSWER"24  },25  "initializer_range": 0.02,26  "input_size": 224,27  "intermediate_size": 3072,28  "label2id": {29    "B-ANSWER": 5,30    "B-HEADER": 1,31    "B-QUESTION": 3,32    "I-ANSWER": 6,33    "I-HEADER": 2,34    "I-QUESTION": 4,35    "O": 036  },37  "layer_norm_eps": 1e-05,38  "max_2d_position_embeddings": 1024,39  "max_position_embeddings": 514,40  "max_rel_2d_pos": 256,41  "max_rel_pos": 128,42  "model_type": "layoutlmv3",43  "num_attention_heads": 12,44  "num_channels": 3,45  "num_hidden_layers": 12,46  "pad_token_id": 1,47  "patch_size": 16,48  "rel_2d_pos_bins": 64,49  "rel_pos_bins": 32,50  "second_input_size": 112,51  "shape_size": 128,52  "text_embed": true,53  "torch_dtype": "float32",54  "transformers_version": "4.30.2",55  "type_vocab_size": 1,56  "visual_embed": true,57  "vocab_size": 5026558}59