Alikhan Urumov
commited on
Commit
•
f4403d2
1
Parent(s):
9444b6c
add tokenizer
Browse files- added_tokens.json +4 -0
- special_tokens_map.json +22 -0
- tokenizer_config.json +12 -0
- vocab.json +38 -0
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 37,
|
3 |
+
"<s>": 36
|
4 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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": "</s>",
|
20 |
+
"pad_token": "[PAD]",
|
21 |
+
"unk_token": "[UNK]"
|
22 |
+
}
|
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": "/content/gdrive/MyDrive/NeuroNet/SST/wav2vec_model",
|
6 |
+
"pad_token": "[PAD]",
|
7 |
+
"replace_word_delimiter_char": " ",
|
8 |
+
"special_tokens_map_file": "/content/gdrive/MyDrive/NeuroNet/SST/wav2vec_model/special_tokens_map.json",
|
9 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
10 |
+
"unk_token": "[UNK]",
|
11 |
+
"word_delimiter_token": "|"
|
12 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[PAD]": 35,
|
3 |
+
"[UNK]": 34,
|
4 |
+
"|": 20,
|
5 |
+
"а": 12,
|
6 |
+
"б": 14,
|
7 |
+
"в": 24,
|
8 |
+
"г": 22,
|
9 |
+
"д": 23,
|
10 |
+
"е": 10,
|
11 |
+
"ж": 15,
|
12 |
+
"з": 30,
|
13 |
+
"и": 1,
|
14 |
+
"й": 8,
|
15 |
+
"к": 27,
|
16 |
+
"л": 9,
|
17 |
+
"м": 11,
|
18 |
+
"н": 31,
|
19 |
+
"о": 21,
|
20 |
+
"п": 5,
|
21 |
+
"р": 3,
|
22 |
+
"с": 7,
|
23 |
+
"т": 0,
|
24 |
+
"у": 2,
|
25 |
+
"ф": 6,
|
26 |
+
"х": 17,
|
27 |
+
"ц": 28,
|
28 |
+
"ч": 33,
|
29 |
+
"ш": 26,
|
30 |
+
"щ": 13,
|
31 |
+
"ъ": 16,
|
32 |
+
"ы": 32,
|
33 |
+
"ь": 4,
|
34 |
+
"э": 19,
|
35 |
+
"ю": 29,
|
36 |
+
"я": 18,
|
37 |
+
"ё": 25
|
38 |
+
}
|