Skip to content

Commit

Permalink
two-pass Android APK for SenseVoice (#1302)
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Aug 29, 2024
1 parent 0ccd3a4 commit c38634d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions scripts/apk/generate-asr-2pass-apk-script.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,23 @@ def get_2nd_models():
ls -lh
popd
""",
),
Model(
model_name="sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17",
idx=15,
lang="zh_en_ko_ja_yue",
short_name="sense_voice",
cmd="""
pushd $model_name
rm -rfv test_wavs
rm -fv model.onnx
rm -fv *.py
ls -lh
popd
""",
),
Expand Down Expand Up @@ -275,10 +292,18 @@ def get_models():
"sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23",
"icefall-asr-zipformer-wenetspeech-20230615",
),
(
"sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23",
"sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17",
),
(
"sherpa-onnx-streaming-zipformer-en-20M-2023-02-17",
"sherpa-onnx-whisper-tiny.en",
),
(
"sherpa-onnx-streaming-zipformer-en-20M-2023-02-17",
"sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17",
),
]
models = []
for f, s in combinations:
Expand Down

0 comments on commit c38634d

Please sign in to comment.