Update README.md
Browse files
README.md
CHANGED
@@ -16,18 +16,28 @@ pipeline_tag: automatic-speech-recognition
|
|
16 |
This model was trained by Shih-Lun Wu (slseanwu) using the chime4 recipe in [espnet](https://github.com/espnet/espnet/).
|
17 |
|
18 |
### Demo: How to use in ESPnet2
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
23 |
|
24 |
-
train_set=
|
25 |
-
valid_set=
|
26 |
-
test_sets="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
28 |
-
asr_tag=whisper_medium_finetune_lr1e-5_adamw_wd1e-2_3epochs
|
29 |
-
asr_config=conf/tuning/train_asr_whisper_full.yaml
|
30 |
-
inference_config=conf/decode_asr_whisper_noctc_greedy.yaml
|
31 |
|
32 |
./asr.sh \
|
33 |
./asr.sh \
|
|
|
16 |
This model was trained by Shih-Lun Wu (slseanwu) using the chime4 recipe in [espnet](https://github.com/espnet/espnet/).
|
17 |
|
18 |
### Demo: How to use in ESPnet2
|
19 |
+
#!/usr/bin/env bash
|
20 |
+
# Set bash to 'debug' mode, it will exit on :
|
21 |
+
# -e 'error', -u 'undefined variable', -o ... 'error in pipeline', -x 'print commands',
|
22 |
+
set -e
|
23 |
+
set -u
|
24 |
+
set -o pipefail
|
25 |
|
26 |
+
train_set=train
|
27 |
+
valid_set=dev
|
28 |
+
test_sets="dev test1"
|
29 |
+
|
30 |
+
asr_config=conf/train_asr_whisper_large_lora_finetune.yaml
|
31 |
+
inference_config=conf/decode_asr_whisper_noctc_beam10.yaml
|
32 |
+
|
33 |
+
lm_config=conf/train_lm_transformer.yaml
|
34 |
+
use_lm=false
|
35 |
+
use_wordlm=false
|
36 |
+
|
37 |
+
# speed perturbation related
|
38 |
+
# (train_set will be "${train_set}_sp" if speed_perturb_factors is specified)
|
39 |
+
speed_perturb_factors="0.9 1.0 1.1"
|
40 |
|
|
|
|
|
|
|
41 |
|
42 |
./asr.sh \
|
43 |
./asr.sh \
|