uclnlp / APE

Adaptive Passage Encoder for Open-domain Question Answering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Adaptive Passage Encoder for Open-domain Question Answering

Source code repository of our ACL-IJCNLP 2021 paper "Training Adaptive Computation for Open-Domain Question Answering with Computational Constraints".

This is based on Fusion-in-Decoder (FiD) work, so the two projects share some dependencies and datasets. Refer to FiD repository for more details regarding downloading the data and checkpoints.

Dependencies

  • Python 3
  • NumPy
  • PyTorch (currently tested on version 1.6.0)
  • Transformers (version 3.0.2, unlikely to work with a different version)

About

Adaptive Passage Encoder for Open-domain Question Answering


Languages

Language:Python 93.0%Language:Shell 7.0%