Editing
Troubleshooting of whisperX
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== WhisperX Audio Transcription Commands for Multiple Languages === Standard Command: English transcription output <pre> whisperx /path/to/audio/file.wav \ --model large-v3 \ --language en \ --diarize \ --batch_size 24 \ --no_align \ --chunk_size 10 \ --hf_token your_huggingface_token \ --output_dir /path/to/output/directory \ --output_format all </pre> To change output to Thai, modify the following parameters: Method 1: Set language to Thai {{kbd | key=<nowiki>--language th</nowiki>}} <pre> whisperx /path/to/audio/file.wav \ --model large-v3 \ --language th \ --diarize \ --batch_size 24 \ --no_align \ --chunk_size 10 \ --hf_token your_huggingface_token \ --output_dir /path/to/output/directory \ --output_format all </pre> Method 2: Auto-detect language (remove the {{kbd | key=<nowiki>--language</nowiki>}} parameter) <pre> whisperx /path/to/audio/file.wav \ --model large-v3 \ --diarize \ --batch_size 24 \ --no_align \ --chunk_size 10 \ --hf_token your_huggingface_token \ --output_dir /path/to/output/directory \ --output_format all </pre> Common Language Code Reference: # th = Thai # zh = Chinese # en = English # ja = Japanese # ko = Korean # es = Spanish # fr = French Supported language codes can be found in the [https://github.com/openai/whisper/blob/main/whisper/tokenizer.py Whisper tokenizer documentation] & [https://github.com/m-bain/whisperX/blob/main/EXAMPLES.md whisperX/EXAMPLES.md at main · m-bain/whisperX]
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information