OpenNMT-tf 1.8.0
OpenNMT-tf 1.8.0
New features
- Guided alignment for models using
SelfAttentionDecoder
andAttentionalRNNDecoder
with_scores
inference option to also output the prediction scorewith_alignments
inference option to also output the source-target alignments
Fixes and improvements
SelfAttentionDecoder
defines the first attention head of the last layer as its source-target attention vector