add tokenizer
Browse files- added_tokens.json +4 -0
- special_tokens_map.json +22 -1
- tokenizer_config.json +12 -1
- vocab.json +68 -1
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 67,
|
3 |
+
"<s>": 66
|
4 |
+
}
|
special_tokens_map.json
CHANGED
@@ -1 +1,22 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
CHANGED
@@ -1 +1,12 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
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": "|"
|
12 |
+
}
|
vocab.json
CHANGED
@@ -1 +1,68 @@
|
|
1 |
-
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"[PAD]": 65,
|
3 |
+
"[UNK]": 64,
|
4 |
+
"|": 0,
|
5 |
+
"،": 1,
|
6 |
+
"؟": 2,
|
7 |
+
"ء": 3,
|
8 |
+
"آ": 4,
|
9 |
+
"أ": 5,
|
10 |
+
"ؤ": 6,
|
11 |
+
"ئ": 7,
|
12 |
+
"ا": 8,
|
13 |
+
"ب": 9,
|
14 |
+
"ت": 10,
|
15 |
+
"ث": 11,
|
16 |
+
"ج": 12,
|
17 |
+
"ح": 13,
|
18 |
+
"خ": 14,
|
19 |
+
"د": 15,
|
20 |
+
"ذ": 16,
|
21 |
+
"ر": 17,
|
22 |
+
"ز": 18,
|
23 |
+
"س": 19,
|
24 |
+
"ش": 20,
|
25 |
+
"ص": 21,
|
26 |
+
"ض": 22,
|
27 |
+
"ط": 23,
|
28 |
+
"ظ": 24,
|
29 |
+
"ع": 25,
|
30 |
+
"غ": 26,
|
31 |
+
"ف": 27,
|
32 |
+
"ق": 28,
|
33 |
+
"ل": 29,
|
34 |
+
"م": 30,
|
35 |
+
"ن": 31,
|
36 |
+
"و": 32,
|
37 |
+
"ى": 33,
|
38 |
+
"ي": 34,
|
39 |
+
"ً": 35,
|
40 |
+
"َ": 36,
|
41 |
+
"ُ": 37,
|
42 |
+
"ِ": 38,
|
43 |
+
"ّ": 39,
|
44 |
+
"ٓ": 40,
|
45 |
+
"ٔ": 41,
|
46 |
+
"ٰ": 42,
|
47 |
+
"ٹ": 43,
|
48 |
+
"پ": 44,
|
49 |
+
"چ": 45,
|
50 |
+
"ڈ": 46,
|
51 |
+
"ڑ": 47,
|
52 |
+
"ژ": 48,
|
53 |
+
"ک": 49,
|
54 |
+
"گ": 50,
|
55 |
+
"ں": 51,
|
56 |
+
"ھ": 52,
|
57 |
+
"ہ": 53,
|
58 |
+
"ۂ": 54,
|
59 |
+
"ۃ": 55,
|
60 |
+
"ی": 56,
|
61 |
+
"ے": 57,
|
62 |
+
"ۓ": 58,
|
63 |
+
"۔": 59,
|
64 |
+
"’": 60,
|
65 |
+
"…": 61,
|
66 |
+
"ﷲ": 62,
|
67 |
+
"ﷺ": 63
|
68 |
+
}
|