Skip to content
RAG Repo

RAGBench is an explainable benchmark for retrieval-augmented generation, published by Galileo (the rungalileo organisation on Hugging Face) alongside an arXiv paper in 2024. It gathers roughly 100,000 examples by aggregating twelve existing question-answering corpora, among them PubMedQA, HotpotQA, CUAD, FinQA, TAT-QA, MS MARCO, CovidQA and TechQA, and organises them into five industry domains covering biomedical research, general knowledge, legal, customer support and finance. Each example pairs a question with its retrieved context and a generated answer, then adds the benchmark's distinctive contribution, component-level TRACe annotations. TRACe scores utilisation, relevance, adherence and completeness, which lets you measure retriever quality and generator quality separately rather than judging a pipeline only by its final answer.

Access is through the Hugging Face Hub. The data is published as Parquet files split into train, validation and test, and each of the twelve source corpora is exposed as its own named config, so you can load the whole benchmark or a single domain with the datasets library. There is no gate or application: it downloads freely, which makes it open by our access measure, and the volume is small (well under a gigabyte).

For RAG and AI work it is best used to evaluate and train grounding, faithfulness and context-relevance components, and as labelled data for an LLM-as-judge that scores those TRACe dimensions.

On licensing, take care. The dataset card states CC BY 4.0, so attribution is required, but that headline sits over twelve upstream corpora that each keep their own terms: HotpotQA is share-alike and MS MARCO restricts use to non-commercial research, among others. We therefore flag contentLicenceDiffers and treat commercial use as restricted until you check the specific component you rely on. If you need adjacent resources already listed here, see RAGTruth for span-level hallucination labels and CRAG for a factuality benchmark.

benchmarkrag-evaluationtrace-metricshallucination-detectionquestion-answeringannotated

Related sources