UmarRamzan commited on
Commit
7483787
1 Parent(s): c273f23

Upload tokenizer

Browse files
Files changed (5) hide show
  1. README.md +3 -3
  2. added_tokens.json +2 -2
  3. special_tokens_map.json +4 -28
  4. tokenizer_config.json +4 -5
  5. vocab.json +22 -38
README.md CHANGED
@@ -9,8 +9,8 @@ model-index:
9
  - name: w2v2-bert-urdu
10
  results:
11
  - task:
12
- name: Automatic Speech Recognition
13
  type: automatic-speech-recognition
 
14
  dataset:
15
  name: common_voice_17_0
16
  type: common_voice_17_0
@@ -18,9 +18,9 @@ model-index:
18
  split: test[:100]
19
  args: ur
20
  metrics:
21
- - name: Wer
22
- type: wer
23
  value: 0.3300546448087432
 
24
  ---
25
 
26
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
9
  - name: w2v2-bert-urdu
10
  results:
11
  - task:
 
12
  type: automatic-speech-recognition
13
+ name: Automatic Speech Recognition
14
  dataset:
15
  name: common_voice_17_0
16
  type: common_voice_17_0
 
18
  split: test[:100]
19
  args: ur
20
  metrics:
21
+ - type: wer
 
22
  value: 0.3300546448087432
23
+ name: Wer
24
  ---
25
 
26
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
added_tokens.json CHANGED
@@ -1,4 +1,4 @@
1
  {
2
- "</s>": 64,
3
- "<s>": 63
4
  }
 
1
  {
2
+ "</s>": 48,
3
+ "<s>": 47
4
  }
special_tokens_map.json CHANGED
@@ -1,30 +1,6 @@
1
  {
2
- "bos_token": {
3
- "content": "<s>",
4
- "lstrip": false,
5
- "normalized": false,
6
- "rstrip": false,
7
- "single_word": false
8
- },
9
- "eos_token": {
10
- "content": "</s>",
11
- "lstrip": false,
12
- "normalized": false,
13
- "rstrip": false,
14
- "single_word": false
15
- },
16
- "pad_token": {
17
- "content": "[PAD]",
18
- "lstrip": true,
19
- "normalized": false,
20
- "rstrip": true,
21
- "single_word": false
22
- },
23
- "unk_token": {
24
- "content": "[UNK]",
25
- "lstrip": true,
26
- "normalized": false,
27
- "rstrip": true,
28
- "single_word": false
29
- }
30
  }
 
1
  {
2
+ "bos_token": "<s>",
3
+ "eos_token": "</s>",
4
+ "pad_token": "[PAD]",
5
+ "unk_token": "[UNK]"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6
  }
tokenizer_config.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "added_tokens_decoder": {
3
- "61": {
4
  "content": "[UNK]",
5
  "lstrip": true,
6
  "normalized": false,
@@ -8,7 +8,7 @@
8
  "single_word": false,
9
  "special": false
10
  },
11
- "62": {
12
  "content": "[PAD]",
13
  "lstrip": true,
14
  "normalized": false,
@@ -16,7 +16,7 @@
16
  "single_word": false,
17
  "special": false
18
  },
19
- "63": {
20
  "content": "<s>",
21
  "lstrip": false,
22
  "normalized": false,
@@ -24,7 +24,7 @@
24
  "single_word": false,
25
  "special": true
26
  },
27
- "64": {
28
  "content": "</s>",
29
  "lstrip": false,
30
  "normalized": false,
@@ -39,7 +39,6 @@
39
  "eos_token": "</s>",
40
  "model_max_length": 1000000000000000019884624838656,
41
  "pad_token": "[PAD]",
42
- "processor_class": "Wav2Vec2ProcessorWithLM",
43
  "replace_word_delimiter_char": " ",
44
  "target_lang": null,
45
  "tokenizer_class": "Wav2Vec2CTCTokenizer",
 
1
  {
2
  "added_tokens_decoder": {
3
+ "45": {
4
  "content": "[UNK]",
5
  "lstrip": true,
6
  "normalized": false,
 
8
  "single_word": false,
9
  "special": false
10
  },
11
+ "46": {
12
  "content": "[PAD]",
13
  "lstrip": true,
14
  "normalized": false,
 
16
  "single_word": false,
17
  "special": false
18
  },
19
+ "47": {
20
  "content": "<s>",
21
  "lstrip": false,
22
  "normalized": false,
 
24
  "single_word": false,
25
  "special": true
26
  },
27
+ "48": {
28
  "content": "</s>",
29
  "lstrip": false,
30
  "normalized": false,
 
39
  "eos_token": "</s>",
40
  "model_max_length": 1000000000000000019884624838656,
41
  "pad_token": "[PAD]",
 
42
  "replace_word_delimiter_char": " ",
43
  "target_lang": null,
44
  "tokenizer_class": "Wav2Vec2CTCTokenizer",
vocab.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
- "[PAD]": 62,
3
- "[UNK]": 61,
4
  "|": 0,
5
  "أ": 1,
6
  "ؤ": 2,
@@ -26,40 +26,24 @@
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
  }
 
1
  {
2
+ "[PAD]": 46,
3
+ "[UNK]": 45,
4
  "|": 0,
5
  "أ": 1,
6
  "ؤ": 2,
 
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
  }