This repository has been archived on 2025-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
enginex-mr_series-sherpa-onnx/wasm/vad-asr/assets/README.md
2025-06-16 15:35:20 +08:00

38 lines
1.1 KiB
Markdown

# Introduction
## Download VAD models
Please download
https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/silero_vad.onnx
and put `silero_vad.onnx` into the current directory, i.e., `wasm/vad/assets`.
## Download non-streaming ASR models
Please refer to
https://k2-fsa.github.io/sherpa/onnx/pretrained_models/index.html
to download a non-streaming ASR model, i.e., an offline ASR model.
After downloading, you should rename the model files.
Please refer to
https://k2-fsa.github.io/sherpa/onnx/lazarus/generate-subtitles.html#download-a-speech-recognition-model
for how to rename.
The renamed file shoud put in current folder( ```/<repo>/wasm/vad-asr/assets```)
Example after download sense-voice model
```
tree ~/work/github/sherpa-onnx/wasm/vad-asr/assets
/home/gxy/work/github/sherpa-onnx/wasm/vad-asr/assets
├── README.md
├── sense-voice.onnx
├── silero_vad.onnx
└── tokens.txt
1 directory, 4 files
```
You can find example build scripts at the following address:
https://github.com/k2-fsa/sherpa-onnx/blob/master/.github/workflows/wasm-simd-hf-space-vad-asr.yaml