shonenash commited on
Commit
0e02dd4
·
verified ·
1 Parent(s): a586e94

Add ONNX parser, bilinear labeler, manifest and tokenizer

Browse files
bilinear.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eda2f6767e71d65efd8326752d5597c6afd490deb5cd3c36a0207b2dadbfd38b
3
+ size 2949777
manifest.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": "parser.uint8.onnx",
3
+ "tags": [
4
+ "$",
5
+ "''",
6
+ ",",
7
+ "-LRB-",
8
+ "-RRB-",
9
+ ".",
10
+ ":",
11
+ "ADD",
12
+ "AFX",
13
+ "CC",
14
+ "CD",
15
+ "DT",
16
+ "EX",
17
+ "FW",
18
+ "HYPH",
19
+ "IN",
20
+ "JJ",
21
+ "JJR",
22
+ "JJS",
23
+ "LS",
24
+ "MD",
25
+ "NFP",
26
+ "NN",
27
+ "NNP",
28
+ "NNPS",
29
+ "NNS",
30
+ "PDT",
31
+ "POS",
32
+ "PRP",
33
+ "PRP$",
34
+ "RB",
35
+ "RBR",
36
+ "RBS",
37
+ "RP",
38
+ "SYM",
39
+ "TO",
40
+ "UH",
41
+ "VB",
42
+ "VBD",
43
+ "VBG",
44
+ "VBN",
45
+ "VBP",
46
+ "VBZ",
47
+ "WDT",
48
+ "WP",
49
+ "WP$",
50
+ "WRB",
51
+ "XX",
52
+ "``"
53
+ ],
54
+ "deps": [
55
+ "ROOT",
56
+ "acl",
57
+ "acomp",
58
+ "advcl",
59
+ "advmod",
60
+ "agent",
61
+ "amod",
62
+ "appos",
63
+ "attr",
64
+ "aux",
65
+ "auxpass",
66
+ "case",
67
+ "cc",
68
+ "ccomp",
69
+ "compound",
70
+ "conj",
71
+ "csubj",
72
+ "csubjpass",
73
+ "dative",
74
+ "dep",
75
+ "det",
76
+ "dobj",
77
+ "expl",
78
+ "intj",
79
+ "mark",
80
+ "meta",
81
+ "neg",
82
+ "nmod",
83
+ "npadvmod",
84
+ "nsubj",
85
+ "nsubjpass",
86
+ "nummod",
87
+ "oprd",
88
+ "parataxis",
89
+ "pcomp",
90
+ "pobj",
91
+ "poss",
92
+ "preconj",
93
+ "predet",
94
+ "prep",
95
+ "prt",
96
+ "punct",
97
+ "quantmod",
98
+ "relcl",
99
+ "xcomp"
100
+ ],
101
+ "tag_dim": 128,
102
+ "arc_dim": 384,
103
+ "n_pos": 49,
104
+ "n_deps": 45,
105
+ "opset": 17,
106
+ "encoder": "google/electra-small-discriminator"
107
+ }
parser.uint8.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:330afd46b5ab2e34e4c04b4fb01bcca6febcb4e080df86a9134b6ea206ce8354
3
+ size 26472357
tokenizer/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": true,
5
+ "is_local": false,
6
+ "local_files_only": false,
7
+ "mask_token": "[MASK]",
8
+ "model_max_length": 512,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "strip_accents": null,
12
+ "tokenize_chinese_chars": true,
13
+ "tokenizer_class": "BertTokenizer",
14
+ "unk_token": "[UNK]"
15
+ }