lhallee commited on
Commit
a9a75ae
·
verified ·
1 Parent(s): 3e0aeab

Upload tokenizer

Browse files
Files changed (2) hide show
  1. tokenizer.json +185 -0
  2. tokenizer_config.json +13 -0
tokenizer.json ADDED
@@ -0,0 +1,185 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "1.0",
3
+ "truncation": null,
4
+ "padding": null,
5
+ "added_tokens": [
6
+ {
7
+ "id": 0,
8
+ "content": "<cls>",
9
+ "single_word": false,
10
+ "lstrip": false,
11
+ "rstrip": false,
12
+ "normalized": false,
13
+ "special": true
14
+ },
15
+ {
16
+ "id": 1,
17
+ "content": "<pad>",
18
+ "single_word": false,
19
+ "lstrip": false,
20
+ "rstrip": false,
21
+ "normalized": false,
22
+ "special": true
23
+ },
24
+ {
25
+ "id": 2,
26
+ "content": "<eos>",
27
+ "single_word": false,
28
+ "lstrip": false,
29
+ "rstrip": false,
30
+ "normalized": false,
31
+ "special": true
32
+ },
33
+ {
34
+ "id": 3,
35
+ "content": "<unk>",
36
+ "single_word": false,
37
+ "lstrip": false,
38
+ "rstrip": false,
39
+ "normalized": false,
40
+ "special": true
41
+ },
42
+ {
43
+ "id": 31,
44
+ "content": "|",
45
+ "single_word": false,
46
+ "lstrip": false,
47
+ "rstrip": false,
48
+ "normalized": false,
49
+ "special": true
50
+ },
51
+ {
52
+ "id": 32,
53
+ "content": "<mask>",
54
+ "single_word": false,
55
+ "lstrip": false,
56
+ "rstrip": false,
57
+ "normalized": false,
58
+ "special": true
59
+ }
60
+ ],
61
+ "normalizer": null,
62
+ "pre_tokenizer": null,
63
+ "post_processor": {
64
+ "type": "TemplateProcessing",
65
+ "single": [
66
+ {
67
+ "SpecialToken": {
68
+ "id": "<cls>",
69
+ "type_id": 0
70
+ }
71
+ },
72
+ {
73
+ "Sequence": {
74
+ "id": "A",
75
+ "type_id": 0
76
+ }
77
+ },
78
+ {
79
+ "SpecialToken": {
80
+ "id": "<eos>",
81
+ "type_id": 0
82
+ }
83
+ }
84
+ ],
85
+ "pair": [
86
+ {
87
+ "SpecialToken": {
88
+ "id": "<cls>",
89
+ "type_id": 0
90
+ }
91
+ },
92
+ {
93
+ "Sequence": {
94
+ "id": "A",
95
+ "type_id": 0
96
+ }
97
+ },
98
+ {
99
+ "SpecialToken": {
100
+ "id": "<eos>",
101
+ "type_id": 0
102
+ }
103
+ },
104
+ {
105
+ "Sequence": {
106
+ "id": "B",
107
+ "type_id": 1
108
+ }
109
+ },
110
+ {
111
+ "SpecialToken": {
112
+ "id": "<eos>",
113
+ "type_id": 1
114
+ }
115
+ }
116
+ ],
117
+ "special_tokens": {
118
+ "<cls>": {
119
+ "id": "<cls>",
120
+ "ids": [
121
+ 0
122
+ ],
123
+ "tokens": [
124
+ "<cls>"
125
+ ]
126
+ },
127
+ "<eos>": {
128
+ "id": "<eos>",
129
+ "ids": [
130
+ 2
131
+ ],
132
+ "tokens": [
133
+ "<eos>"
134
+ ]
135
+ }
136
+ }
137
+ },
138
+ "decoder": null,
139
+ "model": {
140
+ "type": "BPE",
141
+ "dropout": null,
142
+ "unk_token": "<unk>",
143
+ "continuing_subword_prefix": null,
144
+ "end_of_word_suffix": null,
145
+ "fuse_unk": false,
146
+ "byte_fallback": false,
147
+ "ignore_merges": false,
148
+ "vocab": {
149
+ "<cls>": 0,
150
+ "<pad>": 1,
151
+ "<eos>": 2,
152
+ "<unk>": 3,
153
+ "L": 4,
154
+ "A": 5,
155
+ "G": 6,
156
+ "V": 7,
157
+ "S": 8,
158
+ "E": 9,
159
+ "R": 10,
160
+ "T": 11,
161
+ "I": 12,
162
+ "D": 13,
163
+ "P": 14,
164
+ "K": 15,
165
+ "Q": 16,
166
+ "N": 17,
167
+ "F": 18,
168
+ "Y": 19,
169
+ "M": 20,
170
+ "H": 21,
171
+ "W": 22,
172
+ "C": 23,
173
+ "X": 24,
174
+ "B": 25,
175
+ "U": 26,
176
+ "Z": 27,
177
+ "O": 28,
178
+ ".": 29,
179
+ "-": 30,
180
+ "|": 31,
181
+ "<mask>": 32
182
+ },
183
+ "merges": []
184
+ }
185
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "cls_token": "<cls>",
4
+ "eos_token": "<eos>",
5
+ "extra_special_tokens": [
6
+ "|"
7
+ ],
8
+ "mask_token": "<mask>",
9
+ "model_max_length": 1000000000000000019884624838656,
10
+ "pad_token": "<pad>",
11
+ "tokenizer_class": "EsmSequenceTokenizer",
12
+ "unk_token": "<unk>"
13
+ }