diff --git a/.github/scripts/run-test.sh b/.github/scripts/run-test.sh index 8e3350fc..d7343f9c 100755 --- a/.github/scripts/run-test.sh +++ b/.github/scripts/run-test.sh @@ -52,6 +52,24 @@ for wave in ${waves[@]}; do done done +log "-----------------------------------------------------------------" +log "Run Zipformer transducer (Chinese, small model 14M) for hotwords " +log "-----------------------------------------------------------------" +log "Start testing ${repo_url} with hotwords" + +time $EXE \ + $repo/tokens.txt \ + $repo/encoder_jit_trace-pnnx.ncnn.param \ + $repo/encoder_jit_trace-pnnx.ncnn.bin \ + $repo/decoder_jit_trace-pnnx.ncnn.param \ + $repo/decoder_jit_trace-pnnx.ncnn.bin \ + $repo/joiner_jit_trace-pnnx.ncnn.param \ + $repo/joiner_jit_trace-pnnx.ncnn.bin \ + $repo/test_wavs/1.wav \ + 2 \ + modified_beam_search \ + $repo/test_wavs/hotwords.txt + rm -rf $repo log "------------------------------------------------------------" @@ -588,4 +606,4 @@ time $EXE \ modified_beam_search \ $repo/hotwords.txt 1.6 -rm -rf $repo \ No newline at end of file +rm -rf $repo