EasyNLP icon indicating copy to clipboard operation
EasyNLP copied to clipboard

Command line argument of learning rate scheduler

Open hlh981029 opened this issue 2 years ago • 2 comments

#120

hlh981029 avatar Jul 02 '22 08:07 hlh981029

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jul 02 '22 08:07 CLAassistant

https://github.com/alibaba/EasyNLP/blob/169bf0a706985a06fc2598960fdafc8c3be64944/easynlp/core/trainer.py#L325-L334

这里的逻辑我不太理解,比如,self._optimizerBertAdam 的时候 self._lr_schedulerNone,这里是需要调用 self._optimizer.step() 的。

hlh981029 avatar Jul 02 '22 09:07 hlh981029