I’m new to this software.Now I want to train a model based on a pre_trained model, how do I make some changes in file ‘.yaml’ to achieve it or how do I make some changes in the code files.
-train_from in the command, for example:
onmt_train -config config.yml -train_from model/model_step_n.pt
In the yaml file, you don’t have to change anything (unless you want to). Just make sure that
train_steps value is enough to cover the number of steps of both the original training and the new training.