Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Whisper external language model #1489

Closed
rezame opened this issue Feb 4, 2024 · 3 comments
Closed

Whisper external language model #1489

rezame opened this issue Feb 4, 2024 · 3 comments

Comments

@rezame
Copy link

rezame commented Feb 4, 2024

Hi dear,
Recently add whisper finetune code #1466

How can add an external language model to whisper ?

I want to add a finetune (interpolated ) language model (ngram or nn) to improve results, for example on a special domain to improve reconize special in-domain vocabulary.

Best regards

@marcoyang1998
Copy link
Collaborator

You can use beam search and use an external LM to rescore the n-best candidates.

@rezame
Copy link
Author

rezame commented Feb 6, 2024

Thanks
Does whisper decoding suport beam search?

@JinZr
Copy link
Collaborator

JinZr commented Feb 8, 2024

i think @yuekaizhang made some modifications to whisper to support beam search in this recipe, please check

https://github.com/k2-fsa/icefall/tree/master/egs/aishell/ASR/whisper

@rezame rezame closed this as completed Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants