boumehdi commited on
Commit
2e5002b
1 Parent(s): bff99dd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -23,7 +23,7 @@ model-index:
23
 
24
  [othrif/wav2vec2-large-xlsr-moroccan](https://huggingface.co/othrif/wav2vec2-large-xlsr-moroccan) fine-tuned on 6 hours of labeled Darija Audios
25
 
26
- I have also added 3 phonetic units to this model ڭ, ڤ and پ represented by k, v and p. For example: ڭال , ڤيديو , پودكاست
27
 
28
  ## Usage
29
 
@@ -54,7 +54,7 @@ tokens=torch.argmax(logits, axis=-1)
54
  transcription = tokenizer.batch_decode(tokens)
55
 
56
  # print the output
57
- print(transcription.replace('k', 'ڭ').replace('v', 'ڤ').replace('p', 'پ'))
58
  ```
59
 
60
  Here's the output: ڭالت ليا هاد السيد هادا ما كاينش بحالو
 
23
 
24
  [othrif/wav2vec2-large-xlsr-moroccan](https://huggingface.co/othrif/wav2vec2-large-xlsr-moroccan) fine-tuned on 6 hours of labeled Darija Audios
25
 
26
+ I have also added 3 phonetic units to this model ڭ, ڤ and پ. For example: ڭال , ڤيديو , پودكاست
27
 
28
  ## Usage
29
 
 
54
  transcription = tokenizer.batch_decode(tokens)
55
 
56
  # print the output
57
+ print(transcription)
58
  ```
59
 
60
  Here's the output: ڭالت ليا هاد السيد هادا ما كاينش بحالو