tensorflow / nmt

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

GNMT should not pass hidden state #449

Open justinej opened 4 years ago

justinej commented 4 years ago

In the paper, GNMT does not pass the final encoder state to the decoder as the initial hidden state. There exists a parameter pass_hidden_state that defaults to True and is not being set for GNMT in the standard hparam json files. There should be an additional line in wmt16_gnmt_4_layer.json and wmt16_gnmt_8_layer.json that sets it to False.