poonehmousavi
commited on
Commit
•
a16effb
1
Parent(s):
81569b0
Update README.md
Browse files
README.md
CHANGED
@@ -20,7 +20,7 @@ metrics:
|
|
20 |
<iframe src="https://ghbtns.com/github-btn.html?user=speechbrain&repo=speechbrain&type=star&count=true&size=large&v=2" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
|
21 |
<br/><br/>
|
22 |
|
23 |
-
#
|
24 |
This repository provides all the necessary tools to perform automatic speech
|
25 |
recognition from an end-to-end system within
|
26 |
SpeechBrain. For a better experience, we encourage you to learn more about
|
@@ -57,9 +57,9 @@ Please notice that we encourage you to read our tutorials and learn more about
|
|
57 |
### Transcribing your own audio files (in French)
|
58 |
|
59 |
```python
|
60 |
-
from speechbrain.
|
61 |
-
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-
|
62 |
-
asr_model.transcribe_file("speechbrain/asr-
|
63 |
```
|
64 |
|
65 |
### Inference on GPU
|
|
|
20 |
<iframe src="https://ghbtns.com/github-btn.html?user=speechbrain&repo=speechbrain&type=star&count=true&size=large&v=2" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
|
21 |
<br/><br/>
|
22 |
|
23 |
+
# Transformer trained on CommonVoice 14.0 French (No LM)
|
24 |
This repository provides all the necessary tools to perform automatic speech
|
25 |
recognition from an end-to-end system within
|
26 |
SpeechBrain. For a better experience, we encourage you to learn more about
|
|
|
57 |
### Transcribing your own audio files (in French)
|
58 |
|
59 |
```python
|
60 |
+
from speechbrain.inference.ASR import EncoderDecoderASR
|
61 |
+
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-transformer-commonvoice-14-fr", savedir="pretrained_models/asr-transformer-commonvoice-14-fr")
|
62 |
+
asr_model.transcribe_file("speechbrain/asr-transformer-commonvoice-14-fr/example-fr.wav")
|
63 |
```
|
64 |
|
65 |
### Inference on GPU
|