Update README.md
Browse files
README.md
CHANGED
@@ -21,13 +21,6 @@ model-index:
|
|
21 |
- task:
|
22 |
name: Automatic Speech Recognition
|
23 |
type: automatic-speech-recognition
|
24 |
-
dataset:
|
25 |
-
name: RescueSpeech
|
26 |
-
type: zenodo.org/record/8077622
|
27 |
-
config: de
|
28 |
-
split: test
|
29 |
-
args:
|
30 |
-
language: de
|
31 |
metrics:
|
32 |
- name: Test WER
|
33 |
type: wer
|
@@ -76,7 +69,7 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
76 |
|
77 |
```python
|
78 |
|
79 |
-
from speechbrain.
|
80 |
|
81 |
asr_model = WhisperASR.from_hparams(source="speechbrain/rescuespeech_whisper", savedir="pretrained_models/rescuespeech_whisper")
|
82 |
asr_model.transcribe_file("speechbrain/rescuespeech_whisper/example_de.wav")
|
|
|
21 |
- task:
|
22 |
name: Automatic Speech Recognition
|
23 |
type: automatic-speech-recognition
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
metrics:
|
25 |
- name: Test WER
|
26 |
type: wer
|
|
|
69 |
|
70 |
```python
|
71 |
|
72 |
+
from speechbrain.inference.ASR import WhisperASR
|
73 |
|
74 |
asr_model = WhisperASR.from_hparams(source="speechbrain/rescuespeech_whisper", savedir="pretrained_models/rescuespeech_whisper")
|
75 |
asr_model.transcribe_file("speechbrain/rescuespeech_whisper/example_de.wav")
|