songyingxin / Bert-TextClassification

Implemention some Baseline Model upon Bert for Text Classification
Other
677 stars 148 forks source link

early_stop #11

Open chenye27 opened 4 years ago

chenye27 commented 4 years ago

好像不能early_stop,不过我看了好久也看出来有啥问题

songyingxin commented 4 years ago

early_stop 设置的目的就是当连续多个节点无法获得更好的结果时会停止训练。 我其实用起来感觉eary_stop 没啥用,建议先一次跑一下,看看大概需要几个epoch,然后设定固定的epoch 就行。