OpenNMT-py models output

Hello

I just build my model with certain data and I would like to take the model with better accuracy to translate. The problem is that I only get models every certain amount of steps and not the models with the accuracy and ppl as in the demo example:

demo-model_acc_XX.XX_ppl_XXX.XX_eX.pt

my models name are like this:

sonar-model_step_45000.pt

Can you please let me know how can I obtain the model that looks like the demo example?

This is my command for training

python train.py -data sonar_data/sonar-prepro -save_model sonar-model -gpu_ranks 0

Duplicate of: