freesunshine0316 / nary-grn

Code regarding to our paper "N-ary Relation Extraction using Graph State LSTM"
96 stars 27 forks source link

python 2 to python 3 #10

Open wt123u opened 5 years ago

wt123u commented 5 years ago

Hi @freesunshine0316 , Thanks for sharing! Would you consider upgrading your code to python 3? When I executed the code in different versions (python 2 and python 3), the results were quite different, as follows: python 2: Validation Data Eval: Dev loss = 27.9529, Dev accu = 0.5500 110/200 python 3: Validation Data Eval: Dev loss = 17.8237, Dev accu = 0.8250 165/200

freesunshine0316 commented 5 years ago

Hi, Thanks for pointing it out, it could be some problem related to python version, as someone else reported a similar issue. I'm currently busy on something else, I'll try to do it but the timeline can't be guaranteed.