This repo contains the code of our TOIS'2022 paper:
A Consistent Dual-MRC Framework for Emotion-Cause Pair Extraction
- Python 3.6.9
- PyTorch 1.8.0
- transformers 4.11.3
-
Clone or download this repo.
-
Download the pertrained "BERT-Base, Chinese" model from this link. And then put the model file
pytorch_model.bin
to the foldersrc/bert-base-chinese
. -
Run our model:
python src/main2.py