File size: 3,297 Bytes
becc37e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
{
  "_name_or_path": "SCUT-DLVCLab/lilt-roberta-en-base",
  "architectures": [
    "LiltForTokenClassification"
  ],
  "attention_probs_dropout_prob": 0.1,
  "bos_token_id": 0,
  "channel_shrink_ratio": 4,
  "classifier_dropout": null,
  "eos_token_id": 2,
  "hidden_act": "gelu",
  "hidden_dropout_prob": 0.1,
  "hidden_size": 768,
  "id2label": {
    "0": "B-vendor_name",
    "1": "I-vendor_name",
    "2": "B-Other",
    "3": "I-Other",
    "4": "B-invoice_number",
    "5": "B-invoice_date",
    "6": "I-invoice_date",
    "7": "B-line_quantity",
    "8": "B-line_amount",
    "9": "B-subtotal",
    "10": "B-payment_terms",
    "11": "I-payment_terms",
    "12": "B-due_date",
    "13": "I-due_date",
    "14": "B-remit_address",
    "15": "I-remit_address",
    "16": "B-line_item_name",
    "17": "I-line_item_name",
    "18": "B-total_amount",
    "19": "B-currency",
    "20": "B-vendor_address",
    "21": "I-vendor_address",
    "22": "I-subtotal",
    "23": "B-line_other_item_name",
    "24": "I-line_other_item_name",
    "25": "B-other_charges",
    "26": "I-other_charges",
    "27": "B-po_number",
    "28": "B-shipping_terms",
    "29": "B-line_rate",
    "30": "I-line_rate",
    "31": "B-tax",
    "32": "B-billing_address",
    "33": "I-billing_address",
    "34": "B-shipping_address",
    "35": "I-shipping_address",
    "36": "B-credits",
    "37": "B-line_catlog_number",
    "38": "I-line_amount",
    "39": "I-tax",
    "40": "I-total_amount",
    "41": "B-order_date",
    "42": "I-order_date",
    "43": "I-line_quantity",
    "44": "I-po_number",
    "45": "I-invoice_number",
    "46": "I-line_catlog_number"
  },
  "initializer_range": 0.02,
  "intermediate_size": 3072,
  "label2id": {
    "B-Other": 2,
    "B-billing_address": 32,
    "B-credits": 36,
    "B-currency": 19,
    "B-due_date": 12,
    "B-invoice_date": 5,
    "B-invoice_number": 4,
    "B-line_amount": 8,
    "B-line_catlog_number": 37,
    "B-line_item_name": 16,
    "B-line_other_item_name": 23,
    "B-line_quantity": 7,
    "B-line_rate": 29,
    "B-order_date": 41,
    "B-other_charges": 25,
    "B-payment_terms": 10,
    "B-po_number": 27,
    "B-remit_address": 14,
    "B-shipping_address": 34,
    "B-shipping_terms": 28,
    "B-subtotal": 9,
    "B-tax": 31,
    "B-total_amount": 18,
    "B-vendor_address": 20,
    "B-vendor_name": 0,
    "I-Other": 3,
    "I-billing_address": 33,
    "I-due_date": 13,
    "I-invoice_date": 6,
    "I-invoice_number": 45,
    "I-line_amount": 38,
    "I-line_catlog_number": 46,
    "I-line_item_name": 17,
    "I-line_other_item_name": 24,
    "I-line_quantity": 43,
    "I-line_rate": 30,
    "I-order_date": 42,
    "I-other_charges": 26,
    "I-payment_terms": 11,
    "I-po_number": 44,
    "I-remit_address": 15,
    "I-shipping_address": 35,
    "I-subtotal": 22,
    "I-tax": 39,
    "I-total_amount": 40,
    "I-vendor_address": 21,
    "I-vendor_name": 1
  },
  "layer_norm_eps": 1e-05,
  "max_2d_position_embeddings": 1024,
  "max_position_embeddings": 514,
  "model_type": "lilt",
  "num_attention_heads": 12,
  "num_hidden_layers": 12,
  "pad_token_id": 1,
  "position_embedding_type": "absolute",
  "torch_dtype": "float32",
  "transformers_version": "4.28.0",
  "type_vocab_size": 1,
  "use_cache": true,
  "vocab_size": 50265
}