complete IBM model train and decode