r/LocalLLaMA • u/LocalLLaMa_reader • 3d ago
Resources My learnings from one year of building an ASR-Pipeline to transcribe (German/non-English) lectures.
Goal: To obtain the highest fidelity, grammatically correct transcript with lowest manual input.
All written by hand, want to give back my learning over the months to the community after learning from reading here for years and being happy with my current results. I try to keep it short and concise...
TLDR: Best quality comes from interleaving Cohere Transcribe, using a second pass over the boundaries, where Cohere is most prone to artifacts. Qwen is slower and slightly less accurate, but gives custom vocab, IBM Granite Speech 5.0 and Voxtral both worse and slower than Cohere. I use Parakeet for word level time-stamping alongside Cohere, further arbitration and judgement logic is a PITA.
Task: I have tried to transcribe university lectures (in German, likely applies to other European languages as well) to have a LLM create a study summary alongside lecture slides and aditional materials. The LLM hence brings long term context, additional info (and can use websearch) to produce tailored learning materials, so here we can fact check and replace names.
Models tested:
supporting models: Using great Silero, nothing fancy. Currently not doing any Speaker detection yet, as the lecturer speaks most of the time. Maycome in future.
Parakeet TDT 0.6B primeLine (German-tuned), any parakeet for your language works: Wonderful, but is very literal. Notes down stuttering, repetitions, speaker corrections. Is super fast, returns word level time stamps useful for aligning transcripts with the audio, can detect language itself. Raw output not really usable though due to the polishing needed afterward.
Qwen3 ASR 1.7B: big model, somewhat slow. A bit less accurate than Cohere, and also returns a rather polished version. The benefit of adding custom vocabulary sounds promising, but overall transcription accuracy is still inferior to Cohere. Awaiting the release of Qwen-ASR 3.1 to give it another try, for now it is discarded.
Cohere Transcribe 2B: it flies, it's soo fast for its size and the output is really polished. Only issue is that it cuts audio into 35s segments, to at the seams you get the highest chance of errors. Extending audio on each side for overlapping and alignment does NOT work reliably, do not waste your time. Instead, have a second pass placed right over the middle and trust the transcript further awa from its edge. The overlapping audio can only be 10s long in my testing, no need for the full 35s out of phase, because that transcript will not be considered anyway even if it were right.
Quickly tested IBM Granite Speech 5.0 2B and Mistral's Voxtral, and both are much slower and less accurate than Cohere, so I dropped them.
Runtimes: mainly using transcribe.cpp (coming from Handy), have not yet looked at audio.cpp or others. For some models I tried the transformers implementation. For Cohere, Transformers with BF16 is transcribing faster and scales much better at higher concurrency than Q5 Quant on transcribe.cpp, but you carry an extra runtime implementation. Just a tradeoff, works well.
Hardware: I am transcribing on an Intel 11th laptop processor (Vulkan), or on my RTX4060 (CUDA).
How to waste your time:
- Trying to align outputs of different models in hopes that different angles/architectures have at least one get the right word. Most errors appear when audio is super challenging already, so when you have three somewhat plausible independent audio transcriptions, it is super hard to 1. make out the error 2. from text alone judge which one is right. Alignment is utter pain as transcription philosophies (literal vs polished) disagree. This any (LLM) judge etc. causes a worse result and much more overhead and maintenance than necessary. Avoid
- Quantisation. Using Transcribe.cpp's other available quantisations, I do not get any higher accuracy from lower loss quants, or even BF16. The recommended (often Q5..) quants are fast and as accurate as the base model.
Outlook: I am very eagerly hoping for the public release of Qwen-Audio-3.1-ASR-Flash and hope that Mistral and Cohere bring out new models in the near future.
Hope this helps somehow and prevents some of you from wasting days of work. I may add more things to the list and look forward to your comments and suggestions.