Despite the distinct evaluation metrics for the aforementioned tasks, the standard training algorithm has been the same for all of them.
the algorithm is based on maximum likelihood estimation (MLE), which maximizes the log- * Equal contribution.