I’m trying to reproduce your results on LibriSpeech clean test dataset with a pre-trained model. I was playing around with a language model. I thought that if I set LM_WEIGHT to 0 then it only will take in account acoustic model:
ds = Model(models, N_FEATURES, N_CONTEXT, alphabet, BEAM_WIDTH) ds.enableDecoderWithLM(alphabet, lm, trie, LM_WEIGHT, VALID_WORD_COUNT_WEIGHT)
However, I get different results, if I pass different language models and set LM_WEIGHT to zero. To be specific in one case I pass trie and lm.binary which are empty files and in other case files that I downloaded from project’s GitHub.
Can you please explain this behaviour.