Unk_replace for opennmt tf



In the Opennmt-tf, I didn’t find the unk_replace option in the inference part.

So the option (like returning attetion score, beam size) is not already implemented?

Thanks :slight_smile:

(Guillaume Klein) #2


This is tracked by this issue:

There is currently a limitation in TensorFlow that prevents returning alignment information when using beam search. A pull request has been open there but interactions with the reviewer has been slower lately.


Thanks :smile: