Skip to content

pl8787/Match-Ignition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Match-Ignition

PyTorch implementation of [CIKM 2021] Match-Ignition: Plugging PageRank into Transformer for Long-form Text Matching.

Python 3.6 License

Usage

Environment Preparation

pip install -r requirements.txt
cd transformers
sh switch_version.sh 1

Data Preparation

cd data
tar xzvf orig.tar.gz

Note: the original dataset can be downloaded from here.

Sentence-level Noise Filtering

python generate_data.py

Word-level Noise Filtering

python run.py

Citation

If you use Match-Ignition in your research, please use the following BibTex entry.

@inproceedings{pang2021matchignition,
    title={Match-Ignition: Plugging PageRank into Transformer for Long-form Text Matching},
    author={Liang Pang and Yanyan Lan and Xueqi Cheng},
    booktitle = {Proceedings of the 30th ACM International Conference on Information and Knowledge Management},
    series = {CIKM'21},
    year = {2021},
}

License

Apache-2.0

Copyright (c) 2019-present, Liang Pang (pl8787)