add tokenizer
Browse files- special_tokens_map.json +0 -16
- tokenizer_config.json +0 -2
- vocab.json +44 -44
special_tokens_map.json
CHANGED
@@ -1,20 +1,4 @@
|
|
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]",
|
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token": "<s>",
|
3 |
"eos_token": "</s>",
|
4 |
"pad_token": "[PAD]",
|
tokenizer_config.json
CHANGED
@@ -2,10 +2,8 @@
|
|
2 |
"bos_token": "<s>",
|
3 |
"do_lower_case": false,
|
4 |
"eos_token": "</s>",
|
5 |
-
"name_or_path": "./",
|
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": "|"
|
|
|
2 |
"bos_token": "<s>",
|
3 |
"do_lower_case": false,
|
4 |
"eos_token": "</s>",
|
|
|
5 |
"pad_token": "[PAD]",
|
6 |
"replace_word_delimiter_char": " ",
|
|
|
7 |
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
8 |
"unk_token": "[UNK]",
|
9 |
"word_delimiter_token": "|"
|
vocab.json
CHANGED
@@ -1,47 +1,47 @@
|
|
1 |
{
|
2 |
-
" ":
|
3 |
-
"
|
4 |
-
"[UNK]":
|
5 |
-
"آ":
|
6 |
-
"أ":
|
7 |
-
"ؤ":
|
8 |
-
"ئ":
|
9 |
-
"ا":
|
10 |
-
"ب":
|
11 |
-
"ت":
|
12 |
-
"ث":
|
13 |
-
"ج":
|
14 |
"ح": 16,
|
15 |
-
"خ":
|
16 |
-
"د":
|
17 |
-
"ذ":
|
18 |
-
"ر":
|
19 |
-
"ز":
|
20 |
-
"س":
|
21 |
-
"ش":
|
22 |
-
"ص":
|
23 |
-
"ض":
|
24 |
-
"ط":
|
25 |
-
"ظ":
|
26 |
-
"ع":
|
27 |
-
"غ":
|
28 |
-
"ف":
|
29 |
-
"ق":
|
30 |
-
"ل":
|
31 |
-
"م":
|
32 |
-
"ن":
|
33 |
-
"و":
|
34 |
-
"ً":
|
35 |
-
"ٹ":
|
36 |
-
"پ":
|
37 |
-
"چ":
|
38 |
-
"ڈ":
|
39 |
-
"ڑ":
|
40 |
-
"ک":
|
41 |
-
"گ":
|
42 |
-
"ں":
|
43 |
-
"ھ":
|
44 |
-
"ہ":
|
45 |
-
"ی":
|
46 |
-
"ے":
|
47 |
}
|
|
|
1 |
{
|
2 |
+
" ": 26,
|
3 |
+
"PAD": 43,
|
4 |
+
"[UNK]": 44,
|
5 |
+
"آ": 33,
|
6 |
+
"أ": 28,
|
7 |
+
"ؤ": 27,
|
8 |
+
"ئ": 35,
|
9 |
+
"ا": 29,
|
10 |
+
"ب": 4,
|
11 |
+
"ت": 42,
|
12 |
+
"ث": 20,
|
13 |
+
"ج": 41,
|
14 |
"ح": 16,
|
15 |
+
"خ": 21,
|
16 |
+
"د": 0,
|
17 |
+
"ذ": 5,
|
18 |
+
"ر": 32,
|
19 |
+
"ز": 12,
|
20 |
+
"س": 1,
|
21 |
+
"ش": 31,
|
22 |
+
"ص": 17,
|
23 |
+
"ض": 8,
|
24 |
+
"ط": 34,
|
25 |
+
"ظ": 19,
|
26 |
+
"ع": 22,
|
27 |
+
"غ": 10,
|
28 |
+
"ف": 23,
|
29 |
+
"ق": 25,
|
30 |
+
"ل": 30,
|
31 |
+
"م": 15,
|
32 |
+
"ن": 9,
|
33 |
+
"و": 3,
|
34 |
+
"ً": 14,
|
35 |
+
"ٹ": 37,
|
36 |
+
"پ": 39,
|
37 |
+
"چ": 6,
|
38 |
+
"ڈ": 38,
|
39 |
+
"ڑ": 7,
|
40 |
+
"ک": 24,
|
41 |
+
"گ": 18,
|
42 |
+
"ں": 2,
|
43 |
+
"ھ": 36,
|
44 |
+
"ہ": 40,
|
45 |
+
"ی": 11,
|
46 |
+
"ے": 13
|
47 |
}
|