Modeling Structural Similarities between Documents for Coherence Assessment with Graph Convolutional Networks
Code for the ACL 2023 paper "Modeling Structural Similarities between Documents for Coherence Assessment with Graph Convolutional Networks"
If any questions, please contact the email: [email protected]
Our working environment is Python 3.8. Before you run the code, please make sure you have installed all the required packages. You can achieve it by simply execute the shell as sh requirements.sh
Then you should prepare embedding, xlnet, and stanza:
- Download embedding from here and put it under the folder "data/embedding".
- Download xlnet-base_cased from here and put it under the folder "data/pretrained_models".
- Download stanza resource via
python3 preprocessing.py
and put it under the folder "data/stanza".
To run experiments on GCDC, you should:
- Put the raw corpora under the folder "data/dataset/raw/gcdc"
- Convert raw data into json files via
python3 preprocessing.py
- Call the script. For example, you can
sh script/run_clinton.sh
to run experiments on gcdc_clinton.
To run experiments on Toefl, you should:
- Put the raw corpora under the folder "data/dataset/raw/toefl"
- Convert raw data into json files via
python3 preprocessing.py
- Call the script. For example, you can
sh script/run_toefl1.sh
to run experiments on the prompt 1 of toefl corpus.
@inproceedings{liu-etal-2023-modeling,
title = "Modeling Structural Similarities between Documents for Coherence Assessment with Graph Convolutional Networks",
author = "Liu, Wei and
Fu, Xiyan and
Strube, Michael",
booktitle = "Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
month = jul,
year = "2023",
address = "Toronto, Canada",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2023.acl-long.431",
pages = "7792--7808",
}