freesunshine0316 / nary-grn

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

How to reproduce the results in the paper #11

Closed zll666 closed 5 years ago

zll666 commented 5 years ago

hello, I did a 5 cross-validation with your code, but the test set's accurate was only 77% . Will the parameters in the config file still need to be adjusted? I am confused how I can reproduce the results 83%.

freesunshine0316 commented 5 years ago

Hi @zll666

Just checked the config file. You need to change the value of "class_num" to 2. The value can be either 5 or 2, meaning "multi-class classification" and "binary classification", respectively.

freesunshine0316 commented 5 years ago

@zll666 Just update the repository a little bit.