Skip to content

OpenNMT-tf 2.11.0

Compare
Choose a tag to compare
@guillaumekln guillaumekln released this 17 Jun 07:55
· 307 commits to master since this release

New features

  • Dump a PyTorch-style description of the model in the logs
  • Support bucketing the evaluation dataset by length for improved efficiency (parameter length_bucket_width, usually enabled by default with --auto_config)
  • Accept "tokens" batch type for evaluation and inference (parameter batch_type)
  • Accept passing a flat list of files on the command line for nested inputters
  • Add "checkpoint" export format to export models as TensorFlow checkpoints
  • Add opennmt.layers.DenseReducer to reduce inputs with a linear transformation
  • Add function opennmt.utils.average_checkpoints_into_layer to average a list of checkpoints into an existing layer instance

Fixes and improvements

  • Improve training performance when not using gradient accumulation
  • Simplify graph generated by opennmt.layers.MultiplyReducer
  • Update the online documentation and add a list of direct children in each class reference, allowing to navigate up and down in the class inheritance