Skip to content

chore(docker): default to multilingual whisper small for STT#94

Merged
jkyberneees merged 1 commit into
mainfrom
chore/whisper-small
Jul 22, 2026
Merged

chore(docker): default to multilingual whisper small for STT#94
jkyberneees merged 1 commit into
mainfrom
chore/whisper-small

Conversation

@jkyberneees

Copy link
Copy Markdown
Contributor

The bundled whisper.cpp model was ggml-tiny.bin — technically multilingual but effectively English-grade, so German and Spanish voice notes transcribed poorly.

Change (build-arg default only, no code):

  • docker/Dockerfile: ARG WHISPER_MODEL=tinysmall (ships ggml-small.bin, 466 MB, multilingual — explicitly not small.en)
  • docker/config.restricted.json / config.godmode.json: transcription.model: "small"
  • docker/README.md, docs/TELEGRAM.md: model path/name + multilingual note

Verified: whisper stage builds clean, ggml-small.bin (466 MB) downloads, whisper-cli runs.

Takes effect on the next image rebuild (docker compose --profile telegram-restricted build odek-telegram-restricted or up --build). Size note: image grows ~390 MB vs. tiny; RAM during transcription ~2 GB. For best-in-class multilingual accuracy later, the same one-line bump takes medium — documented in the Dockerfile comment.

The bundled whisper.cpp model was ggml-tiny.bin - technically
multilingual but effectively English-grade, so German/Spanish voice
notes transcribed poorly. The image now ships ggml-small.bin (466 MB),
the multilingual small variant, which gives usable DE/EN/ES quality
with no code changes (WHISPER_MODEL build arg default bumped, both
compose configs and docs updated to match). Verified: whisper stage
builds, model downloads, whisper-cli runs.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
odek 9853339 Commit Preview URL

Branch Preview URL
Jul 22 2026, 07:03 PM

@jkyberneees
jkyberneees merged commit 7b67002 into main Jul 22, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant