├── README.md ├── examples └── upr-demo.sh ├── gpt └── upr_gpt.py ├── images ├── top20-accuracy.png ├── upr-block-diagram.png └── upr-model-diagram-small.png ├── open-domain-qa ├── README.md ├── examples │ └── fid_common.sh ├── megatron │ ├── __init__.py │ ├── arguments.py │ ├── checkpointing.py │ ├── data │ │ ├── __init__.py │ │ ├── indexed_dataset.py │ │ ├── mask_creation_utils.py │ │ ├── orqa_wiki_dataset.py │ │ └── samplers.py │ ├── fp16 │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── fp16.cpython-39.pyc │ │ │ ├── fp16util.cpython-39.pyc │ │ │ └── loss_scaler.cpython-39.pyc │ │ ├── fp16.py │ │ ├── fp16util.py │ │ └── loss_scaler.py │ ├── fused_kernels │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ └── __init__.cpython-39.pyc │ │ ├── scaled_masked_softmax.cpp │ │ ├── scaled_masked_softmax.h │ │ ├── scaled_masked_softmax_cuda.cu │ │ ├── scaled_upper_triang_masked_softmax.cpp │ │ ├── scaled_upper_triang_masked_softmax.h │ │ └── scaled_upper_triang_masked_softmax_cuda.cu │ ├── global_vars.py │ ├── initialize.py │ ├── learning_rates.py │ ├── memory.py │ ├── model │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── distributed.cpython-39.pyc │ │ │ ├── fid_model.cpython-39.pyc │ │ │ ├── fused_bias_gelu.cpython-39.pyc │ │ │ ├── fused_softmax.cpython-39.pyc │ │ │ ├── language_model.cpython-39.pyc │ │ │ ├── search_strategy.cpython-39.pyc │ │ │ ├── t5_model.cpython-39.pyc │ │ │ ├── transformer.cpython-39.pyc │ │ │ └── utils.cpython-39.pyc │ │ ├── distributed.py │ │ ├── fid_model.py │ │ ├── fused_bias_gelu.py │ │ ├── fused_softmax.py │ │ ├── language_model.py │ │ ├── search_strategy.py │ │ ├── t5_model.py │ │ ├── transformer.py │ │ └── utils.py │ ├── module.py │ ├── mpu │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── cross_entropy.cpython-39.pyc │ │ │ ├── data.cpython-39.pyc │ │ │ ├── grads.cpython-39.pyc │ │ │ ├── initialize.cpython-39.pyc │ │ │ ├── layers.cpython-39.pyc │ │ │ ├── mappings.cpython-39.pyc │ │ │ ├── random.cpython-39.pyc │ │ │ └── utils.cpython-39.pyc │ │ ├── cross_entropy.py │ │ ├── data.py │ │ ├── grads.py │ │ ├── initialize.py │ │ ├── layers.py │ │ ├── mappings.py │ │ ├── random.py │ │ └── utils.py │ ├── tokenizer │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── bert_tokenization.cpython-39.pyc │ │ │ └── tokenizer.cpython-39.pyc │ │ ├── bert_tokenization.py │ │ └── tokenizer.py │ ├── training.py │ └── utils.py ├── tasks │ ├── openqa │ │ └── fid │ │ │ ├── __pycache__ │ │ │ ├── eval_utils.cpython-39.pyc │ │ │ ├── run.cpython-39.pyc │ │ │ └── train_data_utils.cpython-39.pyc │ │ │ ├── eval_utils.py │ │ │ ├── run.py │ │ │ ├── train.py │ │ │ └── train_data_utils.py │ └── run.py └── tools │ ├── clean_checkpoints.py │ ├── create_evidence_indexed_dataset.py │ └── inverted_title_index.py ├── requirements.txt ├── upr.py └── utils ├── __init__.py ├── data_utils.py ├── download_data.py ├── dpr_wiki_dataset.py ├── initialize.py └── openqa_dataset.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/README.md -------------------------------------------------------------------------------- /examples/upr-demo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/examples/upr-demo.sh -------------------------------------------------------------------------------- /gpt/upr_gpt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/gpt/upr_gpt.py -------------------------------------------------------------------------------- /images/top20-accuracy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/images/top20-accuracy.png -------------------------------------------------------------------------------- /images/upr-block-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/images/upr-block-diagram.png -------------------------------------------------------------------------------- /images/upr-model-diagram-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/images/upr-model-diagram-small.png -------------------------------------------------------------------------------- /open-domain-qa/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/README.md -------------------------------------------------------------------------------- /open-domain-qa/examples/fid_common.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/examples/fid_common.sh -------------------------------------------------------------------------------- /open-domain-qa/megatron/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/__init__.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/arguments.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/arguments.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/checkpointing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/checkpointing.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/data/__init__.py: -------------------------------------------------------------------------------- 1 | from . import indexed_dataset 2 | -------------------------------------------------------------------------------- /open-domain-qa/megatron/data/indexed_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/data/indexed_dataset.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/data/mask_creation_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/data/mask_creation_utils.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/data/orqa_wiki_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/data/orqa_wiki_dataset.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/data/samplers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/data/samplers.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/fp16/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fp16/__init__.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/fp16/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fp16/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/fp16/__pycache__/fp16.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fp16/__pycache__/fp16.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/fp16/__pycache__/fp16util.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fp16/__pycache__/fp16util.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/fp16/__pycache__/loss_scaler.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fp16/__pycache__/loss_scaler.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/fp16/fp16.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fp16/fp16.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/fp16/fp16util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fp16/fp16util.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/fp16/loss_scaler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fp16/loss_scaler.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/fused_kernels/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fused_kernels/__init__.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/fused_kernels/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fused_kernels/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/fused_kernels/scaled_masked_softmax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fused_kernels/scaled_masked_softmax.cpp -------------------------------------------------------------------------------- /open-domain-qa/megatron/fused_kernels/scaled_masked_softmax.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fused_kernels/scaled_masked_softmax.h -------------------------------------------------------------------------------- /open-domain-qa/megatron/fused_kernels/scaled_masked_softmax_cuda.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fused_kernels/scaled_masked_softmax_cuda.cu -------------------------------------------------------------------------------- /open-domain-qa/megatron/fused_kernels/scaled_upper_triang_masked_softmax.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fused_kernels/scaled_upper_triang_masked_softmax.cpp -------------------------------------------------------------------------------- /open-domain-qa/megatron/fused_kernels/scaled_upper_triang_masked_softmax.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fused_kernels/scaled_upper_triang_masked_softmax.h -------------------------------------------------------------------------------- /open-domain-qa/megatron/fused_kernels/scaled_upper_triang_masked_softmax_cuda.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/fused_kernels/scaled_upper_triang_masked_softmax_cuda.cu -------------------------------------------------------------------------------- /open-domain-qa/megatron/global_vars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/global_vars.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/initialize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/initialize.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/learning_rates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/learning_rates.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/memory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/memory.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__init__.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__pycache__/distributed.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__pycache__/distributed.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__pycache__/fid_model.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__pycache__/fid_model.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__pycache__/fused_bias_gelu.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__pycache__/fused_bias_gelu.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__pycache__/fused_softmax.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__pycache__/fused_softmax.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__pycache__/language_model.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__pycache__/language_model.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__pycache__/search_strategy.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__pycache__/search_strategy.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__pycache__/t5_model.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__pycache__/t5_model.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__pycache__/transformer.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__pycache__/transformer.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/__pycache__/utils.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/__pycache__/utils.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/distributed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/distributed.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/fid_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/fid_model.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/fused_bias_gelu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/fused_bias_gelu.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/fused_softmax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/fused_softmax.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/language_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/language_model.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/search_strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/search_strategy.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/t5_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/t5_model.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/transformer.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/model/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/model/utils.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/module.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/module.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/__init__.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/__pycache__/cross_entropy.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/__pycache__/cross_entropy.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/__pycache__/data.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/__pycache__/data.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/__pycache__/grads.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/__pycache__/grads.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/__pycache__/initialize.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/__pycache__/initialize.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/__pycache__/layers.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/__pycache__/layers.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/__pycache__/mappings.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/__pycache__/mappings.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/__pycache__/random.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/__pycache__/random.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/__pycache__/utils.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/__pycache__/utils.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/cross_entropy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/cross_entropy.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/data.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/grads.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/grads.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/initialize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/initialize.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/layers.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/mappings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/mappings.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/random.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/random.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/mpu/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/mpu/utils.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/tokenizer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/tokenizer/__init__.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/tokenizer/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/tokenizer/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/tokenizer/__pycache__/bert_tokenization.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/tokenizer/__pycache__/bert_tokenization.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/tokenizer/__pycache__/tokenizer.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/tokenizer/__pycache__/tokenizer.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/megatron/tokenizer/bert_tokenization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/tokenizer/bert_tokenization.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/tokenizer/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/tokenizer/tokenizer.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/training.py -------------------------------------------------------------------------------- /open-domain-qa/megatron/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/megatron/utils.py -------------------------------------------------------------------------------- /open-domain-qa/tasks/openqa/fid/__pycache__/eval_utils.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tasks/openqa/fid/__pycache__/eval_utils.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/tasks/openqa/fid/__pycache__/run.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tasks/openqa/fid/__pycache__/run.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/tasks/openqa/fid/__pycache__/train_data_utils.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tasks/openqa/fid/__pycache__/train_data_utils.cpython-39.pyc -------------------------------------------------------------------------------- /open-domain-qa/tasks/openqa/fid/eval_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tasks/openqa/fid/eval_utils.py -------------------------------------------------------------------------------- /open-domain-qa/tasks/openqa/fid/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tasks/openqa/fid/run.py -------------------------------------------------------------------------------- /open-domain-qa/tasks/openqa/fid/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tasks/openqa/fid/train.py -------------------------------------------------------------------------------- /open-domain-qa/tasks/openqa/fid/train_data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tasks/openqa/fid/train_data_utils.py -------------------------------------------------------------------------------- /open-domain-qa/tasks/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tasks/run.py -------------------------------------------------------------------------------- /open-domain-qa/tools/clean_checkpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tools/clean_checkpoints.py -------------------------------------------------------------------------------- /open-domain-qa/tools/create_evidence_indexed_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tools/create_evidence_indexed_dataset.py -------------------------------------------------------------------------------- /open-domain-qa/tools/inverted_title_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/open-domain-qa/tools/inverted_title_index.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/requirements.txt -------------------------------------------------------------------------------- /upr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/upr.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/utils/__init__.py -------------------------------------------------------------------------------- /utils/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/utils/data_utils.py -------------------------------------------------------------------------------- /utils/download_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/utils/download_data.py -------------------------------------------------------------------------------- /utils/dpr_wiki_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/utils/dpr_wiki_dataset.py -------------------------------------------------------------------------------- /utils/initialize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/utils/initialize.py -------------------------------------------------------------------------------- /utils/openqa_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/DevSinghSachan/unsupervised-passage-reranking/HEAD/utils/openqa_dataset.py --------------------------------------------------------------------------------