alphacep / alphacep/vosk-api

Value of silence_weight

未关闭
#964 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
15.1k
派生
1.8k
PR 合并指标
30 天内没有已合并 PR

描述

Hi Nickolay!
I've started using the vosk-api, and I've had a few utterances where the output was worse compared to when doing decoding with kaldi's tcp binary (stuff like no instead of yes being recognized). I managed to track down what was causing the difference for most (unfortunately not all) to the silence_weight, which is [hardcoded to 1e-3](https://github.com/alphacep/vosk-api/blob/ce5ffb980a2cc7f0d631e05849efac61a0c45b50/src/model.cc#L230) in vosk.

As I understand training is done without this silence weight being used ([source](https://groups.google.com/g/kaldi-help/c/A73Gw2hhL30)), so wouldn't it make more sense to set that to 1.? What do you think?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。