Upload LayoutLMv3ForSequenceClassification
Browse files- config.json +64 -0
- pytorch_model.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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": "Clinical Notes",
|
| 18 |
+
"1": "Patient Provided",
|
| 19 |
+
"2": "Consent",
|
| 20 |
+
"3": "Radiology",
|
| 21 |
+
"4": "Diagnostic",
|
| 22 |
+
"5": "Disability",
|
| 23 |
+
"6": "Laboratory",
|
| 24 |
+
"7": "Orders",
|
| 25 |
+
"8": "Registration",
|
| 26 |
+
"9": "Insurance"
|
| 27 |
+
},
|
| 28 |
+
"initializer_range": 0.02,
|
| 29 |
+
"input_size": 224,
|
| 30 |
+
"intermediate_size": 3072,
|
| 31 |
+
"label2id": {
|
| 32 |
+
"Clinical Notes": 0,
|
| 33 |
+
"Consent": 2,
|
| 34 |
+
"Diagnostic": 4,
|
| 35 |
+
"Disability": 5,
|
| 36 |
+
"Insurance": 9,
|
| 37 |
+
"Laboratory": 6,
|
| 38 |
+
"Orders": 7,
|
| 39 |
+
"Patient Provided": 1,
|
| 40 |
+
"Radiology": 3,
|
| 41 |
+
"Registration": 8
|
| 42 |
+
},
|
| 43 |
+
"layer_norm_eps": 1e-05,
|
| 44 |
+
"max_2d_position_embeddings": 1024,
|
| 45 |
+
"max_position_embeddings": 514,
|
| 46 |
+
"max_rel_2d_pos": 256,
|
| 47 |
+
"max_rel_pos": 128,
|
| 48 |
+
"model_type": "layoutlmv3",
|
| 49 |
+
"num_attention_heads": 12,
|
| 50 |
+
"num_channels": 3,
|
| 51 |
+
"num_hidden_layers": 12,
|
| 52 |
+
"pad_token_id": 1,
|
| 53 |
+
"patch_size": 16,
|
| 54 |
+
"rel_2d_pos_bins": 64,
|
| 55 |
+
"rel_pos_bins": 32,
|
| 56 |
+
"second_input_size": 112,
|
| 57 |
+
"shape_size": 128,
|
| 58 |
+
"text_embed": true,
|
| 59 |
+
"torch_dtype": "float32",
|
| 60 |
+
"transformers_version": "4.27.2",
|
| 61 |
+
"type_vocab_size": 1,
|
| 62 |
+
"visual_embed": true,
|
| 63 |
+
"vocab_size": 50265
|
| 64 |
+
}
|
pytorch_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a35449f33e5bca70b0788ccb978c01f7524a350d1bcfbe3e371ed6acf38fabff
|
| 3 |
+
size 503777009
|