use dev set to check performance every X steps and stop training when no improvement or even an decrease of the accuracy is measured