Coder Social home page Coder Social logo

bookqa's Introduction

Book QA

Codes and resutls for the TACL paper Narrative Question Answering with Cutting-Edge Open-Domain QATechniques: A Comprehensive Study.

Installation

The implementation is based on huggingface transformer 3.2 and our customizations are directly made to the original source code. We provide the exact version in transformers folder that corresponds to the results in the paper. The following scripts have only been tested on Ubuntu 18.04 with Python 3.6 & 3.7.

It is noteworthy that, based on our tests, our customization based on huggingface transformer 4.7 can provide better results. We will provide the code in the future.

conda create -n trans32 python=3.7
conda activate trans32
cd transformers
pip install -e ".[testing]"
conda install pytorch torchvision cudatoolkit=10.2 -c pytorch
pip install -r ./examples/requirements.txt
pip install pytorch-lightning==0.8.5

For evaluation, more details can be found in evaluation/ folder

Citation

If you find this repo useful, please consider citing our paper:

@article{mou2021narrative,
  title={Narrative Question Answering with Cutting-Edge Open-Domain QA Techniques: A Comprehensive Study},
  author={Mou, Xiangyang and Yang, Chenghao and Yu, Mo and Yao, Bingsheng and Guo, Xiaoxiao and Potdar, Saloni and Su, Hui},
  journal={arXiv preprint arXiv:2106.03826},
  year={2021}
}

bookqa's People

Contributors

moutaigua8183 avatar chijames avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.