Skip to content

OpenNMT-tf 2.2.0

Compare
Choose a tag to compare
@guillaumekln guillaumekln released this 06 Nov 16:01
· 501 commits to master since this release

OpenNMT-tf 2.2.0

New features

  • Return detokenized predictions when using an in-graph tokenizer
  • Injection of the special tokens <s> and </s> for language models can be configured with the data parameter sequence_controls

Fixes and improvements

  • Fix the batch size in multi GPU training that was not scaled by the number of devices
  • When updating vocabularies, mirror the existing embeddings distribution for newly created embeddings
  • Fix error when running onmt-tokenize-text and onmt-detokenize-text scripts
  • Transformer decoder now always returns the attention on the first source
  • Calling model.initialize() also initializes the decoder (if any)