PRAJWAL23 commited on
Commit
6be340b
1 Parent(s): 63b6d9e

Upload LayoutLMv3ForTokenClassification

Browse files
Files changed (2) hide show
  1. config.json +112 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/layoutlmv3-large",
3
+ "architectures": [
4
+ "LayoutLMv3ForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "coordinate_size": 171,
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": 1024,
16
+ "id2label": {
17
+ "0": "B-BalanceDue",
18
+ "1": "B-BuyerAdress",
19
+ "2": "B-BuyerGSTIN",
20
+ "3": "B-BuyerName",
21
+ "4": "B-CGST",
22
+ "5": "B-DueDate",
23
+ "6": "B-HSN/SAC",
24
+ "7": "B-InvoiceDate",
25
+ "8": "B-InvoiceNo",
26
+ "9": "B-PaymentMade",
27
+ "10": "B-SGST",
28
+ "11": "B-SellerAdress",
29
+ "12": "B-SellerGSTIN",
30
+ "13": "B-SellerName",
31
+ "14": "B-SubTotal",
32
+ "15": "B-Total",
33
+ "16": "HSN/SAC",
34
+ "17": "I-BalanceDue",
35
+ "18": "I-BuyerAdress",
36
+ "19": "I-BuyerGSTIN",
37
+ "20": "I-BuyerName",
38
+ "21": "I-CGST",
39
+ "22": "I-DueDate",
40
+ "23": "I-HSN/SAC",
41
+ "24": "I-InvoiceDate",
42
+ "25": "I-InvoiceNo",
43
+ "26": "I-PaymentMade",
44
+ "27": "I-SGST",
45
+ "28": "I-SellerAdress",
46
+ "29": "I-SellerGSTIN",
47
+ "30": "I-SellerName",
48
+ "31": "I-SubTotal",
49
+ "32": "I-Total",
50
+ "33": "IgnoreText"
51
+ },
52
+ "initializer_range": 0.02,
53
+ "input_size": 224,
54
+ "intermediate_size": 4096,
55
+ "label2id": {
56
+ "B-BalanceDue": 0,
57
+ "B-BuyerAdress": 1,
58
+ "B-BuyerGSTIN": 2,
59
+ "B-BuyerName": 3,
60
+ "B-CGST": 4,
61
+ "B-DueDate": 5,
62
+ "B-HSN/SAC": 6,
63
+ "B-InvoiceDate": 7,
64
+ "B-InvoiceNo": 8,
65
+ "B-PaymentMade": 9,
66
+ "B-SGST": 10,
67
+ "B-SellerAdress": 11,
68
+ "B-SellerGSTIN": 12,
69
+ "B-SellerName": 13,
70
+ "B-SubTotal": 14,
71
+ "B-Total": 15,
72
+ "HSN/SAC": 16,
73
+ "I-BalanceDue": 17,
74
+ "I-BuyerAdress": 18,
75
+ "I-BuyerGSTIN": 19,
76
+ "I-BuyerName": 20,
77
+ "I-CGST": 21,
78
+ "I-DueDate": 22,
79
+ "I-HSN/SAC": 23,
80
+ "I-InvoiceDate": 24,
81
+ "I-InvoiceNo": 25,
82
+ "I-PaymentMade": 26,
83
+ "I-SGST": 27,
84
+ "I-SellerAdress": 28,
85
+ "I-SellerGSTIN": 29,
86
+ "I-SellerName": 30,
87
+ "I-SubTotal": 31,
88
+ "I-Total": 32,
89
+ "IgnoreText": 33
90
+ },
91
+ "layer_norm_eps": 1e-05,
92
+ "max_2d_position_embeddings": 1024,
93
+ "max_position_embeddings": 514,
94
+ "max_rel_2d_pos": 256,
95
+ "max_rel_pos": 128,
96
+ "model_type": "layoutlmv3",
97
+ "num_attention_heads": 16,
98
+ "num_channels": 3,
99
+ "num_hidden_layers": 24,
100
+ "pad_token_id": 1,
101
+ "patch_size": 16,
102
+ "rel_2d_pos_bins": 64,
103
+ "rel_pos_bins": 32,
104
+ "second_input_size": 112,
105
+ "shape_size": 170,
106
+ "text_embed": true,
107
+ "torch_dtype": "float32",
108
+ "transformers_version": "4.34.0.dev0",
109
+ "type_vocab_size": 1,
110
+ "visual_embed": true,
111
+ "vocab_size": 50265
112
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ecd7aa0406c00d5c7c81f9bd4129c6f8c42eb6c4c967e362404ca80bfa1b51a
3
+ size 1428501037