Code Monkey home page Code Monkey logo

aiso's Introduction

AISO

This repository hosts the authors' implementation of the paper Adaptive Information Seeking for Open-Domain Question Answering, published in EMNLP 2021.

demo

Usage

Set up environment

Our experiments are conducted on Python 3.6 and PyTorch 1.4.

We employ GoldEn retriever as our query reformulator for the sparse retriever, so you need also install elasticsearch, java >= 8 and corenlp (run install_corenlp.sh).

Prepare index and training data

See index_sparse.ipynb, gen_step_data.ipynb.

Training

See train_union.py.

Inference

See game.ipynb.

Demo

The front-end of the demo in the first GIF is not open source, but we provide a simple visual interface based on jupyter widgets in the notebook.

simple demo

TODO

  • Convert jupyer notebooks to scripts
  • More dependencies detail about environment setup
  • Upload processed training data and model checkpoints

Citation

@inproceedings{zhu-etal-2021-adaptive,
    title = "Adaptive Information Seeking for Open-Domain Question Answering",
    author = "Zhu, Yunchang  and
      Pang, Liang  and
      Lan, Yanyan  and
      Shen, Huawei  and
      Cheng, Xueqi",
    booktitle = "Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2021",
    address = "Online and Punta Cana, Dominican Republic",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2021.emnlp-main.293",
    pages = "3615--3626",
}

aiso's People

Contributors

zycdev avatar

Watchers

James Cloos 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.