News for hackers. Stuff that matters.
Re:I made a free transcription service powered by Whisper AI by skim_milk on Friday November 18, 2022 @09:43PM (#33666245)
Have you tried the --initial_prompt CLI arg? For my use, I put a bunch of industry jargon and names that are commonly misspelled in there and that fixes 1/3 to 1/2 of the errors.

I was initially going to use Azure Cognitive Services and train it on a small amount of test data, after Whisper released for free I use Whisper + openai GPT-3 trained to fix the transcription errors by 1) taking a sample of transcripts by Whisper 2) fixing the errors and 3) fine-tuning GPT-3 by using the unfixed transcriptions as the prompt and the corrected transcripts as the result text.

Whisper with the --initial_prompt containing industry jargon plus training GPT-3 to fix the transcription errors should be nearly as accurate as using a custom-trained model in Azure Cognitive Services but at 5-10% of the cost. Biggest downside is the amount of labor to set that up, and the snail's pace of Whisper transcriptions.

Re:I made a free transcription service powered by Whisper AI by jerpint on Friday November 18, 2022 @10:59PM (#33666782)
There have been a lot of hacks to speed up whisper inference
Re:I made a free transcription service powered by Whisper AI by skim_milk on Friday November 18, 2022 @11:31PM (#33666945)
Sweet! Do you have any links to resources on how to speed it up? I couldn't find any while searching Google or the Whisper discussion forums.
Re:I made a free transcription service powered by Whisper AI by EMIRELADERO on Saturday November 19, 2022 @02:21AM (#33667888)
Not a hack per se but a complete reimplementation.

https://github.com/ggerganov/whisper.cpp

This is a C/C++ version of Whisper which uses the CPU. It's astoundingly fast. Maybe it won't work in your use case, but you should try!

Re:I made a free transcription service powered by Whisper AI by gamegoblin on Saturday November 19, 2022 @05:27PM (#33675481)
Thanks for the tip, that did improve accuracy a lot.