Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 2.17 KB

README.md

File metadata and controls

31 lines (24 loc) · 2.17 KB

NMT+RNNG: A hybrid decoder for NMT which combines the decoder of an attentin-based neural machine translation model with Recurrent Nerual Network Grammars

We have presented a novel syntax-aware NMT model in the target side, called NMT+RNNG ("Learning to Parse and Translate Improves Neural Machine Translation" [1]. The decoder of the NMT+RNNG combines a usual conditional language model and Recurrent Neural Network Grammas (RNNGs) [2], which enables the proposed model to learn to parse and translate.

Description

C++ implementation.

  1. NMTRNNG.xpp: our proposed model (NMT+RNNG).
  2. AttentionBiEncDec.xpp: Baseline ANMT model
  3. /data/: Tanaka corpus (JP-EN) [4]

Requirement

Usage

  1. Modify the paths of EIGEN_LOCATION and SHARE_LOCATION in Makefile.
  2. $ bash setup.sh
  3. $ ./nmtrnng (Then, it starts training the NMTRNNG model.)
  4. Modify main.cpp if you would like to try another model.

References

Contact

Thank you for your having interest in our work. If there are any issues, feel free to contact me.

  • eriguchi [.at.] logos.t.u-tokyo.ac.jp