Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,103 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
license: cc-by-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
|
3 |
+
|
4 |
+
|
5 |
+
language:
|
6 |
+
- be
|
7 |
+
library_name: nemo
|
8 |
+
datasets:
|
9 |
+
- mozilla-foundation/common_voice_10_0
|
10 |
+
thumbnail: null
|
11 |
+
tags:
|
12 |
+
- automatic-speech-recognition
|
13 |
+
- speech
|
14 |
+
- audio
|
15 |
+
- Transducer
|
16 |
+
- Conformer
|
17 |
+
- Transformer
|
18 |
+
- pytorch
|
19 |
+
- NeMo
|
20 |
+
- hf-asr-leaderboard
|
21 |
license: cc-by-4.0
|
22 |
+
model-index:
|
23 |
+
- name: stt_be_conformer_transducer_large
|
24 |
+
results:
|
25 |
+
- task:
|
26 |
+
name: Automatic Speech Recognition
|
27 |
+
type: automatic-speech-recognition
|
28 |
+
dataset:
|
29 |
+
name: MCV_10_be
|
30 |
+
type: mcv_asr
|
31 |
+
config: clean
|
32 |
+
split: test
|
33 |
+
args:
|
34 |
+
language: be
|
35 |
+
metrics:
|
36 |
+
- name: Test WER
|
37 |
+
type: wer
|
38 |
+
value: 3.8
|
39 |
+
|
40 |
---
|
41 |
+
# NVIDIA Conformer-RNNT Large (be)
|
42 |
+
|
43 |
+
<style>
|
44 |
+
img {
|
45 |
+
display: inline;
|
46 |
+
}
|
47 |
+
</style>
|
48 |
+
|
49 |
+
| [![Model architecture](https://img.shields.io/badge/Model_Arch-Conformer--Transducer-lightgrey#model-badge)](#model-architecture)
|
50 |
+
| [![Model size](https://img.shields.io/badge/Params-120M-lightgrey#model-badge)](#model-architecture)
|
51 |
+
| [![Language](https://img.shields.io/badge/Language-be--Belarusian-lightgrey#model-badge)](#datasets)
|
52 |
+
|
53 |
+
|
54 |
+
This model transcribes speech in lowercase Belarusian alphabet including spaces and apostrophes, and is trained on few hundreds of Belarusian speech data.
|
55 |
+
It is a "large" variant of Conformer, with around 120 million parameters.
|
56 |
+
See the [model architecture](#model-architecture) section and [NeMo documentation](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/main/asr/models.html#conformer-transducer) for complete architecture details.
|
57 |
+
|
58 |
+
|
59 |
+
## Usage
|
60 |
+
|
61 |
+
The model is available for use in the NeMo toolkit [3], and can be used as a pre-trained checkpoint for inference or for fine-tuning on another dataset.
|
62 |
+
|
63 |
+
To train, fine-tune or play with the model you will need to install [NVIDIA NeMo](https://github.com/NVIDIA/NeMo). We recommend you install it after you've installed latest PyTorch version.
|
64 |
+
|
65 |
+
```
|
66 |
+
pip install nemo_toolkit['all']
|
67 |
+
```
|
68 |
+
|
69 |
+
Conformer-Transducer model is an autoregressive variant of Conformer model [1] for Automatic Speech Recognition which uses Transducer loss/decoding instead of CTC Loss. You may find more info on the detail of this model here: [Conformer-Transducer Model](https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/main/asr/models.html).
|
70 |
+
|
71 |
+
## Training
|
72 |
+
|
73 |
+
The NeMo toolkit [3] was used for training the models for over several hundred epochs. These model are trained with this [example script](https://github.com/NVIDIA/NeMo/blob/main/examples/asr/asr_transducer/speech_to_text_rnnt_bpe.py) and this [base config](https://github.com/NVIDIA/NeMo/blob/main/examples/asr/conf/conformer/conformer_transducer_bpe.yaml).
|
74 |
+
|
75 |
+
The tokenizers for these models were built using the text transcripts of the train set with this [script](https://github.com/NVIDIA/NeMo/blob/main/scripts/tokenizers/process_asr_text_tokenizer.py).
|
76 |
+
|
77 |
+
### Datasets
|
78 |
+
All the models in this collection are trained on a composite dataset (NeMo ASRSET) comprising of several hundreds hours of Belarusian speech:
|
79 |
+
- Mozilla Common Voice (v10.0)
|
80 |
+
## Performance
|
81 |
+
Performances of the ASR models are reported in terms of Word Error Rate (WER%) with greedy decoding. WER on dev is 3.8%
|
82 |
+
## Limitations
|
83 |
+
Since all models are trained on just MCV-10 dataset, the performance of this model might degrade for speech which includes technical terms, or vernacular that the model has not been trained on. The model might also perform worse for accented speech.
|
84 |
+
## NVIDIA Riva: Deployment
|
85 |
+
|
86 |
+
[NVIDIA Riva](https://developer.nvidia.com/riva), is an accelerated speech AI SDK deployable on-prem, in all clouds, multi-cloud, hybrid, on edge, and embedded.
|
87 |
+
Additionally, Riva provides:
|
88 |
+
|
89 |
+
* World-class out-of-the-box accuracy for the most common languages with model checkpoints trained on proprietary data with hundreds of thousands of GPU-compute hours
|
90 |
+
* Best in class accuracy with run-time word boosting (e.g., brand and product names) and customization of acoustic model, language model, and inverse text normalization
|
91 |
+
* Streaming speech recognition, Kubernetes compatible scaling, and enterprise-grade support
|
92 |
+
|
93 |
+
Although this model isn’t supported yet by Riva, the [list of supported models is here](https://huggingface.co/models?other=Riva).
|
94 |
+
Check out [Riva live demo](https://developer.nvidia.com/riva#demos).
|
95 |
+
|
96 |
+
## References
|
97 |
+
[1] [Conformer: Convolution-augmented Transformer for Speech Recognition](https://arxiv.org/abs/2005.08100)
|
98 |
+
[2] [Google Sentencepiece Tokenizer](https://github.com/google/sentencepiece)
|
99 |
+
[3] [NVIDIA NeMo Toolkit](https://github.com/NVIDIA/NeMo)
|
100 |
+
|
101 |
+
## Licence
|
102 |
+
|
103 |
+
License to use this model is covered by the [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/). By downloading the public and release version of the model, you accept the terms and conditions of the [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/) license.
|