训练数据已经子词化,所以直接跳转到准备训练: 1 准备训练 python3 /home/zdliu/pen_trans/opennmt-simple-1.0/opennmt-simple-1.0/preprocess.py -train_src /home/zdliu/pen_trans/train.en -train_tgt /home/zdliu/pen_trans/train.de -valid_src /home/zdliu/pen_trans/valid.en -valid_tgt /home/zdliu/pen_trans/valid.de -save_data /home/z