Important Instructions ⚠️
Before submitting this issue, please read carefully and confirm the following:
Describe the issue
我在使用x-asr-streaming时配置了热词,但是发现热词只有部分时候生效
Steps to reproduce
- 配置热词和bpe.vocab,使用go-example-api代码
- 配置相应热词权重,使用x-asr-streaming-480-int8版本
- 阅读热词内容,发现有时生效,有时不生效
Expected behavior
阅读热词内容,发现有时生效,有时不生效
Environment
sherpa-onnx version:[v1.13.4]
- OS: Linux-x86 Ubuntu 20.04.6 LTS
- Python version:3.8.18
- onnxruntime version:1.17.1
- GPU (if applicable):
- NPU (if applicable):
Logs

Important Instructions⚠️
Before submitting this issue, please read carefully and confirm the following:
sherpa-onnx. If not, I will upgrade and check if the issue persists.sherpa-onnx, not code from my own project.Describe the issue
我在使用x-asr-streaming时配置了热词,但是发现热词只有部分时候生效
Steps to reproduce
Expected behavior
阅读热词内容,发现有时生效,有时不生效
Environment
sherpa-onnxversion:[v1.13.4]Logs