Bug description
When train_model.py is loading model with init-model argument with , lr scheduler seems to continue from the last learning rate recorded, based on model status stored in init-model location, rather than have a hard reset.
Notice that:
Reproduction steps
Model 1 is first trained locally on convai2 task (with bert bi ranker) and complete training. Later fine turning with --init-model argument point to model 1 path, combine with --model-file argument point to folder does not exist (and expect to create). The LR scheduler does not reset, but rather continue decay based on last learning rate recorded.
Expected behavior
LR scheduler expected to reset to default state based on arguments given at command line inputs.
My silly opinions
In my opinion, it should be expected to perform one of the followings:
You鈥檙e right. It鈥檚 actually okay in TGA:
Thank you filing the issue @newpro, and especially for writing such a nice clean bug report.
Most helpful comment
Thank you filing the issue @newpro, and especially for writing such a nice clean bug report.