Code and datasets of our paper "Aspect-oriented Opinion Alignment Network for Aspect-Based Sentiment Classification" accepted by ECAI 2023.
numpy>=1.13.3 torch>=0.4.0 transformers>=3.5.1,<4.0.0 sklearn
To install requirements, run pip install -r requirements.txt
.
To train the AOAN model, run:
python train.py
The code and datasets in this repository are based on ABSA-PyTorch .