Upload LiltForTokenClassification
Browse files- config.json +93 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "nielsr/lilt-xlm-roberta-base",
|
3 |
+
"architectures": [
|
4 |
+
"LiltForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"channel_shrink_ratio": 4,
|
9 |
+
"classifier_dropout": null,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_dropout_prob": 0.1,
|
13 |
+
"hidden_size": 768,
|
14 |
+
"id2label": {
|
15 |
+
"0": "B-COMPLETION_DATE",
|
16 |
+
"1": "B-DUE_DATE",
|
17 |
+
"2": "B-DUE_DATE_KEY",
|
18 |
+
"3": "B-INVOICE_NUMBER",
|
19 |
+
"4": "B-INVOICE_NUMB_KEY",
|
20 |
+
"5": "B-ISSUE_DATE",
|
21 |
+
"6": "B-ISSUE_DATE_KEY",
|
22 |
+
"7": "B-NET",
|
23 |
+
"8": "B-NET_KEY",
|
24 |
+
"9": "B-SELLER_ADDRESS",
|
25 |
+
"10": "B-SELLER_NAME",
|
26 |
+
"11": "B-TAX_KEY",
|
27 |
+
"12": "B-TAX_VALUE",
|
28 |
+
"13": "B-TOTAL_KEY",
|
29 |
+
"14": "B-TOTAL_VALUE",
|
30 |
+
"15": "E-COMPLETION_DATE",
|
31 |
+
"16": "E-DUE_DATE",
|
32 |
+
"17": "E-DUE_DATE_KEY",
|
33 |
+
"18": "E-INVOICE_NUMBER",
|
34 |
+
"19": "E-INVOICE_NUMB_KEY",
|
35 |
+
"20": "E-ISSUE_DATE",
|
36 |
+
"21": "E-ISSUE_DATE_KEY",
|
37 |
+
"22": "E-NET",
|
38 |
+
"23": "E-NET_KEY",
|
39 |
+
"24": "E-SELLER_ADDRESS",
|
40 |
+
"25": "E-SELLER_NAME",
|
41 |
+
"26": "E-TAX_KEY",
|
42 |
+
"27": "E-TAX_VALUE",
|
43 |
+
"28": "E-TOTAL_KEY",
|
44 |
+
"29": "E-TOTAL_VALUE",
|
45 |
+
"30": "I-COMPLETION_DATE",
|
46 |
+
"31": "I-DUE_DATE",
|
47 |
+
"32": "I-DUE_DATE_KEY",
|
48 |
+
"33": "I-INVOICE_NUMBER",
|
49 |
+
"34": "I-INVOICE_NUMB_KEY",
|
50 |
+
"35": "I-ISSUE_DATE",
|
51 |
+
"36": "I-ISSUE_DATE_KEY",
|
52 |
+
"37": "I-NET",
|
53 |
+
"38": "I-NET_KEY",
|
54 |
+
"39": "I-SELLER_ADDRESS",
|
55 |
+
"40": "I-SELLER_NAME",
|
56 |
+
"41": "I-TAX_KEY",
|
57 |
+
"42": "I-TAX_VALUE",
|
58 |
+
"43": "I-TOTAL_KEY",
|
59 |
+
"44": "I-TOTAL_VALUE",
|
60 |
+
"45": "O",
|
61 |
+
"46": "S-COMPLETION_DATE",
|
62 |
+
"47": "S-DUE_DATE",
|
63 |
+
"48": "S-DUE_DATE_KEY",
|
64 |
+
"49": "S-INVOICE_NUMBER",
|
65 |
+
"50": "S-INVOICE_NUMB_KEY",
|
66 |
+
"51": "S-ISSUE_DATE",
|
67 |
+
"52": "S-ISSUE_DATE_KEY",
|
68 |
+
"53": "S-NET",
|
69 |
+
"54": "S-NET_KEY",
|
70 |
+
"55": "S-SELLER_ADDRESS",
|
71 |
+
"56": "S-SELLER_NAME",
|
72 |
+
"57": "S-TAX_KEY",
|
73 |
+
"58": "S-TAX_VALUE",
|
74 |
+
"59": "S-TOTAL_KEY",
|
75 |
+
"60": "S-TOTAL_VALUE"
|
76 |
+
},
|
77 |
+
"initializer_range": 0.02,
|
78 |
+
"intermediate_size": 3072,
|
79 |
+
"layer_norm_eps": 1e-05,
|
80 |
+
"max_2d_position_embeddings": 1024,
|
81 |
+
"max_position_embeddings": 514,
|
82 |
+
"model_type": "lilt",
|
83 |
+
"num_attention_heads": 12,
|
84 |
+
"num_hidden_layers": 12,
|
85 |
+
"output_past": true,
|
86 |
+
"pad_token_id": 1,
|
87 |
+
"position_embedding_type": "absolute",
|
88 |
+
"torch_dtype": "float32",
|
89 |
+
"transformers_version": "4.33.2",
|
90 |
+
"type_vocab_size": 1,
|
91 |
+
"use_cache": true,
|
92 |
+
"vocab_size": 250002
|
93 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:deeda5bf048015f95e9f04a27137ab65a49671e37871f06fdc553987ddfe56a6
|
3 |
+
size 1134574925
|