Disable length penalty by default
The optimal value depends on the model and language pairs.
@@ -146,8 +146,7 @@ class SequenceToSequence(Model):
config = super(SequenceToSequence, self).auto_config(num_devices=num_devices)
return merge_dict(config, {
"params": {
- "beam_width": 4,
- "length_penalty": 0.6
+ "beam_width": 4
},
"train": {
"sample_buffer_size": -1,
