carpedm20 / MemN2N-tensorflow

"End-To-End Memory Networks" in Tensorflow
http://arxiv.org/abs/1503.08895v4
MIT License
829 stars 251 forks source link

Global gradients clipping should be used in stead of clipping each matrix separately. #19

Open wwt17 opened 6 years ago

wwt17 commented 6 years ago

I found your code measuring norms and clipping gradients for each parameter separately. But in the paper, the authors said "the l2 norm of the whole gradient of all parameters..." and your method was used in QA tasks.