Skip to content

Conversation

danbev
Copy link
Member

@danbev danbev commented May 13, 2025

This commit adds a new command-line option --print-confidence to the whisper-cli. When enabled, this option prints the confidence level of each token in the transcribed text using ANSI formatting codes.

The confidence levels are represented using different styles:

main: confidence: highlighted (low confidence), underlined (medium), dim (high confidence)

Refs: #3135


Example of the output:

print-confidence

This commit adds a new command-line option `--print-confidence` to the
whisper-cli. When enabled, this option prints the confidence level of each
token in the transcribed text using ANSI formatting codes.

The confidence levels are represented using different styles:
```console
main: confidence: highlighted (low confidence), underlined (medium), dim (high confidence)
```

Refs: ggml-org#3135
Add check for print-special in print_confidence.
@danbev danbev marked this pull request as ready for review May 14, 2025 13:31
@danbev danbev merged commit f389d7e into ggml-org:master May 14, 2025
52 checks passed
@danbev danbev deleted the colorblind-support branch June 3, 2025 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants