eddiegulay
commited on
Commit
•
7a445e8
1
Parent(s):
0fca3c9
Upload tokenizer
Browse filesRecovering Tokenizer from processor
- added_tokens.json +2 -2
- special_tokens_map.json +23 -1
- tokenizer_config.json +11 -6
- vocab.json +57 -32
added_tokens.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
{
|
2 |
-
"</s>":
|
3 |
-
"<s>":
|
4 |
}
|
|
|
1 |
{
|
2 |
+
"</s>": 58,
|
3 |
+
"<s>": 57
|
4 |
}
|
special_tokens_map.json
CHANGED
@@ -1,6 +1,28 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token": "<s>",
|
3 |
-
"eos_token":
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"pad_token": "[PAD]",
|
5 |
"unk_token": "[UNK]"
|
6 |
}
|
|
|
1 |
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
{
|
4 |
+
"content": "<s>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": true,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false
|
9 |
+
},
|
10 |
+
{
|
11 |
+
"content": "</s>",
|
12 |
+
"lstrip": false,
|
13 |
+
"normalized": true,
|
14 |
+
"rstrip": false,
|
15 |
+
"single_word": false
|
16 |
+
}
|
17 |
+
],
|
18 |
"bos_token": "<s>",
|
19 |
+
"eos_token": {
|
20 |
+
"content": "<s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false
|
25 |
+
},
|
26 |
"pad_token": "[PAD]",
|
27 |
"unk_token": "[UNK]"
|
28 |
}
|
tokenizer_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"added_tokens_decoder": {
|
3 |
-
"
|
4 |
"content": "[UNK]",
|
5 |
"lstrip": true,
|
6 |
"normalized": false,
|
@@ -8,7 +8,7 @@
|
|
8 |
"single_word": false,
|
9 |
"special": false
|
10 |
},
|
11 |
-
"
|
12 |
"content": "[PAD]",
|
13 |
"lstrip": true,
|
14 |
"normalized": false,
|
@@ -16,15 +16,15 @@
|
|
16 |
"single_word": false,
|
17 |
"special": false
|
18 |
},
|
19 |
-
"
|
20 |
"content": "<s>",
|
21 |
"lstrip": false,
|
22 |
-
"normalized":
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
-
"
|
28 |
"content": "</s>",
|
29 |
"lstrip": false,
|
30 |
"normalized": true,
|
@@ -33,12 +33,17 @@
|
|
33 |
"special": true
|
34 |
}
|
35 |
},
|
|
|
|
|
|
|
|
|
36 |
"bos_token": "<s>",
|
37 |
"clean_up_tokenization_spaces": true,
|
38 |
"do_lower_case": false,
|
39 |
-
"eos_token": "
|
40 |
"model_max_length": 1000000000000000019884624838656,
|
41 |
"pad_token": "[PAD]",
|
|
|
42 |
"replace_word_delimiter_char": " ",
|
43 |
"target_lang": null,
|
44 |
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
|
|
1 |
{
|
2 |
"added_tokens_decoder": {
|
3 |
+
"55": {
|
4 |
"content": "[UNK]",
|
5 |
"lstrip": true,
|
6 |
"normalized": false,
|
|
|
8 |
"single_word": false,
|
9 |
"special": false
|
10 |
},
|
11 |
+
"56": {
|
12 |
"content": "[PAD]",
|
13 |
"lstrip": true,
|
14 |
"normalized": false,
|
|
|
16 |
"single_word": false,
|
17 |
"special": false
|
18 |
},
|
19 |
+
"57": {
|
20 |
"content": "<s>",
|
21 |
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
+
"58": {
|
28 |
"content": "</s>",
|
29 |
"lstrip": false,
|
30 |
"normalized": true,
|
|
|
33 |
"special": true
|
34 |
}
|
35 |
},
|
36 |
+
"additional_special_tokens": [
|
37 |
+
"<s>",
|
38 |
+
"</s>"
|
39 |
+
],
|
40 |
"bos_token": "<s>",
|
41 |
"clean_up_tokenization_spaces": true,
|
42 |
"do_lower_case": false,
|
43 |
+
"eos_token": "<s>",
|
44 |
"model_max_length": 1000000000000000019884624838656,
|
45 |
"pad_token": "[PAD]",
|
46 |
+
"processor_class": "Wav2Vec2Processor",
|
47 |
"replace_word_delimiter_char": " ",
|
48 |
"target_lang": null,
|
49 |
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
vocab.json
CHANGED
@@ -1,34 +1,59 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"[
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"
|
11 |
-
"
|
12 |
-
"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"
|
17 |
-
"
|
18 |
-
"
|
19 |
-
"
|
20 |
-
"
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"
|
24 |
-
"
|
25 |
-
"
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
33 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
}
|
|
|
1 |
{
|
2 |
+
"=": 1,
|
3 |
+
"[PAD]": 56,
|
4 |
+
"[UNK]": 55,
|
5 |
+
"_": 2,
|
6 |
+
"`": 3,
|
7 |
+
"a": 4,
|
8 |
+
"b": 5,
|
9 |
+
"c": 6,
|
10 |
+
"d": 7,
|
11 |
+
"e": 8,
|
12 |
+
"f": 9,
|
13 |
+
"g": 10,
|
14 |
+
"h": 11,
|
15 |
+
"i": 12,
|
16 |
+
"j": 13,
|
17 |
+
"k": 14,
|
18 |
+
"l": 15,
|
19 |
+
"m": 16,
|
20 |
+
"n": 17,
|
21 |
+
"o": 18,
|
22 |
+
"p": 19,
|
23 |
+
"q": 20,
|
24 |
+
"r": 21,
|
25 |
+
"s": 22,
|
26 |
+
"t": 23,
|
27 |
+
"u": 24,
|
28 |
+
"v": 25,
|
29 |
+
"w": 26,
|
30 |
+
"x": 27,
|
31 |
+
"y": 28,
|
32 |
+
"z": 29,
|
33 |
+
"|": 0,
|
34 |
+
"°": 30,
|
35 |
+
"µ": 31,
|
36 |
+
"á": 32,
|
37 |
+
"â": 33,
|
38 |
+
"ã": 34,
|
39 |
+
"å": 35,
|
40 |
+
"è": 36,
|
41 |
+
"é": 37,
|
42 |
+
"ë": 38,
|
43 |
+
"í": 39,
|
44 |
+
"ï": 40,
|
45 |
+
"ñ": 41,
|
46 |
+
"ó": 42,
|
47 |
+
"ö": 43,
|
48 |
+
"ø": 44,
|
49 |
+
"ú": 45,
|
50 |
+
"š": 46,
|
51 |
+
"ū": 47,
|
52 |
+
"ː": 48,
|
53 |
+
"μ": 49,
|
54 |
+
"י": 50,
|
55 |
+
"ụ": 51,
|
56 |
+
"’": 52,
|
57 |
+
"•": 53,
|
58 |
+
"…": 54
|
59 |
}
|