poonehmousavi
commited on
Commit
•
b80809a
1
Parent(s):
63d8a3c
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 |
|
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 |
+
- rw
|
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: ' 29.22'
|
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 Kinyarwanda (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 | 10.80 | 29.22 | 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 (rw).
|
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 Kinyarwanda)
|
59 |
|
60 |
```python
|
61 |
from speechbrain.pretrained import EncoderDecoderASR
|
62 |
+
asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/speechbrain/asr-crdnn-commonvoice-14-rw", savedir="pretrained_models/speechbrain/asr-crdnn-commonvoice-14-rw")
|
63 |
+
asr_model.transcribe_file("speechbrain/speechbrain/asr-crdnn-commonvoice-14-rw/example-rw.wav")
|
64 |
```
|
65 |
|
66 |
### Inference on GPU
|
|
|
94 |
|
95 |
```
|
96 |
cd recipes/CommonVoice/ASR/seq2seq
|
97 |
+
python train.py hparams/train_rw.yaml --data_folder=your_data_folder
|
98 |
```
|
99 |
|
100 |
+
You can find our training results (models, logs, etc) [here](https://www.dropbox.com/sh/i1fv4f8miilqgii/AAB3gE97kmFDA0ISkIDSUW_La?dl=0)
|
101 |
|
102 |
### Limitations
|
103 |
|