Running Speech Transcription on a VPS
Realistic processing times and setups when running on a CPU alone. It also covers the limits of accuracy, post-processing, and how to avoid piling up the audio data you handle.

Ren

Procura
Does it run on a CPU alone?
It does, but depending on the model size and the CPU's performance, processing can take longer than the audio itself. That's fine if you run it in bulk after meetings, but it doesn't suit turning speech into text as people talk. Here too, "who will wait, and how long" is what decides it.

Ren
Procura
Key points of the setup
- Always make the processing asynchronous. If you process inside a web request, it will time out while waiting for the response
- Set up a mechanism (a queue) to hold audio waiting to be processed
- You can choose the model size. Smaller is faster, larger is more accurate
- Memory depends on the model you choose. Smaller models need less
- Don't run several jobs at the same time. They fight over the CPU and everything slows down
Actual accuracy and post-processing

Procura
- Recording quality greatly affects the result. Microphone position matters
- Proper nouns are easy to get wrong. Having a mechanism that replaces frequently appearing words in bulk makes it easier
- Separating speakers needs a different mechanism
- If you have it summarize, have a person check the transcription first
Build the time estimate into operations

Procura
- When a job is accepted, first reply "received"
- Put the processing into a waiting line and move through it one at a time
- Notify when it's done (by email or chat)
- Notify on failure too. Silently disappearing is the worst
Care with the data you handle
Audio includes conversations you had no plan to transcribe. Small talk before and after the meeting and remarks by others in the room are recorded too. Once it's turned into text, it becomes searchable, so decide the retention period and who may view it more carefully than you would for the recording itself.

Wilson

Procura

Ren
This article is translated from the Japanese original. If the two differ, the Japanese version is the one we keep up to date.