monuirctc commited on
Commit
de50f48
1 Parent(s): 8561686
Files changed (2) hide show
  1. config.json +55 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutlmv2-base-uncased",
3
+ "architectures": [
4
+ "LayoutLMv2ForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "convert_sync_batchnorm": true,
8
+ "coordinate_size": 128,
9
+ "fast_qkv": true,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "B-invoice_info",
16
+ "1": "B-other",
17
+ "2": "B-positions",
18
+ "3": "B-receiver",
19
+ "4": "B-supplier",
20
+ "5": "B-total"
21
+ },
22
+ "image_feature_pool_shape": [
23
+ 7,
24
+ 7,
25
+ 256
26
+ ],
27
+ "initializer_range": 0.02,
28
+ "intermediate_size": 3072,
29
+ "label2id": {
30
+ "B-invoice_info": 0,
31
+ "B-other": 1,
32
+ "B-positions": 2,
33
+ "B-receiver": 3,
34
+ "B-supplier": 4,
35
+ "B-total": 5
36
+ },
37
+ "layer_norm_eps": 1e-12,
38
+ "max_2d_position_embeddings": 1024,
39
+ "max_position_embeddings": 512,
40
+ "max_rel_2d_pos": 256,
41
+ "max_rel_pos": 128,
42
+ "model_type": "layoutlmv2",
43
+ "num_attention_heads": 12,
44
+ "num_hidden_layers": 12,
45
+ "output_past": true,
46
+ "pad_token_id": 0,
47
+ "position_embedding_type": "absolute",
48
+ "rel_2d_pos_bins": 64,
49
+ "rel_pos_bins": 32,
50
+ "shape_size": 128,
51
+ "transformers_version": "4.7.0.dev0",
52
+ "type_vocab_size": 2,
53
+ "use_cache": true,
54
+ "vocab_size": 30522
55
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a82827a7ae78cbf9c527a5794a2413f4fca6fde6b4ec97558620049620037ce7
3
+ size 802255531