This repo contains the PyTorch implementaion for the paper [Aspect-based Sentiment Analysis via Multitask Learning for Online Reviews].
- Python 3.7.13
- PyTorch 1.11.0
- Transformers 4.1.1
The preprocess codes are in data_preprocess_semeval.py
and data_preprocess_twitter.py
. However we already provided the preprocessed datasets with dependency parcing results in ./data/
, so you can skip preprocess.
Run:
./run.sh
submitted to Knowledge-based Systems