I am new to ONMT, and am a bit confused about the number of epochs and training steps. I know the number of epochs is the number of times that we iterate through the training dataset, but how can I calculate the number of epochs that I trained my model with?

e.g., let's say I have 20000 training samples and my batch_size is 64 and had 3200 training steps. If this is the case, then what is the number of epochs that I trained my model with?

1

There are 1 answers

1
Virgaux Pierre On

The number of periods is set arbitrarily. However, it should be taken into account that if it is too large it will lead to overfiting and if it is too small to underfitting. It is thus judicious to use callback which will make it possible to stop the training on certain criteria of evolution of the precision.