Upload tokenizer
Browse files- special_tokens_map.json +6 -0
- tokenizer.json +127 -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,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"n": 6,
|
75 |
+
"o": 7,
|
76 |
+
"m": 8,
|
77 |
+
"i": 9,
|
78 |
+
"s": 10,
|
79 |
+
"a": 11,
|
80 |
+
"æ": 12,
|
81 |
+
"r": 13,
|
82 |
+
"p": 14,
|
83 |
+
"l": 15,
|
84 |
+
"e": 16,
|
85 |
+
"d": 17,
|
86 |
+
"iː": 18,
|
87 |
+
"t": 19,
|
88 |
+
"ʃ": 20,
|
89 |
+
"kː": 21,
|
90 |
+
"v": 22,
|
91 |
+
"æi": 23,
|
92 |
+
"pː": 24,
|
93 |
+
"u": 25,
|
94 |
+
"k": 26,
|
95 |
+
"h": 27,
|
96 |
+
"eː": 28,
|
97 |
+
"ɑ": 29,
|
98 |
+
"yi": 30,
|
99 |
+
"j": 31,
|
100 |
+
"uː": 32,
|
101 |
+
"ɛ": 33,
|
102 |
+
"ɡ": 34,
|
103 |
+
"b": 35,
|
104 |
+
"aː": 36,
|
105 |
+
"ɪ": 37,
|
106 |
+
"ɔ": 38,
|
107 |
+
"ɵ": 39,
|
108 |
+
"ɵː": 40,
|
109 |
+
"ʎ": 41,
|
110 |
+
"ʊ": 42,
|
111 |
+
"ø": 43,
|
112 |
+
"øː": 44,
|
113 |
+
"y": 45,
|
114 |
+
"yː": 46,
|
115 |
+
"tː": 47,
|
116 |
+
"ŋ": 48,
|
117 |
+
"oː": 49,
|
118 |
+
"ɲ": 50,
|
119 |
+
"w": 51,
|
120 |
+
"æː": 52,
|
121 |
+
"f": 53,
|
122 |
+
"ʒ": 54,
|
123 |
+
"z": 55
|
124 |
+
},
|
125 |
+
"unk_token": "UNK"
|
126 |
+
}
|
127 |
+
}
|
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,"n":6,"o":7,"m":8,"i":9,"s":10,"a":11,"æ":12,"r":13,"p":14,"l":15,"e":16,"d":17,"iː":18,"t":19,"ʃ":20,"kː":21,"v":22,"æi":23,"pː":24,"u":25,"k":26,"h":27,"eː":28,"ɑ":29,"yi":30,"j":31,"uː":32,"ɛ":33,"ɡ":34,"b":35,"aː":36,"ɪ":37,"ɔ":38,"ɵ":39,"ɵː":40,"ʎ":41,"ʊ":42,"ø":43,"øː":44,"y":45,"yː":46,"tː":47,"ŋ":48,"oː":49,"ɲ":50,"w":51,"æː":52,"f":53,"ʒ":54,"z":55}
|