Huzhou Dialect Speech Recognition
Whisper-medium fine-tuned on ~15,000 clips of Huzhou dialect (湖州话), a Wu Chinese dialect that standard speech recognition handles poorly. Output is written in Mandarin characters. Model on Hugging Face · Code on GitHub
Hand-picked Huzhou dialect clips the model never trained on, with English translations: news broadcasts, and real speakers reading everyday sentences.
Don't trust hand-picked examples? Roll a random clip (good and bad) from either held-out test set,
or choose one by number. News broadcasts are from the same TV channel as the training data;
real speakers are people reading everyday sentences, mostly recorded on phones, which is harder.
Clips and transcripts are in examples/test_set/ and examples/real_speakers/.
Upload a recording of Huzhou dialect (MP3, WAV, M4A…), or record yourself with the microphone. Clips under 30 seconds work best.
Why ~15 seconds? A deliberate cost trade-off
This demo runs on a serverless AWS architecture built to cost close to nothing when no one is using it: the browser uploads audio straight to S3, which triggers a containerized Lambda function that runs the model and writes the result to DynamoDB, while API Gateway serves the page and job status. Everything is defined as code (AWS SAM).
- Fitting the model: Lambda has no GPU and caps memory at 3 GB, so the 769M-parameter model was converted to 8-bit (CTranslate2, 3 GB → 742 MB). On held-out test clips its error rate stays within about 1 point of the full model (news: 24.6% vs 23.8%).
- Tuning: profiling traced an early accuracy loss to the audio preprocessing rather than the 8-bit weights, and benchmarking chose x86 over ARM processors (about 30% faster per clip).
- The result: about 13 seconds per clip on 2 CPU cores (up to a minute if the site has been idle, while Lambda starts up), at about $0.0007 per transcription. An always-on GPU server would answer in about a second but cost about $590 a month.