tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.37k stars 1.96k forks source link

Update WMT16 standard hparams #265

Open pramodkaushik opened 6 years ago

pramodkaushik commented 6 years ago

"num_encoder_layers" and "num_decoder_layers" are set in nmt.create_hparams() (Line 595 in nmt.py), but not updated after calling nmt.misc_utils.maybe_parse_standard_hparams() (Line 497 in nmt.py).

Fixes the issue (https://github.com/tensorflow/nmt/issues/264) where loading the pretrained checkpoint was resulting in an error.

googlebot commented 6 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers
pramodkaushik commented 6 years ago

I signed it!

googlebot commented 6 years ago

CLAs look good, thanks!