Source code for espnet2.bin.asr_transducer_train

#!/usr/bin/env python3

from espnet2.tasks.asr_transducer import ASRTransducerTask


[docs]def get_parser(): """Get parser for ASR Transducer task.""" parser = ASRTransducerTask.get_parser() return parser
[docs]def main(cmd=None): r"""ASR Transducer training. Example: % python asr_transducer_train.py asr --print_config \ --optim adadelta > conf/train_asr.yaml % python asr_transducer_train.py \ --config conf/tuning/transducer/train_rnn_transducer.yaml """ ASRTransducerTask.main(cmd=cmd)
if __name__ == "__main__": main()