Commit
·
08c9431
1
Parent(s):
273cf5d
Update README.md
Browse files
README.md
CHANGED
|
@@ -17,7 +17,7 @@ metrics:
|
|
| 17 |
# CRDNN with CTC/Attention trained on CommonVoice French (No LM)
|
| 18 |
|
| 19 |
This repository provides all the necessary tools to perform automatic speech
|
| 20 |
-
recognition from an end-to-end system pretrained on CommonVoice (
|
| 21 |
SpeechBrain. For a better experience, we encourage you to learn more about
|
| 22 |
[SpeechBrain](https://speechbrain.github.io). The given ASR model performance are:
|
| 23 |
|
|
@@ -53,12 +53,12 @@ pip install speechbrain
|
|
| 53 |
Please notice that we encourage you to read our tutorials and learn more about
|
| 54 |
[SpeechBrain](https://speechbrain.github.io).
|
| 55 |
|
| 56 |
-
### Transcribing your own audio files
|
| 57 |
|
| 58 |
```python
|
| 59 |
from speechbrain.pretrained import EncoderDecoderASR
|
| 60 |
|
| 61 |
-
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-commonvoice-fr")
|
| 62 |
asr_model.transcribe_file("path_to_your_file.wav")
|
| 63 |
|
| 64 |
```
|
|
|
|
| 17 |
# CRDNN with CTC/Attention trained on CommonVoice French (No LM)
|
| 18 |
|
| 19 |
This repository provides all the necessary tools to perform automatic speech
|
| 20 |
+
recognition from an end-to-end system pretrained on CommonVoice (French Language) within
|
| 21 |
SpeechBrain. For a better experience, we encourage you to learn more about
|
| 22 |
[SpeechBrain](https://speechbrain.github.io). The given ASR model performance are:
|
| 23 |
|
|
|
|
| 53 |
Please notice that we encourage you to read our tutorials and learn more about
|
| 54 |
[SpeechBrain](https://speechbrain.github.io).
|
| 55 |
|
| 56 |
+
### Transcribing your own audio files (in French)
|
| 57 |
|
| 58 |
```python
|
| 59 |
from speechbrain.pretrained import EncoderDecoderASR
|
| 60 |
|
| 61 |
+
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-crdnn-commonvoice-fr", savedir="pretrained_models/asr-crdnn-commonvoice-fr")
|
| 62 |
asr_model.transcribe_file("path_to_your_file.wav")
|
| 63 |
|
| 64 |
```
|