This repo contains the code of our TASLP'2021 paper:
A Unified Target-Oriented Sequence-to-Sequence Model for Emotion-Cause Pair Extraction
- Python 3.6
- PyTorch 1.8.0
- transformers 2.8.0
- pytorch_pretrained_bert 0.6.2
Run our model:
python src/main.py
If you think the codes & paper are helpful, please cite this paper. Thank you!
@article{DBLP:journals/taslp/ChengJYLG21,
author = {Zifeng Cheng and
Zhiwei Jiang and
Yafeng Yin and
Na Li and
Qing Gu},
title = {A Unified Target-Oriented Sequence-to-Sequence Model for Emotion-Cause
Pair Extraction},
journal = {{IEEE} {ACM} Trans. Audio Speech Lang. Process.},
volume = {29},
pages = {2779--2791},
year = {2021},
url = {https://doi.org/10.1109/TASLP.2021.3102194},
doi = {10.1109/TASLP.2021.3102194},
}