Skip to content

OpenNMT-tf 2.3.0

Compare
Choose a tag to compare
@guillaumekln guillaumekln released this 25 Nov 13:20
· 477 commits to master since this release

OpenNMT-tf 2.3.0

New features

  • Predefined models NMTSmallV1, NMTMediumV1, and NMTBigV1 for compatibility with OpenNMT-tf v1
  • Function opennmt.convert_to_v2_config to automatically upgrade a V1 configuration
  • Function opennmt.utils.is_v1_checkpoint to detect OpenNMT-tf v1 checkpoints

Fixes and improvements

  • Fix error when using auto_config with model LstmCnnCrfTagger
  • Fix incomplete Model.create_variables after manually calling Model.build
  • Increase LayerNorm default epsilon value to be closer to TensorFlow and PyTorch defaults