finish training.
finish training the model.