Skip to content

JD-AI-Research-NLP/RoR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoR

This repo provides the code for reproducing the experiments in Findings-EMNLP 2021 paper: RoR: Read-over-Read for Long Document Machine Reading Comprehension. This code is adapted from the repos of longformer.

Figure : Illustrations of RoR framework

Environment

transformers @ git+http://github.com/ibeltagy/transformers.git@longformer_encoder_decoder#egg=transformers
pytorch-lightning @ git+http://github.com/ibeltagy/pytorch-lightning.git@v0.8.5_fixes#egg=pytorch-lightning
torch>=1.6.0
test-tube==0.7.5

TriviaQA

To reproduce the results, you don’t have to train any model and can use the pretrained triviaqa-longformer-large to infer directly. The detailed inference steps are given in the inference.txt.

QuAC

The code is realeased in QuAC

Citation

@inproceedings{zhao-etal-2021-ror-read,
    title = "{R}o{R}: Read-over-Read for Long Document Machine Reading Comprehension",
    author = "Zhao, Jing  and
      Bao, Junwei  and
      Wang, Yifan  and
      Zhou, Yongwei  and
      Wu, Youzheng  and
      He, Xiaodong  and
      Zhou, Bowen",
    booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2021",
    month = nov,
    year = "2021",
    address = "Punta Cana, Dominican Republic",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.findings-emnlp.160",
    pages = "1862--1872",
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published