OpenNMT Forum

OpenNMT-py models output

opennmt-py

(Claudia) #1

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


(Guillaume Klein) #3

Duplicate of:


(Guillaume Klein) closed #4