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.
- Python 3
- NumPy
- PyTorch (currently tested on version 1.6.0)
- Transformers (version 3.0.2, unlikely to work with a different version)