hadiqa123 commited on
Commit
30d6e3e
1 Parent(s): bfb3a27

add tokenizer

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