Closed pkufool closed 10 months ago
@csukuangfj Too many black errors, I think they don't relate to this PR, what should I do, reformat them?
@csukuangfj Too many black errors, I think they don't relate to this PR, what should I do, reformat them?
I think you can ignore the python style issues first.
This PR support transducer models trained with byte level bpe units, see https://github.com/k2-fsa/icefall/pull/986 and https://github.com/k2-fsa/icefall/pull/1033 . Here is the decoding log, when you are using the models trained with byte level bpe, you just need to provide
--use-bbpe=True
then everything works as it is, note: only support the models trained with icefall, because the mapping table is hard-coded in the source code. Enjoy!The logs belows uses this model https://huggingface.co/pkufool/icefall_asr_aishell_pruned_transducer_stateless7_bbpe