Whisper.cpp example running fully in the browser
whisper.ggerganov.com
whisper.ggerganov.com
It is a high quality piece of software which performs better on its intended hardware than any other implementation. It can easily be embedded anywhere. This is truly remarkable. A big shoutout to Georgi for this.
We need to remind ourselves that a part of him is choosing to give this away by open sourcing it. And he has gone through a lot of effort to make it easy to use and understand (just look at the documentation). Georgi to me, personifies every open-source author who put in their sweat and toil towards something that benefits our entire community.
Thank you Georgi. Salut, my friend!
One suggestion -- the trial is difficult to use if I have a long file, because it won't let me select a file that is longer than 5 min. Maybe let me pick a longer file but only transcribe the first 5 minutes? Most people aren't going to edit their files to accommodate your trial mode.
- There is a popup every few seconds encouraging me to pay. Let me at least try it for a minute or two? I've seen the popup about 5 times while trying the app for just a couple minutes.
- Use the system light/dark mode instead of defaulting to dark mode
- Show language names instead of codes "EN" etc.
I wonder if this can be sped up using WebGPU...
https://whisper.ggerganov.com/stream/
It chunks the input in 5 second buffers and processes them independently. Results and performance are not great, but I think good enough for a proof-of-concept.
Of OpenAI releases the pretrained models, why would we use their service?
From the OpenAI paper and release notes: "We are releasing models and inference code to serve as a foundation for further work on robust speech processing." So I guess they are either truly altruistic in this, or they are planning on monetising whatever they build on top of it.
Also OpenAI is a startup (if we can call it that) so their value right now is more about being impressive, and looking a lot like future value; as opposed to showing an immediate route to profit.
failed to asynchronously prepare wasm: CompileError: WebAssembly.Module doesn't parse at byte 5: can't get Function local's type in group 1, in function at index 9 Aborted(CompileError: WebAssembly.Module doesn't parse at byte 5: can't get Function local's type in group 1, in function at index 9)
I don't think Safar IOS supports this. [0]
To my knowledge, nobody's been able to work around this and it may not be possible without work. Upstream.
I'm not the creator, just a fan.
This API already exists. It isn't nearly as good as Whisper.cpp (at least on macOS).
Docs: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecog...
1: “Minimal whisper.cpp example running fully in the browser”
2: “Port of OpenAI's Whisper model in C/C++”
3: “Whisper is a general-purpose speech recognition model.”