Skip to content

wangruinlp/znmt-merge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NMT decoding with recombination

Hi, this is an implementation of the paper "Exploring Recombination for Efficient Decoding of Neural Machine Translation".

Usage

Train:

Fisrt, we need a NMT model, use train.py to get it. Please refer to examples/train.sh as an example for the training of En-De and Zh-En models.

Test:

Next, use the trained models for NMT decoding with test.py, see examples/test.sh as the reference.

Options:

Please refer to examples/options.md for descriptions about cmd options.

Requirements:

This code is implemented in python3 with the DyNet toolkit. Please use a relatively newer version of DyNet, we tested it with the version of this commit.

About

NMT decoding with recombination (merging).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.7%
  • Perl 15.2%
  • Shell 6.1%