add tokenizer
Browse files- special_tokens_map.json +1 -6
- tokenizer_config.json +1 -12
- vocab.json +1 -35
special_tokens_map.json
CHANGED
@@ -1,6 +1 @@
|
|
1 |
-
{
|
2 |
-
"bos_token": "<s>",
|
3 |
-
"eos_token": "</s>",
|
4 |
-
"pad_token": "<pad>",
|
5 |
-
"unk_token": "<unk>"
|
6 |
-
}
|
|
|
1 |
+
{"bos_token": "<s>", "eos_token": "</s>", "unk_token": "[UNK]", "pad_token": "[PAD]"}
|
|
|
|
|
|
|
|
|
|
tokenizer_config.json
CHANGED
@@ -1,12 +1 @@
|
|
1 |
-
{
|
2 |
-
"bos_token": "<s>",
|
3 |
-
"do_lower_case": false,
|
4 |
-
"eos_token": "</s>",
|
5 |
-
"name_or_path": "jonatasgrosman/wav2vec2-xls-r-1b-english",
|
6 |
-
"pad_token": "<pad>",
|
7 |
-
"replace_word_delimiter_char": " ",
|
8 |
-
"special_tokens_map_file": "/root/.cache/huggingface/transformers/8caa3c129445e09b903b677c369be532669c13e0eeedab0a11dddefe85790904.9d6cd81ef646692fb1c169a880161ea1cb95f49694f220aced9b704b457e51dd",
|
9 |
-
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
10 |
-
"unk_token": "<unk>",
|
11 |
-
"word_delimiter_token": "|"
|
12 |
-
}
|
|
|
1 |
+
{"unk_token": "[UNK]", "bos_token": "<s>", "eos_token": "</s>", "pad_token": "[PAD]", "do_lower_case": false, "word_delimiter_token": "|", "replace_word_delimiter_char": " ", "tokenizer_class": "Wav2Vec2CTCTokenizer"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vocab.json
CHANGED
@@ -1,35 +1 @@
|
|
1 |
-
{
|
2 |
-
"'": 5,
|
3 |
-
"-": 6,
|
4 |
-
"</s>": 2,
|
5 |
-
"<pad>": 0,
|
6 |
-
"<s>": 1,
|
7 |
-
"<unk>": 3,
|
8 |
-
"a": 7,
|
9 |
-
"b": 8,
|
10 |
-
"c": 9,
|
11 |
-
"d": 10,
|
12 |
-
"e": 11,
|
13 |
-
"f": 12,
|
14 |
-
"g": 13,
|
15 |
-
"h": 14,
|
16 |
-
"i": 15,
|
17 |
-
"j": 16,
|
18 |
-
"k": 17,
|
19 |
-
"l": 18,
|
20 |
-
"m": 19,
|
21 |
-
"n": 20,
|
22 |
-
"o": 21,
|
23 |
-
"p": 22,
|
24 |
-
"q": 23,
|
25 |
-
"r": 24,
|
26 |
-
"s": 25,
|
27 |
-
"t": 26,
|
28 |
-
"u": 27,
|
29 |
-
"v": 28,
|
30 |
-
"w": 29,
|
31 |
-
"x": 30,
|
32 |
-
"y": 31,
|
33 |
-
"z": 32,
|
34 |
-
"|": 4
|
35 |
-
}
|
|
|
1 |
+
{"i": 1, "d": 2, "t": 3, "j": 4, "n": 5, "s": 6, "g": 7, "a": 8, "x": 9, "m": 10, "y": 11, "z": 12, "l": 13, "w": 14, "k": 15, "u": 16, "f": 17, "o": 18, "v": 19, "'": 20, "h": 21, "e": 22, "p": 23, "b": 24, "r": 25, "c": 26, "q": 27, "|": 0, "[UNK]": 28, "[PAD]": 29}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|