Skip to content

Commit

Permalink
Add support for large-v3-turbo model
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Oct 10, 2024
1 parent 71256bd commit a4f061e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/whisper_ctranslate2/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"large-v1",
"large-v2",
"large-v3",
"large-v3-turbo",
"distil-large-v2",
"distil-large-v3",
"distil-medium.en",
Expand Down
3 changes: 3 additions & 0 deletions src/whisper_ctranslate2/whisper_ctranslate2.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ def main():
hf_token = args.pop("hf_token")
speaker_name = args.pop("speaker_name")

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 a4f061e

Please sign in to comment.