Team Ai
Modelpublic

fedihch/InvoiceReceiptClassifier_LayoutLMv3

sourceHugging Faceotherupdated 4y agoView on Hugging Face
1likes16downloads
config.json86 linesDownload Raw Back to root
1{2  "_name_or_path": "Mymodel_2022_08_10-03:14:58_PM",3  "architectures": [4    "LayoutLMv3Model"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    "6": "LABEL_6",24    "7": "LABEL_7",25    "8": "LABEL_8",26    "9": "LABEL_9",27    "10": "LABEL_10",28    "11": "LABEL_11",29    "12": "LABEL_12",30    "13": "LABEL_13",31    "14": "LABEL_14",32    "15": "LABEL_15",33    "16": "LABEL_16",34    "17": "LABEL_17",35    "18": "LABEL_18",36    "19": "LABEL_19"37  },38  "initializer_range": 0.02,39  "input_size": 224,40  "intermediate_size": 3072,41  "label2id": {42    "LABEL_0": 0,43    "LABEL_1": 1,44    "LABEL_10": 10,45    "LABEL_11": 11,46    "LABEL_12": 12,47    "LABEL_13": 13,48    "LABEL_14": 14,49    "LABEL_15": 15,50    "LABEL_16": 16,51    "LABEL_17": 17,52    "LABEL_18": 18,53    "LABEL_19": 19,54    "LABEL_2": 2,55    "LABEL_3": 3,56    "LABEL_4": 4,57    "LABEL_5": 5,58    "LABEL_6": 6,59    "LABEL_7": 7,60    "LABEL_8": 8,61    "LABEL_9": 962  },63  "layer_norm_eps": 1e-05,64  "max_2d_position_embeddings": 1024,65  "max_position_embeddings": 514,66  "max_rel_2d_pos": 256,67  "max_rel_pos": 128,68  "model_type": "layoutlmv3",69  "num_attention_heads": 12,70  "num_channels": 3,71  "num_hidden_layers": 12,72  "pad_token_id": 1,73  "patch_size": 16,74  "problem_type": "single_label_classification",75  "rel_2d_pos_bins": 64,76  "rel_pos_bins": 32,77  "second_input_size": 112,78  "shape_size": 128,79  "text_embed": true,80  "torch_dtype": "float32",81  "transformers_version": "4.21.0",82  "type_vocab_size": 1,83  "visual_embed": true,84  "vocab_size": 5026585}86