poonehmousavi
commited on
Commit
•
014a798
1
Parent(s):
1d7efe0
Update README.md
Browse files
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
language:
|
3 |
-
-
|
4 |
thumbnail: null
|
5 |
tags:
|
6 |
- automatic-speech-recognition
|
@@ -11,17 +11,16 @@ tags:
|
|
11 |
license: apache-2.0
|
12 |
datasets:
|
13 |
- common_voice
|
14 |
-
|
15 |
metrics:
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
---
|
20 |
|
21 |
<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>
|
22 |
<br/><br/>
|
23 |
|
24 |
-
# CRDNN with CTC/Attention trained on CommonVoice 14.0
|
25 |
This repository provides all the necessary tools to perform automatic speech
|
26 |
recognition from an end-to-end system pretrained on CommonVoice (German Language) within
|
27 |
SpeechBrain. For a better experience, we encourage you to learn more about
|
@@ -30,16 +29,14 @@ The performance of the model is the following:
|
|
30 |
|
31 |
| Release | Test CER | Test WER | GPUs |
|
32 |
|:-------------:|:--------------:|:--------------:| :--------:|
|
33 |
-
| 15.08.23 | 12.76 |
|
34 |
|
35 |
-
## Credits
|
36 |
-
The model is provided by [vitas.ai](https://www.vitas.ai/).
|
37 |
|
38 |
## Pipeline description
|
39 |
This ASR system is composed of 2 different but linked blocks:
|
40 |
|
41 |
- Tokenizer (unigram) that transforms words into subword units and trained with
|
42 |
-
the train transcriptions (train.tsv) of CommonVoice (
|
43 |
- Acoustic model (CRDNN + CTC/Attention). The CRDNN architecture is made of
|
44 |
N blocks of convolutional neural networks with normalization and pooling on the
|
45 |
frequency domain. Then, a bidirectional LSTM is connected to a final DNN to obtain
|
@@ -58,12 +55,12 @@ pip install speechbrain
|
|
58 |
Please notice that we encourage you to read our tutorials and learn more about
|
59 |
[SpeechBrain](https://speechbrain.github.io).
|
60 |
|
61 |
-
### Transcribing your own audio files (in
|
62 |
|
63 |
```python
|
64 |
from speechbrain.pretrained import EncoderDecoderASR
|
65 |
-
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/speechbrain/asr-crdnn-commonvoice-14-
|
66 |
-
asr_model.transcribe_file("speechbrain/speechbrain/asr-crdnn-commonvoice-14-
|
67 |
```
|
68 |
|
69 |
### Inference on GPU
|
@@ -97,10 +94,10 @@ pip install -e .
|
|
97 |
|
98 |
```
|
99 |
cd recipes/CommonVoice/ASR/seq2seq
|
100 |
-
python train.py hparams/
|
101 |
```
|
102 |
|
103 |
-
You can find our training results (models, logs, etc) [here](https://www.dropbox.com/sh/
|
104 |
|
105 |
### Limitations
|
106 |
|
|
|
1 |
---
|
2 |
language:
|
3 |
+
- fr
|
4 |
thumbnail: null
|
5 |
tags:
|
6 |
- automatic-speech-recognition
|
|
|
11 |
license: apache-2.0
|
12 |
datasets:
|
13 |
- common_voice
|
|
|
14 |
metrics:
|
15 |
+
- name: Test WER
|
16 |
+
type: wer
|
17 |
+
value: ' 14.88'
|
18 |
---
|
19 |
|
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 |
+
# CRDNN with CTC/Attention 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 pretrained on CommonVoice (German Language) within
|
26 |
SpeechBrain. For a better experience, we encourage you to learn more about
|
|
|
29 |
|
30 |
| Release | Test CER | Test WER | GPUs |
|
31 |
|:-------------:|:--------------:|:--------------:| :--------:|
|
32 |
+
| 15.08.23 | 12.76 | 5.93 | 1xV100 32GB |
|
33 |
|
|
|
|
|
34 |
|
35 |
## Pipeline description
|
36 |
This ASR system is composed of 2 different but linked blocks:
|
37 |
|
38 |
- Tokenizer (unigram) that transforms words into subword units and trained with
|
39 |
+
the train transcriptions (train.tsv) of CommonVoice (fr).
|
40 |
- Acoustic model (CRDNN + CTC/Attention). The CRDNN architecture is made of
|
41 |
N blocks of convolutional neural networks with normalization and pooling on the
|
42 |
frequency domain. Then, a bidirectional LSTM is connected to a final DNN to obtain
|
|
|
55 |
Please notice that we encourage you to read our tutorials and learn more about
|
56 |
[SpeechBrain](https://speechbrain.github.io).
|
57 |
|
58 |
+
### Transcribing your own audio files (in French)
|
59 |
|
60 |
```python
|
61 |
from speechbrain.pretrained import EncoderDecoderASR
|
62 |
+
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/speechbrain/asr-crdnn-commonvoice-14-fr", savedir="pretrained_models/speechbrain/asr-crdnn-commonvoice-14-fr")
|
63 |
+
asr_model.transcribe_file("speechbrain/speechbrain/asr-crdnn-commonvoice-14-fr/example-fr.wav")
|
64 |
```
|
65 |
|
66 |
### Inference on GPU
|
|
|
94 |
|
95 |
```
|
96 |
cd recipes/CommonVoice/ASR/seq2seq
|
97 |
+
python train.py hparams/train_fr.yaml --data_folder=your_data_folder
|
98 |
```
|
99 |
|
100 |
+
You can find our training results (models, logs, etc) [here](https://www.dropbox.com/sh/07a5lt21wxp98x5/AABhNwmWFaNFyA734bNZUO03a?dl=0)
|
101 |
|
102 |
### Limitations
|
103 |
|