Upload tokenizer
Browse files- special_tokens_map.json +6 -0
- tokenizer.json +102 -0
- tokenizer_config.json +8 -0
- vocab.json +1 -0
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "BOS",
|
3 |
+
"eos_token": "EOS",
|
4 |
+
"pad_token": "PAD",
|
5 |
+
"unk_token": "UNK"
|
6 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"version": "1.0",
|
3 |
+
"truncation": null,
|
4 |
+
"padding": null,
|
5 |
+
"added_tokens": [
|
6 |
+
{
|
7 |
+
"id": 0,
|
8 |
+
"content": "UNK",
|
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": "BOS",
|
27 |
+
"single_word": false,
|
28 |
+
"lstrip": false,
|
29 |
+
"rstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"special": true
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"id": 3,
|
35 |
+
"content": "EOS",
|
36 |
+
"single_word": false,
|
37 |
+
"lstrip": false,
|
38 |
+
"rstrip": false,
|
39 |
+
"normalized": false,
|
40 |
+
"special": true
|
41 |
+
}
|
42 |
+
],
|
43 |
+
"normalizer": {
|
44 |
+
"type": "Sequence",
|
45 |
+
"normalizers": [
|
46 |
+
{
|
47 |
+
"type": "Replace",
|
48 |
+
"pattern": {
|
49 |
+
"String": "\n"
|
50 |
+
},
|
51 |
+
"content": " UTT_BOUNDARY"
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"type": "Strip",
|
55 |
+
"strip_left": true,
|
56 |
+
"strip_right": true
|
57 |
+
}
|
58 |
+
]
|
59 |
+
},
|
60 |
+
"pre_tokenizer": {
|
61 |
+
"type": "Whitespace"
|
62 |
+
},
|
63 |
+
"post_processor": null,
|
64 |
+
"decoder": null,
|
65 |
+
"model": {
|
66 |
+
"type": "WordLevel",
|
67 |
+
"vocab": {
|
68 |
+
"UNK": 0,
|
69 |
+
"PAD": 1,
|
70 |
+
"BOS": 2,
|
71 |
+
"EOS": 3,
|
72 |
+
"WORD_BOUNDARY": 4,
|
73 |
+
"UTT_BOUNDARY": 5,
|
74 |
+
"k": 6,
|
75 |
+
"s": 7,
|
76 |
+
"o": 8,
|
77 |
+
"b": 9,
|
78 |
+
"a": 10,
|
79 |
+
"h": 11,
|
80 |
+
"n": 12,
|
81 |
+
"t̠ʃ": 13,
|
82 |
+
"i": 14,
|
83 |
+
"j": 15,
|
84 |
+
"d": 16,
|
85 |
+
"e": 17,
|
86 |
+
"ʃ": 18,
|
87 |
+
"u": 19,
|
88 |
+
"ɡ": 20,
|
89 |
+
"r": 21,
|
90 |
+
"f": 22,
|
91 |
+
"t": 23,
|
92 |
+
"m": 24,
|
93 |
+
"d̠ʒ": 25,
|
94 |
+
"l": 26,
|
95 |
+
"q": 27,
|
96 |
+
"v": 28,
|
97 |
+
"z": 29,
|
98 |
+
"p": 30
|
99 |
+
},
|
100 |
+
"unk_token": "UNK"
|
101 |
+
}
|
102 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"bos_token": "<|endoftext|>",
|
4 |
+
"eos_token": "<|endoftext|>",
|
5 |
+
"model_max_length": 1000000000000000019884624838656,
|
6 |
+
"tokenizer_class": "GPT2Tokenizer",
|
7 |
+
"unk_token": "<|endoftext|>"
|
8 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"UNK":0,"PAD":1,"BOS":2,"EOS":3,"WORD_BOUNDARY":4,"UTT_BOUNDARY":5,"k":6,"s":7,"o":8,"b":9,"a":10,"h":11,"n":12,"t̠ʃ":13,"i":14,"j":15,"d":16,"e":17,"ʃ":18,"u":19,"ɡ":20,"r":21,"f":22,"t":23,"m":24,"d̠ʒ":25,"l":26,"q":27,"v":28,"z":29,"p":30}
|