Upload tokenizer
Browse files- special_tokens_map.json +4 -0
- tokenizer_config.json +15 -0
- vocab.json +40 -0
special_tokens_map.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"pad_token": "<pad>",
|
3 |
+
"unk_token": "<unk>"
|
4 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": null,
|
3 |
+
"do_lower_case": false,
|
4 |
+
"eos_token": null,
|
5 |
+
"model_max_length": 1000000000000000019884624838656,
|
6 |
+
"name_or_path": "wav2vec_lm_farsi",
|
7 |
+
"pad_token": "<pad>",
|
8 |
+
"processor_class": "Wav2Vec2ProcessorWithLM",
|
9 |
+
"replace_word_delimiter_char": " ",
|
10 |
+
"special_tokens_map_file": "/workspace/output_models/fa/xlsr-fa/special_tokens_map.json",
|
11 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
12 |
+
"tokenizer_file": null,
|
13 |
+
"unk_token": "<unk>",
|
14 |
+
"word_delimiter_token": "|"
|
15 |
+
}
|
vocab.json
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<pad>": 0,
|
3 |
+
"<unk>": 3,
|
4 |
+
"|": 4,
|
5 |
+
"آ": 5,
|
6 |
+
"ئ": 6,
|
7 |
+
"ا": 7,
|
8 |
+
"ب": 8,
|
9 |
+
"ت": 9,
|
10 |
+
"ث": 10,
|
11 |
+
"ج": 11,
|
12 |
+
"ح": 12,
|
13 |
+
"خ": 13,
|
14 |
+
"د": 14,
|
15 |
+
"ذ": 15,
|
16 |
+
"ر": 16,
|
17 |
+
"ز": 17,
|
18 |
+
"س": 18,
|
19 |
+
"ش": 19,
|
20 |
+
"ص": 20,
|
21 |
+
"ض": 21,
|
22 |
+
"ط": 22,
|
23 |
+
"ظ": 23,
|
24 |
+
"ع": 24,
|
25 |
+
"غ": 25,
|
26 |
+
"ف": 26,
|
27 |
+
"ق": 27,
|
28 |
+
"ل": 28,
|
29 |
+
"م": 29,
|
30 |
+
"ن": 30,
|
31 |
+
"ه": 31,
|
32 |
+
"و": 32,
|
33 |
+
"پ": 33,
|
34 |
+
"چ": 34,
|
35 |
+
"ژ": 35,
|
36 |
+
"ک": 36,
|
37 |
+
"گ": 37,
|
38 |
+
"ی": 38,
|
39 |
+
"": 39
|
40 |
+
}
|