Allow large-v3-turbo as a WhisperX model - #470
Closed
Rediwed wants to merge 1 commit into
Closed
Conversation
The bundled faster-whisper already resolves large-v3-turbo, but the parameter schema rejects it, so the job fails with 'not in allowed options' after upload. Adding the name to the two adapter lists and the frontend dropdown is enough to use it. Left out on purpose: distil-large-v3 and the distil-*.en variants, since Distil-Whisper is English-only and turbo is multilingual.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The bundled faster-whisper already resolves
large-v3-turbo, but the WhisperX adapter's parameter schema hard-codes the allowed model names, so a job accepted by the API fails a second later in the worker:Adding the name to the two lists in
whisperx_adapter.goand toWHISPER_MODELSin the config dialog is all that is needed; nothing else changes.Why it is worth having
Measured CPU-only on a low-end 6-core x86 machine,
int8, 4 threads, batch size 4, warm model cache, on an 18-minute recording. Both runs went through the same harness, so the model is the only variable:large-v3large-v3-turboAccuracy held up in that sample. On proper nouns turbo was in fact the steadier of the two: for one place name it settled on a single spelling in 8 of 9 occurrences, where
large-v3produced five different spellings of the same word. Total word count differed by about 4%.Related
#265 proposes the distil models. I left those out here on purpose: Distil-Whisper is English-only, while
large-v3-turbois multilingual, so it is the safer one to expose by default. The two changes are independent and could both land.