kimbyeolhee/InPars

Unofficial PyTorch Reimplementation of InPars

0

stars

49

commits

Python

primary language

May 12, 2023

updated

README

InPars

Inquisitive Parrots for Search

Unofficial PyTorch Reimplementation of InPars. Most of codes are from zetaalphavector/InPars.

Install

pip install -r requirements.txt

Usage

generate data from BEIR dataset

python InPars.generate.py

filter queries

python InPars.filter.py

generate negative examples by retrieving candidate docs with BM25

python InPars.generate_triples.py

fine-tuning the model(reranker) using triples file

python InPars.train.py

rerank again with using fine-tuned reranker

python InPars.rerank.py

evaluate the result

python InPars.evaluate.py

References

Contributors

kimbyeolhee

49 commits

kimbyeolhee/InPars

Unofficial PyTorch Reimplementation of InPars

0

stars

49

commits

Python

primary language

May 12, 2023

updated

README

InPars

Inquisitive Parrots for Search

Unofficial PyTorch Reimplementation of InPars. Most of codes are from zetaalphavector/InPars.

Install

pip install -r requirements.txt

Usage

generate data from BEIR dataset

python InPars.generate.py

filter queries

python InPars.filter.py

generate negative examples by retrieving candidate docs with BM25

python InPars.generate_triples.py

fine-tuning the model(reranker) using triples file

python InPars.train.py

rerank again with using fine-tuned reranker

python InPars.rerank.py

evaluate the result

python InPars.evaluate.py

References

Contributors

kimbyeolhee

49 commits

Languages

Python

56.5%

Jupyter Notebook

43.5%