Add Padding Tokens
#12
by
zxybazh
- opened
- added_tokens.json +31 -1
- tokenizer_config.json +240 -0
added_tokens.json
CHANGED
@@ -1,4 +1,34 @@
|
|
1 |
{
|
2 |
"<|im_end|>": 32000,
|
3 |
-
"<|im_start|>": 32001
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
}
|
|
|
1 |
{
|
2 |
"<|im_end|>": 32000,
|
3 |
+
"<|im_start|>": 32001,
|
4 |
+
"<pad2>": 32002,
|
5 |
+
"<pad3>": 32003,
|
6 |
+
"<pad4>": 32004,
|
7 |
+
"<pad5>": 32005,
|
8 |
+
"<pad6>": 32006,
|
9 |
+
"<pad7>": 32007,
|
10 |
+
"<pad8>": 32008,
|
11 |
+
"<pad9>": 32009,
|
12 |
+
"<pad10>": 32010,
|
13 |
+
"<pad11>": 32011,
|
14 |
+
"<pad12>": 32012,
|
15 |
+
"<pad13>": 32013,
|
16 |
+
"<pad14>": 32014,
|
17 |
+
"<pad15>": 32015,
|
18 |
+
"<pad16>": 32016,
|
19 |
+
"<pad17>": 32017,
|
20 |
+
"<pad18>": 32018,
|
21 |
+
"<pad19>": 32019,
|
22 |
+
"<pad20>": 32020,
|
23 |
+
"<pad21>": 32021,
|
24 |
+
"<pad22>": 32022,
|
25 |
+
"<pad23>": 32023,
|
26 |
+
"<pad24>": 32024,
|
27 |
+
"<pad25>": 32025,
|
28 |
+
"<pad26>": 32026,
|
29 |
+
"<pad27>": 32027,
|
30 |
+
"<pad28>": 32028,
|
31 |
+
"<pad29>": 32029,
|
32 |
+
"<pad30>": 32030,
|
33 |
+
"<pad31>": 32031
|
34 |
}
|
tokenizer_config.json
CHANGED
@@ -42,6 +42,246 @@
|
|
42 |
"rstrip": false,
|
43 |
"single_word": false,
|
44 |
"special": false
|
|
|
|
|
|
|
|
|
|
|
|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},
|
46 |
+
"32002": {
|
47 |
+
"content": "<pad2>",
|
48 |
+
"lstrip": false,
|
49 |
+
"normalized": false,
|
50 |
+
"rstrip": false,
|
51 |
+
"single_word": false,
|
52 |
+
"special": false
|
53 |
+
},
|
54 |
+
"32003": {
|
55 |
+
"content": "<pad3>",
|
56 |
+
"lstrip": false,
|
57 |
+
"normalized": false,
|
58 |
+
"rstrip": false,
|
59 |
+
"single_word": false,
|
60 |
+
"special": false
|
61 |
+
},
|
62 |
+
"32004": {
|
63 |
+
"content": "<pad4>",
|
64 |
+
"lstrip": false,
|
65 |
+
"normalized": false,
|
66 |
+
"rstrip": false,
|
67 |
+
"single_word": false,
|
68 |
+
"special": false
|
69 |
+
},
|
70 |
+
"32005": {
|
71 |
+
"content": "<pad5>",
|
72 |
+
"lstrip": false,
|
73 |
+
"normalized": false,
|
74 |
+
"rstrip": false,
|
75 |
+
"single_word": false,
|
76 |
+
"special": false
|
77 |
+
},
|
78 |
+
"32006": {
|
79 |
+
"content": "<pad6>",
|
80 |
+
"lstrip": false,
|
81 |
+
"normalized": false,
|
82 |
+
"rstrip": false,
|
83 |
+
"single_word": false,
|
84 |
+
"special": false
|
85 |
+
},
|
86 |
+
"32007": {
|
87 |
+
"content": "<pad7>",
|
88 |
+
"lstrip": false,
|
89 |
+
"normalized": false,
|
90 |
+
"rstrip": false,
|
91 |
+
"single_word": false,
|
92 |
+
"special": false
|
93 |
+
},
|
94 |
+
"32008": {
|
95 |
+
"content": "<pad8>",
|
96 |
+
"lstrip": false,
|
97 |
+
"normalized": false,
|
98 |
+
"rstrip": false,
|
99 |
+
"single_word": false,
|
100 |
+
"special": false
|
101 |
+
},
|
102 |
+
"32009": {
|
103 |
+
"content": "<pad9>",
|
104 |
+
"lstrip": false,
|
105 |
+
"normalized": false,
|
106 |
+
"rstrip": false,
|
107 |
+
"single_word": false,
|
108 |
+
"special": false
|
109 |
+
},
|
110 |
+
"32010": {
|
111 |
+
"content": "<pad10>",
|
112 |
+
"lstrip": false,
|
113 |
+
"normalized": false,
|
114 |
+
"rstrip": false,
|
115 |
+
"single_word": false,
|
116 |
+
"special": false
|
117 |
+
},
|
118 |
+
"32011": {
|
119 |
+
"content": "<pad11>",
|
120 |
+
"lstrip": false,
|
121 |
+
"normalized": false,
|
122 |
+
"rstrip": false,
|
123 |
+
"single_word": false,
|
124 |
+
"special": false
|
125 |
+
},
|
126 |
+
"32012": {
|
127 |
+
"content": "<pad12>",
|
128 |
+
"lstrip": false,
|
129 |
+
"normalized": false,
|
130 |
+
"rstrip": false,
|
131 |
+
"single_word": false,
|
132 |
+
"special": false
|
133 |
+
},
|
134 |
+
"32013": {
|
135 |
+
"content": "<pad13>",
|
136 |
+
"lstrip": false,
|
137 |
+
"normalized": false,
|
138 |
+
"rstrip": false,
|
139 |
+
"single_word": false,
|
140 |
+
"special": false
|
141 |
+
},
|
142 |
+
"32014": {
|
143 |
+
"content": "<pad14>",
|
144 |
+
"lstrip": false,
|
145 |
+
"normalized": false,
|
146 |
+
"rstrip": false,
|
147 |
+
"single_word": false,
|
148 |
+
"special": false
|
149 |
+
},
|
150 |
+
"32015": {
|
151 |
+
"content": "<pad15>",
|
152 |
+
"lstrip": false,
|
153 |
+
"normalized": false,
|
154 |
+
"rstrip": false,
|
155 |
+
"single_word": false,
|
156 |
+
"special": false
|
157 |
+
},
|
158 |
+
"32016": {
|
159 |
+
"content": "<pad16>",
|
160 |
+
"lstrip": false,
|
161 |
+
"normalized": false,
|
162 |
+
"rstrip": false,
|
163 |
+
"single_word": false,
|
164 |
+
"special": false
|
165 |
+
},
|
166 |
+
"32017": {
|
167 |
+
"content": "<pad17>",
|
168 |
+
"lstrip": false,
|
169 |
+
"normalized": false,
|
170 |
+
"rstrip": false,
|
171 |
+
"single_word": false,
|
172 |
+
"special": false
|
173 |
+
},
|
174 |
+
"32018": {
|
175 |
+
"content": "<pad18>",
|
176 |
+
"lstrip": false,
|
177 |
+
"normalized": false,
|
178 |
+
"rstrip": false,
|
179 |
+
"single_word": false,
|
180 |
+
"special": false
|
181 |
+
},
|
182 |
+
"32019": {
|
183 |
+
"content": "<pad19>",
|
184 |
+
"lstrip": false,
|
185 |
+
"normalized": false,
|
186 |
+
"rstrip": false,
|
187 |
+
"single_word": false,
|
188 |
+
"special": false
|
189 |
+
},
|
190 |
+
"32020": {
|
191 |
+
"content": "<pad20>",
|
192 |
+
"lstrip": false,
|
193 |
+
"normalized": false,
|
194 |
+
"rstrip": false,
|
195 |
+
"single_word": false,
|
196 |
+
"special": false
|
197 |
+
},
|
198 |
+
"32021": {
|
199 |
+
"content": "<pad21>",
|
200 |
+
"lstrip": false,
|
201 |
+
"normalized": false,
|
202 |
+
"rstrip": false,
|
203 |
+
"single_word": false,
|
204 |
+
"special": false
|
205 |
+
},
|
206 |
+
"32022": {
|
207 |
+
"content": "<pad22>",
|
208 |
+
"lstrip": false,
|
209 |
+
"normalized": false,
|
210 |
+
"rstrip": false,
|
211 |
+
"single_word": false,
|
212 |
+
"special": false
|
213 |
+
},
|
214 |
+
"32023": {
|
215 |
+
"content": "<pad23>",
|
216 |
+
"lstrip": false,
|
217 |
+
"normalized": false,
|
218 |
+
"rstrip": false,
|
219 |
+
"single_word": false,
|
220 |
+
"special": false
|
221 |
+
},
|
222 |
+
"32024": {
|
223 |
+
"content": "<pad24>",
|
224 |
+
"lstrip": false,
|
225 |
+
"normalized": false,
|
226 |
+
"rstrip": false,
|
227 |
+
"single_word": false,
|
228 |
+
"special": false
|
229 |
+
},
|
230 |
+
"32025": {
|
231 |
+
"content": "<pad25>",
|
232 |
+
"lstrip": false,
|
233 |
+
"normalized": false,
|
234 |
+
"rstrip": false,
|
235 |
+
"single_word": false,
|
236 |
+
"special": false
|
237 |
+
},
|
238 |
+
"32026": {
|
239 |
+
"content": "<pad26>",
|
240 |
+
"lstrip": false,
|
241 |
+
"normalized": false,
|
242 |
+
"rstrip": false,
|
243 |
+
"single_word": false,
|
244 |
+
"special": false
|
245 |
+
},
|
246 |
+
"32027": {
|
247 |
+
"content": "<pad27>",
|
248 |
+
"lstrip": false,
|
249 |
+
"normalized": false,
|
250 |
+
"rstrip": false,
|
251 |
+
"single_word": false,
|
252 |
+
"special": false
|
253 |
+
},
|
254 |
+
"32028": {
|
255 |
+
"content": "<pad28>",
|
256 |
+
"lstrip": false,
|
257 |
+
"normalized": false,
|
258 |
+
"rstrip": false,
|
259 |
+
"single_word": false,
|
260 |
+
"special": false
|
261 |
+
},
|
262 |
+
"32029": {
|
263 |
+
"content": "<pad29>",
|
264 |
+
"lstrip": false,
|
265 |
+
"normalized": false,
|
266 |
+
"rstrip": false,
|
267 |
+
"single_word": false,
|
268 |
+
"special": false
|
269 |
+
},
|
270 |
+
"32030": {
|
271 |
+
"content": "<pad30>",
|
272 |
+
"lstrip": false,
|
273 |
+
"normalized": false,
|
274 |
+
"rstrip": false,
|
275 |
+
"single_word": false,
|
276 |
+
"special": false
|
277 |
+
},
|
278 |
+
"32031": {
|
279 |
+
"content": "<pad31>",
|
280 |
+
"lstrip": false,
|
281 |
+
"normalized": false,
|
282 |
+
"rstrip": false,
|
283 |
+
"single_word": false,
|
284 |
+
"special": false
|
285 |
}
|
286 |
},
|
287 |
"additional_special_tokens": [],
|