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

Language model with Conformer #196

Open
AgaDob opened this issue May 19, 2021 · 3 comments
Open

Language model with Conformer #196

AgaDob opened this issue May 19, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@AgaDob
Copy link

AgaDob commented May 19, 2021

Hi! Just wondering if the KenLM is compatible with the Conformer model, and if so if there are any example scripts on how to include it? Thank you!

@nglehuy
Copy link
Collaborator

nglehuy commented May 19, 2021

@AgaDob Currently KenLM is not compatible with the Conformer or any of Transducer models. LM is not supported for transducer models yet, but I'm working on it and also optimize beam search to use LM.

@ashishBT
Copy link

ashishBT commented Jul 1, 2021

I am curious to know about the integration of language model in your ASR Conformer implementation.
As original article of Conformer also mentioned improvement of performance with using LM.
You can also assist me, so that I can try.

@nglehuy
Copy link
Collaborator

nglehuy commented Jul 23, 2021

@ashishBT The LM's usually used to rescore the prob in the decoding function of the model (aka beam search). So first we need to optimize the beam search performance and then just connect with LM in the function that calculate the prob (the prob used to get the corresponding class)

@nglehuy nglehuy added the enhancement New feature or request label Sep 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants