Skip to content

OpenNMT-tf 2.13.0

Compare
Choose a tag to compare
@guillaumekln guillaumekln released this 20 Oct 12:23
· 259 commits to master since this release

New features

  • [API] opennmt.Encoder now accepts tf.RaggedTensor as input
  • [API] opennmt.Runner.train can return a summary of the training (e.g. average loss, last step, etc.)
  • [API] Add function opennmt.data.create_lookup_tables to create tf.lookup tables from a vocabulary file

Fixes and improvements

  • Raise errors (not warnings) when starting the training but end conditions are met
  • Ignore non training time when computing training throughput: ignore initialization, evaluation, and checkpoint saving
  • Print OpenNMT-tf version in the training logs
  • Improve error message when model.initialize() is not called