lpq29743 / IAN

A TensorFlow implementation for "Interactive Attention Networks for Aspect-Level Sentiment Classification"
MIT License
99 stars 40 forks source link

Can't get 78% accuracy on restaurant dataset #3

Closed Cppowboy closed 6 years ago

Cppowboy commented 6 years ago

I ran this code on the restaurant dataset using the default parameter setting. However, the accuracy is only 69%. Can you figure out what's wrong?

lpq29743 commented 6 years ago

Maybe you haven't taken a look on parameter settings in main.py, the default dataset is laptop dataset.

lpq29743 commented 6 years ago

And there is a parameter called 'pre_processed' means whether you should preprocess the origin data files. If this parameter is set as 1, although you have changed the origin filenames, it still doesn't work.

Cppowboy commented 6 years ago

Thank you, it works!

gliu9966 commented 5 years ago

Thank you, it works!

How did you modify the code?

Cppowboy commented 5 years ago

Thank you, it works!

How did you modify the code?

Just set the pre_processed parameter to 0 when you are running the main.py script.