tokens: We train for 2,000 iterations with mean squared error ( MSE ) over all source output samples in a batch as loss and apply early stopping if there is no improvement on the validation set for 20 epochs .