alphacep / alphacep/vosk-api

Value of silence_weight

Offen
#964 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Jupyter Notebook
Sterne
15.1k
Forks
1.8k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.