Upload tokenizer
Browse files- added_tokens.json +7 -0
- special_tokens_map.json +25 -0
- tokenizer.json +119 -0
- tokenizer_config.json +56 -0
- vocab.json +1 -0
added_tokens.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[CLS]": 52,
|
3 |
+
"[MASK]": 50,
|
4 |
+
"[PAD]": 49,
|
5 |
+
"[SEP]": 51,
|
6 |
+
"[UNK]": 48
|
7 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": {
|
4 |
+
"content": "[MASK]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
"pad_token": {
|
11 |
+
"content": "[PAD]",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": false,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
},
|
17 |
+
"sep_token": "[SEP]",
|
18 |
+
"unk_token": {
|
19 |
+
"content": "[UNK]",
|
20 |
+
"lstrip": false,
|
21 |
+
"normalized": false,
|
22 |
+
"rstrip": false,
|
23 |
+
"single_word": false
|
24 |
+
}
|
25 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,119 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.0",
|
3 |
+
"truncation": null,
|
4 |
+
"padding": null,
|
5 |
+
"added_tokens": [
|
6 |
+
{
|
7 |
+
"id": 48,
|
8 |
+
"content": "[UNK]",
|
9 |
+
"single_word": false,
|
10 |
+
"lstrip": false,
|
11 |
+
"rstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"special": true
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"id": 49,
|
17 |
+
"content": "[PAD]",
|
18 |
+
"single_word": false,
|
19 |
+
"lstrip": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"normalized": false,
|
22 |
+
"special": true
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"id": 50,
|
26 |
+
"content": "[MASK]",
|
27 |
+
"single_word": false,
|
28 |
+
"lstrip": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"special": true
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"id": 51,
|
35 |
+
"content": "[SEP]",
|
36 |
+
"single_word": false,
|
37 |
+
"lstrip": false,
|
38 |
+
"rstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"special": true
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"id": 52,
|
44 |
+
"content": "[CLS]",
|
45 |
+
"single_word": false,
|
46 |
+
"lstrip": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"normalized": false,
|
49 |
+
"special": true
|
50 |
+
}
|
51 |
+
],
|
52 |
+
"normalizer": {
|
53 |
+
"type": "Sequence",
|
54 |
+
"normalizers": []
|
55 |
+
},
|
56 |
+
"pre_tokenizer": {
|
57 |
+
"type": "WhitespaceSplit"
|
58 |
+
},
|
59 |
+
"post_processor": null,
|
60 |
+
"decoder": {
|
61 |
+
"type": "WordPiece",
|
62 |
+
"prefix": "##",
|
63 |
+
"cleanup": true
|
64 |
+
},
|
65 |
+
"model": {
|
66 |
+
"type": "WordLevel",
|
67 |
+
"vocab": {
|
68 |
+
"<boc>": 0,
|
69 |
+
"<eoc>": 1,
|
70 |
+
"<sepc>": 2,
|
71 |
+
"<bog>": 3,
|
72 |
+
"<eog>": 4,
|
73 |
+
"<sepg>": 5,
|
74 |
+
"IDX_0": 6,
|
75 |
+
"IDX_1": 7,
|
76 |
+
"IDX_2": 8,
|
77 |
+
"IDX_3": 9,
|
78 |
+
"IDX_4": 10,
|
79 |
+
"IDX_5": 11,
|
80 |
+
"IDX_6": 12,
|
81 |
+
"IDX_7": 13,
|
82 |
+
"IDX_8": 14,
|
83 |
+
"IDX_9": 15,
|
84 |
+
"IDX_10": 16,
|
85 |
+
"IDX_11": 17,
|
86 |
+
"IDX_12": 18,
|
87 |
+
"IDX_13": 19,
|
88 |
+
"IDX_14": 20,
|
89 |
+
"IDX_15": 21,
|
90 |
+
"IDX_16": 22,
|
91 |
+
"IDX_17": 23,
|
92 |
+
"IDX_18": 24,
|
93 |
+
"IDX_19": 25,
|
94 |
+
"IDX_20": 26,
|
95 |
+
"IDX_21": 27,
|
96 |
+
"IDX_22": 28,
|
97 |
+
"IDX_23": 29,
|
98 |
+
"IDX_24": 30,
|
99 |
+
"IDX_25": 31,
|
100 |
+
"IDX_26": 32,
|
101 |
+
"IDX_27": 33,
|
102 |
+
"IDX_28": 34,
|
103 |
+
"IDX_29": 35,
|
104 |
+
"ATOM_C": 36,
|
105 |
+
"ATOM_N": 37,
|
106 |
+
"ATOM_O": 38,
|
107 |
+
"ATOM_F": 39,
|
108 |
+
"ATOM_S": 40,
|
109 |
+
"ATOM_Cl": 41,
|
110 |
+
"ATOM_Br": 42,
|
111 |
+
"ATOM_H": 43,
|
112 |
+
"BOND_SINGLE": 44,
|
113 |
+
"BOND_DOUBLE": 45,
|
114 |
+
"BOND_TRIPLE": 46,
|
115 |
+
"BOND_AROMATIC": 47
|
116 |
+
},
|
117 |
+
"unk_token": "[UNK]"
|
118 |
+
}
|
119 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"48": {
|
4 |
+
"content": "[UNK]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"49": {
|
12 |
+
"content": "[PAD]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"50": {
|
20 |
+
"content": "[MASK]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"51": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"52": {
|
36 |
+
"content": "[CLS]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": false,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_lower_case": false,
|
47 |
+
"extra_special_tokens": {},
|
48 |
+
"mask_token": "[MASK]",
|
49 |
+
"model_max_length": 207,
|
50 |
+
"pad_token": "[PAD]",
|
51 |
+
"sep_token": "[SEP]",
|
52 |
+
"strip_accents": null,
|
53 |
+
"tokenize_chinese_chars": true,
|
54 |
+
"tokenizer_class": "BertTokenizer",
|
55 |
+
"unk_token": "[UNK]"
|
56 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"<boc>":0,"<eoc>":1,"<sepc>":2,"<bog>":3,"<eog>":4,"<sepg>":5,"IDX_0":6,"IDX_1":7,"IDX_2":8,"IDX_3":9,"IDX_4":10,"IDX_5":11,"IDX_6":12,"IDX_7":13,"IDX_8":14,"IDX_9":15,"IDX_10":16,"IDX_11":17,"IDX_12":18,"IDX_13":19,"IDX_14":20,"IDX_15":21,"IDX_16":22,"IDX_17":23,"IDX_18":24,"IDX_19":25,"IDX_20":26,"IDX_21":27,"IDX_22":28,"IDX_23":29,"IDX_24":30,"IDX_25":31,"IDX_26":32,"IDX_27":33,"IDX_28":34,"IDX_29":35,"ATOM_C":36,"ATOM_N":37,"ATOM_O":38,"ATOM_F":39,"ATOM_S":40,"ATOM_Cl":41,"ATOM_Br":42,"ATOM_H":43,"BOND_SINGLE":44,"BOND_DOUBLE":45,"BOND_TRIPLE":46,"BOND_AROMATIC":47}
|