Skip to content
/ SG-Net Public

SG-Net: Syntax-guided machine reading comprehension (AAAI 2020)

Notifications You must be signed in to change notification settings

cooelf/SG-Net

Repository files navigation

SG-Net: Syntax-Guided Machine Reading Comprehension

Codes for the AAAI 2020 paper SG-Net: Syntax-Guided Machine Reading Comprehension

Update:

The text->dependency script to obtain the syntax mask: convert_span.py

*working in progress

model

Installation

pip install -r requirements.txt

Instructions

You can run the model with the script run_squad.sh and run_race.sh.

We upload the processed example data in data folder which is annotated by our dependency labeler for quick practice.

The labeler model is the HPSG-Neural-Parser. The implementation for this work will be publicly available soon.

Reference

Please kindly cite this paper in your publications if it helps your research:

@inproceedings{zhang2019sgnet,
    title={{SG-Net}: Syntax-Guided Machine Reading Comprehension},
    author={Zhang, Zhuosheng and Wu, Yuwei and Zhou, Junru and Duan, Sufeng and Zhao, Hai and Wang, Rui},
    booktitle={Proceedings of the Thirty-Fourth AAAI Conference on Artificial Intelligence},
    year={2020}
}

:)

About

SG-Net: Syntax-guided machine reading comprehension (AAAI 2020)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published