Skip to content

Commit

Permalink
Merge pull request #110 from ixff/fix/turbo-model
Browse files Browse the repository at this point in the history
fix: use faster-whisper's turbo model
  • Loading branch information
jordimas authored Nov 21, 2024
2 parents 282953e + 23ffdc7 commit c495cf8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/whisper_ctranslate2/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"large-v2",
"large-v3",
"large-v3-turbo",
"turbo",
"distil-large-v2",
"distil-large-v3",
"distil-medium.en",
Expand Down
3 changes: 0 additions & 3 deletions src/whisper_ctranslate2/whisper_ctranslate2.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ def main():
speaker_name = args.pop("speaker_name")
batched = args.pop("batched")

if model == "large-v3-turbo":
model = "deepdml/faster-whisper-large-v3-turbo-ct2"

language = get_language(language, model_directory, model)
options = get_transcription_options(args)

Expand Down

0 comments on commit c495cf8

Please sign in to comment.