Codes for the SIGIR 2022 paper Mutual disentanglement learning for joint fine-grained sentiment classification and controllable text generation
conda create --name dual-scsg python=3.8
pip install -r requirements.txt
Download the datasets and put them on the corresponding folds.
- Fine-grained ABSA
- Coarse-grained ABSA
python run_lm.py
python run_dsl.py
python main.py
Note: properly configurate the parameters of each script.
@inproceedings{sigir22-dual-scsg,
author = {Hao Fei and
Chenliang Li and
Donghong Ji and
Fei Li},
title = {Mutual Disentanglement Learning for Joint Fine-Grained Sentiment Classification
and Controllable Text Generation},
booktitle = {Proceedings of the 45th International {ACM} {SIGIR} Conference on Research
and Development in Information Retrieval},
pages = {1555--1565},
publisher = {{ACM}},
year = {2022},
url = {https://doi.org/10.1145/3477495.3532029}
}
The code is released under Apache License 2.0 for Noncommercial use only.