making small model the default

This commit is contained in:
Jong Wook Kim
2022-09-22 02:45:03 +09:00
parent 6e3be77e1a
commit 834f00a0ea
2 changed files with 7 additions and 7 deletions

View File

@@ -37,17 +37,17 @@ choco install ffmpeg
## Command-line usage
The following command will transcribe speech in audio files
The following command will transcribe speech in audio files, using the `medium` model:
whisper audio.flac audio.mp3 audio.wav
whisper audio.flac audio.mp3 audio.wav --model medium
The default setting works well for transcribing English. To transcribe an audio file containing non-English speech, you can specify the language using the `--language` option:
The default setting (which selects the `small` model) works well for transcribing English. To transcribe an audio file containing non-English speech, you can specify the language using the `--language` option:
whisper ~/japanese.wav --language Japanese
whisper japanese.wav --language Japanese
Adding `--task translate` will translate the speech into English:
whisper ~/japanese.wav --language Japanese --task translate
whisper japanese.wav --language Japanese --task translate
Run the following to view all available transcription options: