from hamu_tool.dataset import DataLoader
loader = DataLoader.load('beir/bioasq')
for doc in loader.get_docs():
print(doc.id, doc.text, doc.title, doc.journal, doc.year, doc.pmid, doc.mesh_major)
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{tsatsaronis2015overview,
title = "An overview of the BIOASQ large-scale biomedical semantic indexing and question answering competition",
author = "Tsatsaronis, George and Balikas, Georgios and Malakasiotis, Prodromos and Partalas, Ioannis and Zschunke, Matthias and Alvers, Michael R and Weissenborn, Dirk and Krithara, Anastasia and Petridis, Sergios and Polychronopoulos, Dimitris and others",
journal = "BMC bioinformatics",
volume = "16",
pages = "1--28",
year = "2015",
publisher = "Springer"
}
@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",
}