from hamu_tool.dataset import DataLoader
loader = DataLoader.load('beir/climate-fever')
for doc in loader.get_docs():
print(doc.id, doc.text, doc.title)
break
for query in loader.get_queries():
print(query.id, query.text)
break
for qrel in loader.get_qrels('[mode]'):
print(qrel.qid, qrel.did, qrel.score)
break
@article{Diggelmann2020CLIMATEFEVERAD,
title={CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claims},
author={T. Diggelmann and Jordan L. Boyd-Graber and Jannis Bulian and Massimiliano Ciaramita and Markus Leippold},
journal={ArXiv},
year={2020},
volume={abs/2012.00614}
}
@article{Thakur2021Beir,
title = "BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Models",
author = "Thakur, Nandan and Reimers, Nils and Rücklé, Andreas and Srivastava, Abhishek and Gurevych, Iryna",
journal= "arXiv preprint arXiv:2104.08663",
month = "4",
year = "2021",
url = "https://arxiv.org/abs/2104.08663",
}