alphacep / alphacep/vosk-api

Confidence value in nbest list is not normalized to 1.0?

Open
#604 9 comments 5 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.1k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

I was wondering how to interpret the "confidence" value?
Usual values I get are between ~50 to >500 and it looks like >300 is ok.

Here is my setup:
- Vosk v0.3.30
- Small EN and DE models (v0.15)
- Streaming audio chunks in 16Khz mono
- [Test files](https://github.com/SEPIA-Framework/sepia-stt-server/tree/dev/src/www/test-audio)

You can reproduce my results using the [BETA version of the SEPIA STT Server](https://github.com/SEPIA-Framework/sepia-stt-server/tree/dev) (there are Docker containers for all platforms):

```
12:30:17 - {"type":"result","msg_id":7,"code":200,"transcript":" one two three four five","isFinal":true,"confidence":529.317749,"features":{}}
...
12:30:20 - {"type":"result","msg_id":14,"code":200,"transcript":" six seven eight nine ten","isFinal":true,"confidence":557.565491,"features":{}}
```

The 'confidence' you see in my results is taken directly from 'FinalResult'.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.