add tokenizer
Browse files- special_tokens_map.json +6 -1
- tokenizer_config.json +12 -1
- vocab.json +35 -1
special_tokens_map.json
CHANGED
@@ -1 +1,6 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"pad_token": "<pad>",
|
5 |
+
"unk_token": "<unk>"
|
6 |
+
}
|
tokenizer_config.json
CHANGED
@@ -1 +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 |
+
}
|
vocab.json
CHANGED
@@ -1 +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 |
+
}
|