Live data from Hacker News

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

github.com

21–30 of 60 posts

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

#21
post #18

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

I'm badly looking for that! Is there a repo I can follow?

I can share my repo when it's finished. In the meantime, you can take a look at this: https://huggingface.co/spaces/vumichien/whisper-speaker-diar...

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

#22
post #18

Earlier quoted context omitted.

I'm badly looking for that! Is there a repo I can follow?

I can share my repo when it's finished. In the meantime, you can take a look at this: https://huggingface.co/spaces/vumichien/whisper-speaker-diar...

My goal for my project is to build a tool that transcribes Interviews (e.g, in Sales or Recruiting) and puts the Transcription through ChatGPT (Waiting for the API atm) to make a summary that looks like the notes of the call. Speaker diarization is important, so I don't have more than 4000 tokens input in ChatGPT. I will see how it goes, but if it's reliable enough (looks like it so far), it will save the time it takes to write meeting notes and rewrite them to send them to someone after the call (Hiring Managers etc.) Imagine a 10x Otter.ai or something like that.

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

#23

Earlier quoted context omitted.

I can share my repo when it's finished. In the meantime, you can take a look at this: https://huggingface.co/spaces/vumichien/whisper-speaker-diar...

My goal for my project is to build a tool that transcribes Interviews (e.g, in Sales or Recruiting) and puts the Transcription through ChatGPT (Waiting for the API atm) to make a summary that looks like the notes of the call. Speaker diarization is important, so I don't have more than 4000 tokens input in ChatGPT. I will see how it goes, but if it's reliable enough (looks like it so far), it will save the time it tak…

Why are you waiting for the API? The OpenAI Playground has API examples you can copy paste. You can go over 4000 tokens if you have a business justification and payment method. You have access to most of their models even the new Codex ones

Edit: Looked at your link and I misunderstood. I think I understand you're waiting for the ChatGPT specific model now?

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

#25

Earlier quoted context omitted.

My goal for my project is to build a tool that transcribes Interviews (e.g, in Sales or Recruiting) and puts the Transcription through ChatGPT (Waiting for the API atm) to make a summary that looks like the notes of the call. Speaker diarization is important, so I don't have more than 4000 tokens input in ChatGPT. I will see how it goes, but if it's reliable enough (looks like it so far), it will save the time it tak…

Why are you waiting for the API? The OpenAI Playground has API examples you can copy paste. You can go over 4000 tokens if you have a business justification and payment method. You have access to most of their models even the new Codex ones Edit: Looked at your link and I misunderstood. I think I understand you're waiting for the ChatGPT specific model now?

> You can go over 4000 tokens if you have a business justification and payment method.

That's incorrect

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

#27

By the way there is also another project called Whisper.cpp: https://github.com/ggerganov/whisper.cpp Which uses x8 less memory than the Python implementation for the tiny model. It would be a good idea to keep an eye on it since there are Python bindings planned on the roadmap: https://github.com/ggerganov/whisper.cpp#bindings

I used whisper.cpp to build a tool to transcribe audio files, either as a one off or as a folder watcher:

https://github.com/kardianos/audioclerk

Built in Go/cgo.

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

#29
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?

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

#30

Is it possible to create a streaming endpoint that returns real-time transcriptions?

I was working on this yesterday. It seems that the most common approach with Whisper is simply to break the audio into chunks and transcribe each one separately. This works but as you'd expect sometimes has trouble at the edges. The segments also have to be sufficiently long (like 10s) or the accuracy suffers, meaning it's not truly real-time.

You could do better by overlapping the segments, except then stitching the transcriptions together becomes an issue since whisper doesn't provide reliable per-token timestamps [0], and the output of the common part of overlapping segments isn't necessarily the same. I can imagine a cool approach where you transcribe long, overlapping chunks in real-time and intelligently merge the stream of words somehow though.

Some more useful discussion here (whisper.cpp project, but still relevant) [1].

0. https://github.com/openai/whisper/discussions/332

1. https://github.com/ggerganov/whisper.cpp/issues/10

Post reply on HN