Paper
Examples of basic model can be found in this paper.
https://arxiv.org/abs/1606.02960
Implementation
https://github.com/harvardnlp/BSO/tree/master
Code for Sequence-to-Sequence Learning as Beam-Search Optimization (Wiseman and Rush, 2016).
This code is adapted from a much earlier version of Yoon Kim’s seq2seq-attn code.
For questions/concerns/bugs feel free to contact swiseman at seas.harvard.edu.