This is a VQA dataset based on Infographics from InfoVQA dataset from InfoVQA.
def load_beir_qrels(qrels_file):
qrels = {}
with open(qrels_file) as f:
tsvreader = csv.DictReader(f, delimiter="\t")
for row in tsvreader:
qid = row["query-id"]
pid = row["corpus-id"]
rel = int(row["score"])
if qid in qrels:… See the full description on the dataset page:
https://huggingface.co/datasets/xiaoyunlv/VisRAG-Ret-Test-InfoVQA.