Live data from Hacker News

Whisper – open source speech recognition by OpenAI

openai.com

471–480 of 508 posts

Re: Whisper – open source speech recognition by OpenAI

#471

Hold on, it does not only speech recognition, but also language translation, in the same model? What an interesting approach. What benefits does this have over having two dedicated models, one for speech-to-text, and another for translation? It just seems so odd, given the problems of speech-to-text and Spanish-to-English seems so different from one another (in terms of the problem domain). Seems so unusual to have b…

Judging from the chart in their github README, Whisper performs much better in parsing Spanish audio than any other language and that in particular blows my mind. I would have expected English to be at the top of any such model, it being such an IT lingua franca.

Now I wonder if it works equally well with Spanish from Spain (and its different regions) and Spanish from the New World (and in its myriads of different flavours).

Re: Whisper – open source speech recognition by OpenAI

#473
post #220

Cool! I am one of the top contributors to the tiny Mozilla Common Voice data-set for my language. The data-set is very small compared to other popular languages and none of the other mentioned data-sets contribute to that language to train the model of Whisper. And even with so little data to train on it still works surprisingly well.

Where do they mention what datasets they've used? I've tried looking at the paper but can't find it.

Nevermind: I found it. It's on page 19 and 20 of the paper, under Appendix A ("Evaluation Datasets").

Re: Whisper – open source speech recognition by OpenAI

#475

Earlier quoted context omitted.

It's a micromachines ad from the '80s. He talked like that in all of them! As for speed, to a computer we don't talk very fast, not even that guy. I wonder if it could handle Rap God by Eminem....Let's find out!

Did you find out :D?

No post body was provided.

Re: Whisper – open source speech recognition by OpenAI

#476
post #325

My first take: it is slow. The "base" model (supposedly 16x faster than the large one) takes more than the audiofile playback time on my machine to do transcriptions.

I'm seeing even worse. On my M1 Max 2021 macbook pro, I tried transcribing a 30 minute video file and left it on overnight and it was only half way through. I feel like something could be wrong with my setup but I'm only using the defaults.

Re: Whisper – open source speech recognition by OpenAI

#477

I know this isn't a tech support forum but maybe someone here knows. I'm attempting the sample python code from the github and almost get a transcription running on my work laptop without a GPU, but I run into this error message: >>> result = whisper.decode(model, mel, options) Traceback (most recent call last): [snip] RuntimeError: "slow_conv2d_cpu" not implemented for 'Half' It looks like a Torch error, is there so…

I am running on work laptop not using GPU. (I'm running in docker). I just get

    warnings.warn("FP16 is not supported on CPU; using FP32 instead")
And it works.

Re: Whisper – open source speech recognition by OpenAI

#478

I was comparing a batch of transcriptions between these models and vosk, and noticed that the medium.en model produces some weird results compared to the others. I've seen a number of loops with one word or a small sequence of words repeating several times. It seems more prone to output that reads like nonsense than the others. More troubling is a short audio clip that got a few full sentences back, several times the…

The whole value of this model is in 680 000 hours of training data and to reuse this value you need large model, not smaller ones. Smaller versions just don't have enough capacity to represent training data properly.

Re: Whisper – open source speech recognition by OpenAI

#479

Earlier quoted context omitted.

Haven’t tried it yet but love the concept! Have you thought of using VAD (voice activity detection) for breaks? Back in my day (a long time ago) the webrtc VAD stuff was considered decent: https://github.com/wiseman/py-webrtcvad Model isn’t optimized for this use but I like where you’re headed!

Interesting. I'll take a look at this, thanks!

Perhaps this could be adapted?

https://github.com/mozilla/DeepSpeech-examples/blob/master/m...

Re: Whisper – open source speech recognition by OpenAI

#480

This would be a cool thing to integrate into Dragonfly https://github.com/dictation-toolbox/dragonfly

It would. I wonder how this compares with Kaldi, one of the two open source speech recognition engines that Dragonfly currently supports.
Post reply on HN