Commit
•
e5eaaa7
1
Parent(s):
7c3a0cd
add tokenizer
Browse files- special_tokens_map.json +6 -0
- tokenizer_config.json +12 -0
- vocab.json +36 -0
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"pad_token": "<pad>",
|
5 |
+
"unk_token": "<unk>"
|
6 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"do_lower_case": false,
|
4 |
+
"eos_token": "</s>",
|
5 |
+
"name_or_path": "sanchit-gandhi/wav2vec2_ctc_tedlium_tokenizer",
|
6 |
+
"pad_token": "<pad>",
|
7 |
+
"replace_word_delimiter_char": " ",
|
8 |
+
"special_tokens_map_file": null,
|
9 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
10 |
+
"unk_token": "<unk>",
|
11 |
+
"word_delimiter_token": "|"
|
12 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"'": 14,
|
3 |
+
"<": 27,
|
4 |
+
"</s>": 2,
|
5 |
+
"<pad>": 0,
|
6 |
+
"<s>": 1,
|
7 |
+
"<unk>": 3,
|
8 |
+
">": 20,
|
9 |
+
"a": 16,
|
10 |
+
"b": 22,
|
11 |
+
"c": 15,
|
12 |
+
"d": 6,
|
13 |
+
"e": 11,
|
14 |
+
"f": 25,
|
15 |
+
"g": 31,
|
16 |
+
"h": 13,
|
17 |
+
"i": 29,
|
18 |
+
"j": 18,
|
19 |
+
"k": 17,
|
20 |
+
"l": 26,
|
21 |
+
"m": 5,
|
22 |
+
"n": 23,
|
23 |
+
"o": 19,
|
24 |
+
"p": 33,
|
25 |
+
"q": 7,
|
26 |
+
"r": 8,
|
27 |
+
"s": 28,
|
28 |
+
"t": 21,
|
29 |
+
"u": 30,
|
30 |
+
"v": 9,
|
31 |
+
"w": 12,
|
32 |
+
"x": 4,
|
33 |
+
"y": 24,
|
34 |
+
"z": 32,
|
35 |
+
"|": 10
|
36 |
+
}
|