mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
Merge pull request #27 from FelippeChemello/main
Add PT (pt-br) align support
This commit is contained in:
@ -93,7 +93,7 @@ https://user-images.githubusercontent.com/36994049/207743923-b4f0d537-29ae-4be2-
|
|||||||
The phoneme ASR alignment model is *language-specific*, for tested languages these models are [automatically picked from torchaudio pipelines or huggingface](https://github.com/m-bain/whisperX/blob/e909f2f766b23b2000f2d95df41f9b844ac53e49/whisperx/transcribe.py#L22).
|
The phoneme ASR alignment model is *language-specific*, for tested languages these models are [automatically picked from torchaudio pipelines or huggingface](https://github.com/m-bain/whisperX/blob/e909f2f766b23b2000f2d95df41f9b844ac53e49/whisperx/transcribe.py#L22).
|
||||||
Just pass in the `--language` code, and use the whisper `--model large`.
|
Just pass in the `--language` code, and use the whisper `--model large`.
|
||||||
|
|
||||||
Currently default models provided for `{en, fr, de, es, it, ja, zh, nl, uk}`. If the detected language is not in this list, you need to find a phoneme-based ASR model from [huggingface model hub](https://huggingface.co/models) and test it on your data.
|
Currently default models provided for `{en, fr, de, es, it, ja, zh, nl, uk, pt}`. If the detected language is not in this list, you need to find a phoneme-based ASR model from [huggingface model hub](https://huggingface.co/models) and test it on your data.
|
||||||
|
|
||||||
|
|
||||||
#### E.g. German
|
#### E.g. German
|
||||||
|
@ -32,6 +32,7 @@ DEFAULT_ALIGN_MODELS_HF = {
|
|||||||
"zh": "jonatasgrosman/wav2vec2-large-xlsr-53-chinese-zh-cn",
|
"zh": "jonatasgrosman/wav2vec2-large-xlsr-53-chinese-zh-cn",
|
||||||
"nl": "jonatasgrosman/wav2vec2-large-xlsr-53-dutch",
|
"nl": "jonatasgrosman/wav2vec2-large-xlsr-53-dutch",
|
||||||
"uk": "Yehor/wav2vec2-xls-r-300m-uk-with-small-lm",
|
"uk": "Yehor/wav2vec2-xls-r-300m-uk-with-small-lm",
|
||||||
|
"pt": "joaoalvarenga/wav2vec2-large-100k-voxpopuli-pt"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user