We train a neural machine translation model, or equivalently estimate the parameters θ g , θ f and θ e , by maximizing the log-probability of a reference translation Y = {ŷ 1 , ...,ŷ T } given a source sentence.
we maximize the log-likelihood function: given a training set consisting of N source-target sentence pairs.