NeMo
English
esb
File size: 1,475 Bytes
d9e1ff1
 
 
 
c047381
d9e1ff1
c047381
 
d9e1ff1
c047381
d9e1ff1
 
 
 
 
c047381
d9e1ff1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
language:
- en
tags:
- esb
datasets:
- esb/datasets
- mozilla-foundation/common_voice_9_0
---
To reproduce this run, first install NVIDIA NeMo according to the [official instructions](https://github.com/NVIDIA/NeMo#installation), then execute: 
```python 
#!/usr/bin/env bash
CUDA_VISIBLE_DEVICES=0 python run_speech_recognition_rnnt.py \
        --config_path="conf/conformer_transducer_bpe_xlarge.yaml" \
        --model_name_or_path="stt_en_conformer_transducer_xlarge" \
        --dataset_name="esb/datasets" \
        --tokenizer_path="tokenizer" \
        --vocab_size="1024" \
        --max_steps="100000" \
        --dataset_config_name="common_voice" \
        --output_dir="./" \
        --run_name="conformer-rnnt-common-voice" \
        --wandb_project="rnnt" \
        --per_device_train_batch_size="8" \
        --per_device_eval_batch_size="4" \
        --logging_steps="50" \
        --learning_rate="1e-4" \
        --warmup_steps="500" \
        --save_strategy="steps" \
        --save_steps="20000" \
        --evaluation_strategy="steps" \
        --eval_steps="20000" \
        --report_to="wandb" \
        --preprocessing_num_workers="4" \
        --fused_batch_size="4" \
        --length_column_name="input_lengths" \
        --max_eval_duration_in_seconds="20" \
        --fuse_loss_wer \
        --group_by_length \
        --overwrite_output_dir \
        --do_train \
        --do_eval \
        --do_predict \
        --use_auth_token

```