Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speech Recognition/Whisper word level scores or confidence output #32

Open
wobbble opened this issue Apr 4, 2024 · 3 comments
Open

Comments

@wobbble
Copy link

wobbble commented Apr 4, 2024

Hey,
Big thanks for awesome project!

It possible to add score/confidence for word level output when using Speech Recognition/Whisper model?
Would appreciate any direction/comments or suggestion where to dig to add it.
Happy to submit PR if I will success in it.

Thanks!

@decoder-sh-david
Copy link

Seconded, I have also not been able to successfully get word-level timestamps while running on webgpu. Would love to have both!

@hlevring
Copy link

Looks like it has been supported for a while
https://github.com/huggingface/transformers.js/releases/tag/2.4.0

@xenova
Copy link
Owner

xenova commented Oct 23, 2024

Indeed, Transformers.js v3 w/ word-level timestamps should work! @decoder-sh-david let me know if you run into any issues.

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

No branches or pull requests

4 participants