Jayan12321 commited on
Commit
bbdb020
·
verified ·
1 Parent(s): db980b7

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +63 -0
README.md ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license:
5
+ - mit
6
+ multilinguality:
7
+ - monolingual
8
+ size_categories:
9
+ - n<1K
10
+ tags:
11
+ - rag
12
+ - retrieval-augmented-generation
13
+ - evaluation
14
+ - benchmark
15
+ - question-answering
16
+ - faithfulness
17
+ pretty_name: RAG Evaluation Benchmark & QA Test Suite
18
+ ---
19
+
20
+ # RAG Evaluation Benchmark & QA Test Suite 📚
21
+
22
+ A curated ground-truth evaluation benchmark designed to assess Retrieval-Augmented Generation (RAG) pipelines across three primary dimensions:
23
+ 1. **Context Recall**: Did the retriever fetch the passage containing the necessary ground-truth facts?
24
+ 2. **Faithfulness**: Is the generated answer supported strictly by the retrieved evidence without hallucinated extrapolations?
25
+ 3. **Answer Relevancy**: Does the generated synthesis directly answer the question?
26
+
27
+ - **Associated Space**: [RAG Engine Architecture Showcase](https://huggingface.co/spaces/Jayan12321/rag-engine)
28
+ - **GitHub Repository**: [JayanGupta/RAG-Engine](https://github.com/JayanGupta/RAG-Engine)
29
+ - **Author**: [Jayan Gupta](https://huggingface.co/Jayan12321)
30
+
31
+ ---
32
+
33
+ ## 📊 Dataset Schema
34
+
35
+ | Field | Type | Description |
36
+ |---|---|---|
37
+ | `question_id` | string | Unique identifier for the evaluation item. |
38
+ | `question` | string | User query spanning technical domains (quantum, space, clean energy). |
39
+ | `ground_truth_answer` | string | Verified, objective factual answer derived from the source knowledge corpus. |
40
+ | `evidence_doc` | string | Title of the source document containing the authoritative facts. |
41
+ | `question_type` | string | Type of cognitive task: `factoid`, `synthesis`, or `comparative`. |
42
+
43
+ ---
44
+
45
+ ## 💻 Quickstart with Python
46
+
47
+ ```python
48
+ from datasets import load_dataset
49
+
50
+ # Load directly from Hugging Face
51
+ dataset = load_dataset("Jayan12321/rag-evaluation-benchmark")
52
+
53
+ # Inspect sample evaluation question
54
+ sample = dataset["train"][0]
55
+ print("Question:", sample["question"])
56
+ print("Ground Truth:", sample["ground_truth_answer"])
57
+ print("Evidence Document:", sample["evidence_doc"])
58
+ ```
59
+
60
+ ---
61
+
62
+ ## 🛠️ Usage in RAG Benchmarking
63
+ This dataset is designed to be paired with heuristic faithfulness checkers or RAGAS-style evaluation frameworks to objectively score retriever and generator configurations.