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
"FileNotFoundError: KenLM binary file not found at : None" thrown when decoding without N-gram LM #9067
Labels
bug
Something isn't working
Comments
Update: We observed couple of code changes required with this script due to recent updates during the model and transcription refactoring. @karpov-nick is working to provide a fix for this. |
There is a work in progress in the PR #8428 |
Thank you both! |
You can try decoding without N-gram at the branch karpnv/beamsearch with parameters
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I am trying to use an external LLM to rescore the results of beam search from Conformer-CTC model.
When trying to get the beam search results with the
eval_beamsearch_ngram_ctc.py
without passing the N-gram LM, I get the following error:Steps/Code to reproduce bug
Expected behavior
I would expect the error to not be thrown as
BeamSearchDecoderWithLM
actually handles the case when the path to N-gram LM is not passed:When I removed the check for the KenLM file path from
nemo/collections/asr/parts/submodules/ctc_beam_decoding.py
, it worked:Environment overview
python -m pip install git+https://github.com/NVIDIA/[email protected]#egg=nemo_toolkit[all]
Environment details
Additional context
GPU: T4
The text was updated successfully, but these errors were encountered: