Live data from Hacker News

Show HN: Self-host Whisper As a Service with GUI and queueing

github.com

41–50 of 60 posts

Re: Show HN: Self-host Whisper As a Service with GUI and queueing

#41

The only thing Whisper misses is speaker diarization. I'm currently working on a model that uses Whisper + pyannote to transcribe Interviews and also detects who is speaking. It's working but damn it takes so long

Can you not separate into two phases? Speech separation to get source per speaker, and then whisper on each in isolation (maybe interlacing prompts)?

Re: Show HN: Self-host Whisper As a Service with GUI and queueing

#43

Related/Off Topic: Is there a documented way to improve the accuracy of a particular language model? Say we can put in the effort to collect 1000's of verified/transcribed samples of a language that is currently scored poorly (WER). What steps do I have to take to get those improvements into the system?

Yes, you need to fine-tune the model with your data. This might be easy or hard, depending on your experience level and complexity of the model and available tooling. For this model specifically ( https://github.com/openai/whisper ) it would be a significant challenge for a newcomer. Luckily Huggingface has a blog post that will get you started: https://huggingface.co/blog/fine-tune-whisper

Thank you. I do consider myself programming able but new to the ML ecosystem.

Re: Show HN: Self-host Whisper As a Service with GUI and queueing

#44

Earlier quoted context omitted.

Ha. I’m also doing something similar with a friend at https://www.paxo.ai . Funny that we all seemed to have an similar idea, all at once.

What did you build the landing page with?

from the source code https://www.webflow.com --><!--

Re: Show HN: Self-host Whisper As a Service with GUI and queueing

#45
That's very interesting. I've been using whisper via pip also but I'm surprised you haven't sought to optimize whisper at all?

I've been looking at using compilation in torch but not successful yet as otherwise it can take awhile to run. https://pytorch.org/tutorials/intermediate/torch_compile_tut...

Re: Show HN: Self-host Whisper As a Service with GUI and queueing

#49
Is there an open source speech recognition model which can be restricted to a smaller domain-specific dictionary?

Use case: I want to transcribe my poker hands while playing, eg: "Flop was 2 of spaces, 3 of diamonds and King of spades", "Button raised to $20" etc.

When I tried using Whisper and some other model, the recognition accuracy was atrocious, and it kept finding non-poker words that sounded similar to poker words. I want to restrict its search space to my own list of poker words which should significantly increase the accuracy (theoretically).

Any suggestions on how to go about this?

Re: Show HN: Self-host Whisper As a Service with GUI and queueing

#50
post #49

Is there an open source speech recognition model which can be restricted to a smaller domain-specific dictionary? Use case: I want to transcribe my poker hands while playing, eg: "Flop was 2 of spaces, 3 of diamonds and King of spades", "Button raised to $20" etc. When I tried using Whisper and some other model, the recognition accuracy was atrocious, and it kept finding non-poker words that sounded similar to poker…

You can prefix a prompt for Whisper with a small text section containing desired vocab, and it will likely improve accuracy for that specific domain.

Whisper source is very readable, check out https://github.com/openai/whisper/blob/main/whisper/decoding...

Post reply on HN