xenova / transformers.js

State-of-the-art Machine Learning for the web. Run 🤗 Transformers directly in your browser, with no need for a server!
https://huggingface.co/docs/transformers.js
Apache License 2.0
9.87k stars 582 forks source link

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

Open wobbble opened 2 months ago

wobbble commented 2 months ago

Question

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!