Live data from Hacker News

Ask HN: How to boost Gemini transcription accuracy for company names?

news.ycombinator.com

1–10 of 32 posts

Ask HN: How to boost Gemini transcription accuracy for company names?

#1
I’m using Gemini for speech-to-text and it often misrecognizes company names and acronyms.

Is there any way to use a custom lexicon or vocabulary with Gemini to improve recognition accuracy? If not directly supported, what are practical workarounds people use — e.g. preprocessing prompts, fine-tuning, or combining Gemini with another ASR that supports phrase boosting?

Re: Ask HN: How to boost Gemini transcription accuracy for company names?

#9
post #6

Don't solve it on the STT level. Get the raw transcription from Gemini then pass the output to an LLM to fix company names and other modifications. Happy to share more details if helpful.

I've had some luck with this in other contexts. Get the initial transcript from STT (e.g. whisper), then feed that in to gemini with a prompt giving it as much extra context as possible. For example "This is a transcript from a youtube video. It's a conversation between x people, where they talk about y and z. Please clean up the transcript, paying particular attention to company names and acronyms."
Post reply on HN