Mahmoud7 commited on
Commit
6e45131
1 Parent(s): 480fbb2

Upload LayoutLMv3ForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +72 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutlmv3-base",
3
+ "architectures": [
4
+ "LayoutLMv3ForTokenClassification"
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": "SELLER_SITE",
18
+ "1": "TOTAL",
19
+ "2": "TOTAL_WORDS",
20
+ "3": "DATE",
21
+ "4": "DUE_DATE",
22
+ "5": "BUYER",
23
+ "6": "SELLER_NAME",
24
+ "7": "BALANCE_DUE",
25
+ "8": "BILL_TO",
26
+ "9": "SEND_TO",
27
+ "10": "TABLE",
28
+ "11": "LOGO",
29
+ "12": "NUMBER",
30
+ "13": "OTHER"
31
+ },
32
+ "initializer_range": 0.02,
33
+ "input_size": 224,
34
+ "intermediate_size": 3072,
35
+ "label2id": {
36
+ "BALANCE_DUE": 7,
37
+ "BILL_TO": 8,
38
+ "BUYER": 5,
39
+ "DATE": 3,
40
+ "DUE_DATE": 4,
41
+ "LOGO": 11,
42
+ "NUMBER": 12,
43
+ "OTHER": 13,
44
+ "SELLER_NAME": 6,
45
+ "SELLER_SITE": 0,
46
+ "SEND_TO": 9,
47
+ "TABLE": 10,
48
+ "TOTAL": 1,
49
+ "TOTAL_WORDS": 2
50
+ },
51
+ "layer_norm_eps": 1e-05,
52
+ "max_2d_position_embeddings": 1024,
53
+ "max_position_embeddings": 514,
54
+ "max_rel_2d_pos": 256,
55
+ "max_rel_pos": 128,
56
+ "model_type": "layoutlmv3",
57
+ "num_attention_heads": 12,
58
+ "num_channels": 3,
59
+ "num_hidden_layers": 12,
60
+ "pad_token_id": 1,
61
+ "patch_size": 16,
62
+ "rel_2d_pos_bins": 64,
63
+ "rel_pos_bins": 32,
64
+ "second_input_size": 112,
65
+ "shape_size": 128,
66
+ "text_embed": true,
67
+ "torch_dtype": "float32",
68
+ "transformers_version": "4.26.1",
69
+ "type_vocab_size": 1,
70
+ "visual_embed": true,
71
+ "vocab_size": 50265
72
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61ddf8b06e73183fd5f902a598d057886af3a68d357ab20d77627e141a0acd09
3
+ size 503787407