We found this model to generate overly short titles like 'sql server 2008' when a length restriction was not imposed on the output text.
we fix the output length to be the average title length in the training set while decoding.