Antione commited on
Commit
82ffbee
·
verified ·
1 Parent(s): a5a9396

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -10
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
- ```bash
20
- cd espnet
21
- pip install -e .
22
- cd egs2/chime4/asr1
 
 
23
 
24
- train_set=tr05_multi_noisy_si284 # tr05_multi_noisy (original training data) or tr05_multi_noisy_si284 (add si284 data)
25
- valid_set=dt05_multi_isolated_1ch_track
26
- test_sets="dt05_real_isolated_1ch_track dt05_simu_isolated_1ch_track et05_real_isolated_1ch_track et05_simu_isolated_1ch_track"
 
 
 
 
 
 
 
 
 
 
 
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 \