crumb commited on
Commit
ab7d2cc
1 Parent(s): c57abb5

Upload tokenizer

Browse files
added_tokens.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<EXTRA_ID_0>": 32000,
3
+ "<EXTRA_ID_10>": 32010,
4
+ "<EXTRA_ID_11>": 32011,
5
+ "<EXTRA_ID_12>": 32012,
6
+ "<EXTRA_ID_13>": 32013,
7
+ "<EXTRA_ID_14>": 32014,
8
+ "<EXTRA_ID_15>": 32015,
9
+ "<EXTRA_ID_16>": 32016,
10
+ "<EXTRA_ID_17>": 32017,
11
+ "<EXTRA_ID_18>": 32018,
12
+ "<EXTRA_ID_19>": 32019,
13
+ "<EXTRA_ID_1>": 32001,
14
+ "<EXTRA_ID_20>": 32020,
15
+ "<EXTRA_ID_21>": 32021,
16
+ "<EXTRA_ID_22>": 32022,
17
+ "<EXTRA_ID_23>": 32023,
18
+ "<EXTRA_ID_24>": 32024,
19
+ "<EXTRA_ID_25>": 32025,
20
+ "<EXTRA_ID_26>": 32026,
21
+ "<EXTRA_ID_27>": 32027,
22
+ "<EXTRA_ID_28>": 32028,
23
+ "<EXTRA_ID_29>": 32029,
24
+ "<EXTRA_ID_2>": 32002,
25
+ "<EXTRA_ID_30>": 32030,
26
+ "<EXTRA_ID_31>": 32031,
27
+ "<EXTRA_ID_32>": 32032,
28
+ "<EXTRA_ID_33>": 32033,
29
+ "<EXTRA_ID_34>": 32034,
30
+ "<EXTRA_ID_35>": 32035,
31
+ "<EXTRA_ID_36>": 32036,
32
+ "<EXTRA_ID_37>": 32037,
33
+ "<EXTRA_ID_38>": 32038,
34
+ "<EXTRA_ID_39>": 32039,
35
+ "<EXTRA_ID_3>": 32003,
36
+ "<EXTRA_ID_40>": 32040,
37
+ "<EXTRA_ID_41>": 32041,
38
+ "<EXTRA_ID_42>": 32042,
39
+ "<EXTRA_ID_43>": 32043,
40
+ "<EXTRA_ID_44>": 32044,
41
+ "<EXTRA_ID_45>": 32045,
42
+ "<EXTRA_ID_46>": 32046,
43
+ "<EXTRA_ID_47>": 32047,
44
+ "<EXTRA_ID_48>": 32048,
45
+ "<EXTRA_ID_49>": 32049,
46
+ "<EXTRA_ID_4>": 32004,
47
+ "<EXTRA_ID_50>": 32050,
48
+ "<EXTRA_ID_51>": 32051,
49
+ "<EXTRA_ID_52>": 32052,
50
+ "<EXTRA_ID_53>": 32053,
51
+ "<EXTRA_ID_54>": 32054,
52
+ "<EXTRA_ID_55>": 32055,
53
+ "<EXTRA_ID_56>": 32056,
54
+ "<EXTRA_ID_57>": 32057,
55
+ "<EXTRA_ID_58>": 32058,
56
+ "<EXTRA_ID_59>": 32059,
57
+ "<EXTRA_ID_5>": 32005,
58
+ "<EXTRA_ID_60>": 32060,
59
+ "<EXTRA_ID_61>": 32061,
60
+ "<EXTRA_ID_62>": 32062,
61
+ "<EXTRA_ID_63>": 32063,
62
+ "<EXTRA_ID_6>": 32006,
63
+ "<EXTRA_ID_7>": 32007,
64
+ "<EXTRA_ID_8>": 32008,
65
+ "<EXTRA_ID_9>": 32009
66
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<unk>",
4
+ "<s>",
5
+ "</s>"
6
+ ],
7
+ "bos_token": "<s>",
8
+ "eos_token": "</s>",
9
+ "pad_token": "</s>",
10
+ "unk_token": "<unk>"
11
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadfd56d766715c61d2ef780a525ab43b8e6da4de6865bda3d95fdef5e134055
3
+ size 493443
tokenizer_config.json ADDED
@@ -0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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<unk>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "32000": {
28
+ "content": "<EXTRA_ID_0>",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": false
34
+ },
35
+ "32001": {
36
+ "content": "<EXTRA_ID_1>",
37
+ "lstrip": false,
38
+ "normalized": true,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": false
42
+ },
43
+ "32002": {
44
+ "content": "<EXTRA_ID_2>",
45
+ "lstrip": false,
46
+ "normalized": true,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": false
50
+ },
51
+ "32003": {
52
+ "content": "<EXTRA_ID_3>",
53
+ "lstrip": false,
54
+ "normalized": true,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": false
58
+ },
59
+ "32004": {
60
+ "content": "<EXTRA_ID_4>",
61
+ "lstrip": false,
62
+ "normalized": true,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": false
66
+ },
67
+ "32005": {
68
+ "content": "<EXTRA_ID_5>",
69
+ "lstrip": false,
70
+ "normalized": true,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": false
74
+ },
75
+ "32006": {
76
+ "content": "<EXTRA_ID_6>",
77
+ "lstrip": false,
78
+ "normalized": true,
79
+ "rstrip": false,
80
+ "single_word": false,
81
+ "special": false
82
+ },
83
+ "32007": {
84
+ "content": "<EXTRA_ID_7>",
85
+ "lstrip": false,
86
+ "normalized": true,
87
+ "rstrip": false,
88
+ "single_word": false,
89
+ "special": false
90
+ },
91
+ "32008": {
92
+ "content": "<EXTRA_ID_8>",
93
+ "lstrip": false,
94
+ "normalized": true,
95
+ "rstrip": false,
96
+ "single_word": false,
97
+ "special": false
98
+ },
99
+ "32009": {
100
+ "content": "<EXTRA_ID_9>",
101
+ "lstrip": false,
102
+ "normalized": true,
103
+ "rstrip": false,
104
+ "single_word": false,
105
+ "special": false
106
+ },
107
+ "32010": {
108
+ "content": "<EXTRA_ID_10>",
109
+ "lstrip": false,
110
+ "normalized": true,
111
+ "rstrip": false,
112
+ "single_word": false,
113
+ "special": false
114
+ },
115
+ "32011": {
116
+ "content": "<EXTRA_ID_11>",
117
+ "lstrip": false,
118
+ "normalized": true,
119
+ "rstrip": false,
120
+ "single_word": false,
121
+ "special": false
122
+ },
123
+ "32012": {
124
+ "content": "<EXTRA_ID_12>",
125
+ "lstrip": false,
126
+ "normalized": true,
127
+ "rstrip": false,
128
+ "single_word": false,
129
+ "special": false
130
+ },
131
+ "32013": {
132
+ "content": "<EXTRA_ID_13>",
133
+ "lstrip": false,
134
+ "normalized": true,
135
+ "rstrip": false,
136
+ "single_word": false,
137
+ "special": false
138
+ },
139
+ "32014": {
140
+ "content": "<EXTRA_ID_14>",
141
+ "lstrip": false,
142
+ "normalized": true,
143
+ "rstrip": false,
144
+ "single_word": false,
145
+ "special": false
146
+ },
147
+ "32015": {
148
+ "content": "<EXTRA_ID_15>",
149
+ "lstrip": false,
150
+ "normalized": true,
151
+ "rstrip": false,
152
+ "single_word": false,
153
+ "special": false
154
+ },
155
+ "32016": {
156
+ "content": "<EXTRA_ID_16>",
157
+ "lstrip": false,
158
+ "normalized": true,
159
+ "rstrip": false,
160
+ "single_word": false,
161
+ "special": false
162
+ },
163
+ "32017": {
164
+ "content": "<EXTRA_ID_17>",
165
+ "lstrip": false,
166
+ "normalized": true,
167
+ "rstrip": false,
168
+ "single_word": false,
169
+ "special": false
170
+ },
171
+ "32018": {
172
+ "content": "<EXTRA_ID_18>",
173
+ "lstrip": false,
174
+ "normalized": true,
175
+ "rstrip": false,
176
+ "single_word": false,
177
+ "special": false
178
+ },
179
+ "32019": {
180
+ "content": "<EXTRA_ID_19>",
181
+ "lstrip": false,
182
+ "normalized": true,
183
+ "rstrip": false,
184
+ "single_word": false,
185
+ "special": false
186
+ },
187
+ "32020": {
188
+ "content": "<EXTRA_ID_20>",
189
+ "lstrip": false,
190
+ "normalized": true,
191
+ "rstrip": false,
192
+ "single_word": false,
193
+ "special": false
194
+ },
195
+ "32021": {
196
+ "content": "<EXTRA_ID_21>",
197
+ "lstrip": false,
198
+ "normalized": true,
199
+ "rstrip": false,
200
+ "single_word": false,
201
+ "special": false
202
+ },
203
+ "32022": {
204
+ "content": "<EXTRA_ID_22>",
205
+ "lstrip": false,
206
+ "normalized": true,
207
+ "rstrip": false,
208
+ "single_word": false,
209
+ "special": false
210
+ },
211
+ "32023": {
212
+ "content": "<EXTRA_ID_23>",
213
+ "lstrip": false,
214
+ "normalized": true,
215
+ "rstrip": false,
216
+ "single_word": false,
217
+ "special": false
218
+ },
219
+ "32024": {
220
+ "content": "<EXTRA_ID_24>",
221
+ "lstrip": false,
222
+ "normalized": true,
223
+ "rstrip": false,
224
+ "single_word": false,
225
+ "special": false
226
+ },
227
+ "32025": {
228
+ "content": "<EXTRA_ID_25>",
229
+ "lstrip": false,
230
+ "normalized": true,
231
+ "rstrip": false,
232
+ "single_word": false,
233
+ "special": false
234
+ },
235
+ "32026": {
236
+ "content": "<EXTRA_ID_26>",
237
+ "lstrip": false,
238
+ "normalized": true,
239
+ "rstrip": false,
240
+ "single_word": false,
241
+ "special": false
242
+ },
243
+ "32027": {
244
+ "content": "<EXTRA_ID_27>",
245
+ "lstrip": false,
246
+ "normalized": true,
247
+ "rstrip": false,
248
+ "single_word": false,
249
+ "special": false
250
+ },
251
+ "32028": {
252
+ "content": "<EXTRA_ID_28>",
253
+ "lstrip": false,
254
+ "normalized": true,
255
+ "rstrip": false,
256
+ "single_word": false,
257
+ "special": false
258
+ },
259
+ "32029": {
260
+ "content": "<EXTRA_ID_29>",
261
+ "lstrip": false,
262
+ "normalized": true,
263
+ "rstrip": false,
264
+ "single_word": false,
265
+ "special": false
266
+ },
267
+ "32030": {
268
+ "content": "<EXTRA_ID_30>",
269
+ "lstrip": false,
270
+ "normalized": true,
271
+ "rstrip": false,
272
+ "single_word": false,
273
+ "special": false
274
+ },
275
+ "32031": {
276
+ "content": "<EXTRA_ID_31>",
277
+ "lstrip": false,
278
+ "normalized": true,
279
+ "rstrip": false,
280
+ "single_word": false,
281
+ "special": false
282
+ },
283
+ "32032": {
284
+ "content": "<EXTRA_ID_32>",
285
+ "lstrip": false,
286
+ "normalized": true,
287
+ "rstrip": false,
288
+ "single_word": false,
289
+ "special": false
290
+ },
291
+ "32033": {
292
+ "content": "<EXTRA_ID_33>",
293
+ "lstrip": false,
294
+ "normalized": true,
295
+ "rstrip": false,
296
+ "single_word": false,
297
+ "special": false
298
+ },
299
+ "32034": {
300
+ "content": "<EXTRA_ID_34>",
301
+ "lstrip": false,
302
+ "normalized": true,
303
+ "rstrip": false,
304
+ "single_word": false,
305
+ "special": false
306
+ },
307
+ "32035": {
308
+ "content": "<EXTRA_ID_35>",
309
+ "lstrip": false,
310
+ "normalized": true,
311
+ "rstrip": false,
312
+ "single_word": false,
313
+ "special": false
314
+ },
315
+ "32036": {
316
+ "content": "<EXTRA_ID_36>",
317
+ "lstrip": false,
318
+ "normalized": true,
319
+ "rstrip": false,
320
+ "single_word": false,
321
+ "special": false
322
+ },
323
+ "32037": {
324
+ "content": "<EXTRA_ID_37>",
325
+ "lstrip": false,
326
+ "normalized": true,
327
+ "rstrip": false,
328
+ "single_word": false,
329
+ "special": false
330
+ },
331
+ "32038": {
332
+ "content": "<EXTRA_ID_38>",
333
+ "lstrip": false,
334
+ "normalized": true,
335
+ "rstrip": false,
336
+ "single_word": false,
337
+ "special": false
338
+ },
339
+ "32039": {
340
+ "content": "<EXTRA_ID_39>",
341
+ "lstrip": false,
342
+ "normalized": true,
343
+ "rstrip": false,
344
+ "single_word": false,
345
+ "special": false
346
+ },
347
+ "32040": {
348
+ "content": "<EXTRA_ID_40>",
349
+ "lstrip": false,
350
+ "normalized": true,
351
+ "rstrip": false,
352
+ "single_word": false,
353
+ "special": false
354
+ },
355
+ "32041": {
356
+ "content": "<EXTRA_ID_41>",
357
+ "lstrip": false,
358
+ "normalized": true,
359
+ "rstrip": false,
360
+ "single_word": false,
361
+ "special": false
362
+ },
363
+ "32042": {
364
+ "content": "<EXTRA_ID_42>",
365
+ "lstrip": false,
366
+ "normalized": true,
367
+ "rstrip": false,
368
+ "single_word": false,
369
+ "special": false
370
+ },
371
+ "32043": {
372
+ "content": "<EXTRA_ID_43>",
373
+ "lstrip": false,
374
+ "normalized": true,
375
+ "rstrip": false,
376
+ "single_word": false,
377
+ "special": false
378
+ },
379
+ "32044": {
380
+ "content": "<EXTRA_ID_44>",
381
+ "lstrip": false,
382
+ "normalized": true,
383
+ "rstrip": false,
384
+ "single_word": false,
385
+ "special": false
386
+ },
387
+ "32045": {
388
+ "content": "<EXTRA_ID_45>",
389
+ "lstrip": false,
390
+ "normalized": true,
391
+ "rstrip": false,
392
+ "single_word": false,
393
+ "special": false
394
+ },
395
+ "32046": {
396
+ "content": "<EXTRA_ID_46>",
397
+ "lstrip": false,
398
+ "normalized": true,
399
+ "rstrip": false,
400
+ "single_word": false,
401
+ "special": false
402
+ },
403
+ "32047": {
404
+ "content": "<EXTRA_ID_47>",
405
+ "lstrip": false,
406
+ "normalized": true,
407
+ "rstrip": false,
408
+ "single_word": false,
409
+ "special": false
410
+ },
411
+ "32048": {
412
+ "content": "<EXTRA_ID_48>",
413
+ "lstrip": false,
414
+ "normalized": true,
415
+ "rstrip": false,
416
+ "single_word": false,
417
+ "special": false
418
+ },
419
+ "32049": {
420
+ "content": "<EXTRA_ID_49>",
421
+ "lstrip": false,
422
+ "normalized": true,
423
+ "rstrip": false,
424
+ "single_word": false,
425
+ "special": false
426
+ },
427
+ "32050": {
428
+ "content": "<EXTRA_ID_50>",
429
+ "lstrip": false,
430
+ "normalized": true,
431
+ "rstrip": false,
432
+ "single_word": false,
433
+ "special": false
434
+ },
435
+ "32051": {
436
+ "content": "<EXTRA_ID_51>",
437
+ "lstrip": false,
438
+ "normalized": true,
439
+ "rstrip": false,
440
+ "single_word": false,
441
+ "special": false
442
+ },
443
+ "32052": {
444
+ "content": "<EXTRA_ID_52>",
445
+ "lstrip": false,
446
+ "normalized": true,
447
+ "rstrip": false,
448
+ "single_word": false,
449
+ "special": false
450
+ },
451
+ "32053": {
452
+ "content": "<EXTRA_ID_53>",
453
+ "lstrip": false,
454
+ "normalized": true,
455
+ "rstrip": false,
456
+ "single_word": false,
457
+ "special": false
458
+ },
459
+ "32054": {
460
+ "content": "<EXTRA_ID_54>",
461
+ "lstrip": false,
462
+ "normalized": true,
463
+ "rstrip": false,
464
+ "single_word": false,
465
+ "special": false
466
+ },
467
+ "32055": {
468
+ "content": "<EXTRA_ID_55>",
469
+ "lstrip": false,
470
+ "normalized": true,
471
+ "rstrip": false,
472
+ "single_word": false,
473
+ "special": false
474
+ },
475
+ "32056": {
476
+ "content": "<EXTRA_ID_56>",
477
+ "lstrip": false,
478
+ "normalized": true,
479
+ "rstrip": false,
480
+ "single_word": false,
481
+ "special": false
482
+ },
483
+ "32057": {
484
+ "content": "<EXTRA_ID_57>",
485
+ "lstrip": false,
486
+ "normalized": true,
487
+ "rstrip": false,
488
+ "single_word": false,
489
+ "special": false
490
+ },
491
+ "32058": {
492
+ "content": "<EXTRA_ID_58>",
493
+ "lstrip": false,
494
+ "normalized": true,
495
+ "rstrip": false,
496
+ "single_word": false,
497
+ "special": false
498
+ },
499
+ "32059": {
500
+ "content": "<EXTRA_ID_59>",
501
+ "lstrip": false,
502
+ "normalized": true,
503
+ "rstrip": false,
504
+ "single_word": false,
505
+ "special": false
506
+ },
507
+ "32060": {
508
+ "content": "<EXTRA_ID_60>",
509
+ "lstrip": false,
510
+ "normalized": true,
511
+ "rstrip": false,
512
+ "single_word": false,
513
+ "special": false
514
+ },
515
+ "32061": {
516
+ "content": "<EXTRA_ID_61>",
517
+ "lstrip": false,
518
+ "normalized": true,
519
+ "rstrip": false,
520
+ "single_word": false,
521
+ "special": false
522
+ },
523
+ "32062": {
524
+ "content": "<EXTRA_ID_62>",
525
+ "lstrip": false,
526
+ "normalized": true,
527
+ "rstrip": false,
528
+ "single_word": false,
529
+ "special": false
530
+ },
531
+ "32063": {
532
+ "content": "<EXTRA_ID_63>",
533
+ "lstrip": false,
534
+ "normalized": true,
535
+ "rstrip": false,
536
+ "single_word": false,
537
+ "special": false
538
+ }
539
+ },
540
+ "additional_special_tokens": [
541
+ "<unk>",
542
+ "<s>",
543
+ "</s>"
544
+ ],
545
+ "bos_token": "<s>",
546
+ "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
547
+ "clean_up_tokenization_spaces": false,
548
+ "eos_token": "</s>",
549
+ "legacy": true,
550
+ "model_max_length": 1000000000000000019884624838656,
551
+ "pad_token": "</s>",
552
+ "sp_model_kwargs": {},
553
+ "spaces_between_special_tokens": false,
554
+ "tokenizer_class": "LlamaTokenizer",
555
+ "truncation_side": "left",
556
+ "unk_token": "<unk>",
557
+ "use_default_system_prompt": true
558
+ }