Skip to content

Commit 86dc310

Browse files
author
蒄骰
committed
save
1 parent 7cb95ce commit 86dc310

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

examples/contextual_asr/README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,21 @@ words, with the remainder classified as rare words. The biasing list generated f
2828

2929

3030
## Decoding with checkpoints
31+
LLM-based Contextual ASR Inference script, with different biaisng sizes and test sets.
3132
```
32-
bash decode_wavlm_libri960_ft_char_hotwords_filter_N100_F3.sh
33+
bash decode_wavlm_libri960_ft_char_hotwords.sh
3334
```
3435

3536
## Training the model
37+
LLM-based ASR Training script: using CTC fine-tuned Wavlm as encoder and “Transcribe speech to text.” as prompt.
3638
```
37-
bash finetune_wavlm_libri960_ft_char_hotwords.sh
3839
bash finetune_wavlm_libri960_ft_char.sh
3940
```
41+
LLM-based Contextual ASR Training script: using CTC fine-tuned Wavlm as encoder and "Transcribe speech to text. Some hotwords might help. The hotwords are {}.” as prompt.
42+
```
43+
bash finetune_wavlm_libri960_ft_char_hotwords.sh
44+
```
45+
4046

4147
## Citation
4248
You can refer to the paper for more results.
-409 KB
Binary file not shown.

examples/contextual_asr/scripts/infer/decode_wavlm_libri960_ft_char.sh

Whitespace-only changes.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ output_dir=/nfs/yangguanrou.ygr/experiments_librispeech/vicuna-7b-v1.5-WavLM-Lar
1717
ckpt_path=$output_dir/asr_epoch_3_step_25780
1818

1919
first=1
20-
for N in 100; do
21-
for ref_split in test_clean ; do #test_other
20+
for N in 100 500 1000 2000; do
21+
for ref_split in test_clean test_other; do
2222
split=librispeech_${ref_split}
2323
val_data_path=/nfs/maziyang.mzy/data/librispeech/${split}.jsonl
2424
decode_log=$ckpt_path/decode_${split}_beam4_filter_N${N}_first${first}_debug

0 commit comments

Comments
 (0)