AstralZander commited on
Commit
60166ff
1 Parent(s): 8e3f7d5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -1
README.md CHANGED
@@ -8,4 +8,15 @@ language:
8
  ---
9
  facebook/wav2vec2-xls-r-300m fine-tuned on google/fleurs and mozilla-foundation/common_voice_13_0 for Igbo language.
10
 
11
- WER: 0.51
 
 
 
 
 
 
 
 
 
 
 
 
8
  ---
9
  facebook/wav2vec2-xls-r-300m fine-tuned on google/fleurs and mozilla-foundation/common_voice_13_0 for Igbo language.
10
 
11
+ WER: 0.51
12
+
13
+
14
+ Code for running:
15
+ ```
16
+ from huggingsound import SpeechRecognitionModel
17
+ model = SpeechRecognitionModel("AstralZander/igbo_ASR")
18
+ audio_paths = [audio_path] # List with paths to audio
19
+ transcriptions = model.transcribe(audio_paths)
20
+ transcriptions # List of transcriptions, timestamps and probabilities
21
+ transcriptions[ind_audio]['transcription'] # Transcription of audio with the ind_audio index from the audio_paths list
22
+ ```