Before running the code, please install the necessary packages.
- Pytorch >=1.4
- Sklearn
- Python3.6+
Usage:
- Train and Validation
python3 main.py train
- Test
python3 main.py test
The code of Online Review Helpfulness Prediction with Dual Personalized Attention.
Python