How can I implement early stopping. I'm working on NER and after a particular epoch the loss stops to decrease there I want to apply early stop. Kindly help me out.
Hi @Aditya715, by default flair uses an early stopping mechanism:
Reduce learning rate and weight decay when a metric has stopped improving.
So when a learning rate of < 0.0001 is reached, training will be stopped :)
I hope this helps!
Perhaps we should add the stopping criterion as a parameter, i.e. let users specify at which point the learning rate becomes to small.
Closed by PR #871 - thanks again @stefan-it!
Most helpful comment
Perhaps we should add the stopping criterion as a parameter, i.e. let users specify at which point the learning rate becomes to small.