ishdes commited on
Commit
57e2bb9
1 Parent(s): 689c048

Upload LayoutLMv3ForSequenceClassification

Browse files
Files changed (2) hide show
  1. config.json +48 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Not Clinically Relevant",
18
+ "1": "Clinically Relevant"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "input_size": 224,
22
+ "intermediate_size": 3072,
23
+ "label2id": {
24
+ "Clinically Relevant": 1,
25
+ "Not Clinically Relevant": 0
26
+ },
27
+ "layer_norm_eps": 1e-05,
28
+ "max_2d_position_embeddings": 1024,
29
+ "max_position_embeddings": 514,
30
+ "max_rel_2d_pos": 256,
31
+ "max_rel_pos": 128,
32
+ "model_type": "layoutlmv3",
33
+ "num_attention_heads": 12,
34
+ "num_channels": 3,
35
+ "num_hidden_layers": 12,
36
+ "pad_token_id": 1,
37
+ "patch_size": 16,
38
+ "rel_2d_pos_bins": 64,
39
+ "rel_pos_bins": 32,
40
+ "second_input_size": 112,
41
+ "shape_size": 128,
42
+ "text_embed": true,
43
+ "torch_dtype": "float32",
44
+ "transformers_version": "4.27.2",
45
+ "type_vocab_size": 1,
46
+ "visual_embed": true,
47
+ "vocab_size": 50265
48
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f74e775eb187fc99958410fd79825ad994520922744e3fafd0996fed1de52800
3
+ size 503752433