Team Ai
Modelpublic

Suchit037/SmartDocs-DocumentClassification

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes9downloads
config.json58 linesDownload Raw Back to root
1{2  "_name_or_path": "microsoft/layoutlmv3-base",3  "architectures": [4    "LayoutLMv3ForSequenceClassification"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": "LABEL_0",18    "1": "LABEL_1",19    "2": "LABEL_2",20    "3": "LABEL_3",21    "4": "LABEL_4",22    "5": "LABEL_5"23  },24  "initializer_range": 0.02,25  "input_size": 224,26  "intermediate_size": 3072,27  "label2id": {28    "LABEL_0": 0,29    "LABEL_1": 1,30    "LABEL_2": 2,31    "LABEL_3": 3,32    "LABEL_4": 4,33    "LABEL_5": 534  },35  "layer_norm_eps": 1e-05,36  "max_2d_position_embeddings": 1024,37  "max_position_embeddings": 514,38  "max_rel_2d_pos": 256,39  "max_rel_pos": 128,40  "model_type": "layoutlmv3",41  "num_attention_heads": 12,42  "num_channels": 3,43  "num_hidden_layers": 12,44  "pad_token_id": 1,45  "patch_size": 16,46  "problem_type": "single_label_classification",47  "rel_2d_pos_bins": 64,48  "rel_pos_bins": 32,49  "second_input_size": 112,50  "shape_size": 128,51  "text_embed": true,52  "torch_dtype": "float32",53  "transformers_version": "4.46.3",54  "type_vocab_size": 1,55  "visual_embed": true,56  "vocab_size": 5026557}58