Add Lazarus example for Moonshine models. (#1532)

This commit is contained in:
Fangjun Kuang
2024-11-13 00:04:16 +08:00
committed by GitHub
parent 4fab3f2e2f
commit a16c9aff8b
4 changed files with 78 additions and 8 deletions

View File

@@ -50,6 +50,20 @@ def get_models():
popd
""",
),
Model(
model_name="sherpa-onnx-moonshine-tiny-en-int8",
lang="en",
short_name="moonshine_tiny",
cmd="""
pushd $model_name
mv -v preprocess.onnx moonshine-preprocessor.onnx
mv -v encode.int8.onnx moonshine-encoder.onnx
mv -v uncached_decode.int8.onnx moonshine-uncached-decoder.onnx
mv -v cached_decode.int8.onnx moonshine-cached-decoder.onnx
popd
""",
),
Model(
model_name="sherpa-onnx-sense-voice-zh-en-ja-ko-yue-2024-07-17",
lang="zh_en_ko_ja_yue",