nanguoshun / LSR

Pytorch Implementation of our ACL 2020 Paper "Reasoning with Latent Structure Refinement for Document-Level Relation Extraction"
127 stars 22 forks source link

Correct optimizer for BERT + LSR #33

Closed isekulic closed 3 years ago

isekulic commented 3 years ago

There was a mistake in the optimizer, that is now fixed. The learning rates of LSR and BERT parts of the network need to be different -- they are now.

Also, I've done some minor cosmetic changes to the code.