Simplify dataset card
Browse files
README.md
CHANGED
|
@@ -42,63 +42,75 @@ configs:
|
|
| 42 |
|
| 43 |
# Local GraphRAG Cascade Artifacts
|
| 44 |
|
| 45 |
-
This
|
| 46 |
-
|
| 47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
```text
|
| 50 |
Native -> ER -> ER+RR
|
| 51 |
```
|
| 52 |
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
|
|
|
| 56 |
|
| 57 |
-
##
|
| 58 |
|
| 59 |
- 120 MultiHop-RAG questions: 30 inference, 30 comparison, 30 temporal, and 30
|
| 60 |
unanswerable.
|
| 61 |
- 155 documents: 125 gold documents and 30 hard negatives.
|
| 62 |
- 12 builder models and 36 graph conditions.
|
| 63 |
-
-
|
| 64 |
-
|
| 65 |
-
-
|
| 66 |
-
|
|
|
|
|
|
|
| 67 |
|
| 68 |
-
|
|
|
|
| 69 |
|
| 70 |
-
|
|
|
|
|
|
|
| 71 |
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
checksums.sha256
|
| 76 |
-
corpus/
|
| 77 |
-
extraction/
|
| 78 |
-
graphs/
|
| 79 |
-
retrieval/
|
| 80 |
-
answers/
|
| 81 |
-
evaluation/
|
| 82 |
-
```
|
| 83 |
|
| 84 |
| Directory | Contents |
|
| 85 |
| --- | --- |
|
| 86 |
-
| `corpus/` | Questions, documents,
|
| 87 |
-
| `extraction/
|
| 88 |
-
| `graphs/
|
| 89 |
-
| `retrieval/
|
| 90 |
-
| `answers/
|
| 91 |
-
| `evaluation/
|
| 92 |
-
| `evaluation/builders/<builder>/` | Builder summaries and three paired cascade contrasts |
|
| 93 |
-
| `evaluation/aggregate/` | Prespecified and exploratory cross-builder results |
|
| 94 |
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
and
|
| 98 |
|
| 99 |
-
## Loading
|
| 100 |
|
| 101 |
-
|
|
|
|
| 102 |
|
| 103 |
```python
|
| 104 |
from datasets import load_dataset
|
|
@@ -116,9 +128,9 @@ metrics = load_dataset(
|
|
| 116 |
)
|
| 117 |
```
|
| 118 |
|
| 119 |
-
The artifact families
|
| 120 |
-
|
| 121 |
-
|
| 122 |
|
| 123 |
## Integrity
|
| 124 |
|
|
@@ -134,17 +146,18 @@ On macOS:
|
|
| 134 |
shasum -a 256 -c checksums.sha256
|
| 135 |
```
|
| 136 |
|
| 137 |
-
##
|
| 138 |
|
| 139 |
-
The corpus is a fixed,
|
| 140 |
-
was performed once per builder
|
| 141 |
-
|
| 142 |
-
|
| 143 |
-
|
| 144 |
|
| 145 |
-
|
| 146 |
-
|
| 147 |
-
|
|
|
|
| 148 |
|
| 149 |
## Limitations
|
| 150 |
|
|
|
|
| 42 |
|
| 43 |
# Local GraphRAG Cascade Artifacts
|
| 44 |
|
| 45 |
+
This repository contains the data and output artifacts produced for my master's
|
| 46 |
+
thesis research on knowledge graph construction in local GraphRAG systems. It
|
| 47 |
+
is an evidence package for the study, rather than the code used to run the
|
| 48 |
+
experiment.
|
| 49 |
+
|
| 50 |
+
The collection includes the study corpus, model extraction outputs, final
|
| 51 |
+
knowledge graphs, retrieved evidence, generated answers, and evaluation results.
|
| 52 |
+
Together, these files make it possible to inspect the experiment from source
|
| 53 |
+
documents through to question-level outcomes.
|
| 54 |
+
|
| 55 |
+
The complete experiment harness, including the code, configuration, and commands
|
| 56 |
+
used to produce these artifacts, will be published separately on
|
| 57 |
+
[my GitHub profile](https://github.com/georgijkutivadze).
|
| 58 |
+
|
| 59 |
+
## What was compared
|
| 60 |
+
|
| 61 |
+
The experiment used 12 local language models to build graphs under three
|
| 62 |
+
cumulative conditions:
|
| 63 |
|
| 64 |
```text
|
| 65 |
Native -> ER -> ER+RR
|
| 66 |
```
|
| 67 |
|
| 68 |
+
`Native` is the original LightRAG graph. `ER` applies Entity Resolution to that
|
| 69 |
+
graph. `ER+RR` then applies Relation Recovery to the ER result. Because the
|
| 70 |
+
conditions form a sequence, this collection does not include a separate
|
| 71 |
+
Native+RR condition or measure RR as an independent intervention.
|
| 72 |
|
| 73 |
+
## What is included
|
| 74 |
|
| 75 |
- 120 MultiHop-RAG questions: 30 inference, 30 comparison, 30 temporal, and 30
|
| 76 |
unanswerable.
|
| 77 |
- 155 documents: 125 gold documents and 30 hard negatives.
|
| 78 |
- 12 builder models and 36 graph conditions.
|
| 79 |
+
- Raw model calls and normalized extraction records.
|
| 80 |
+
- Final graph nodes and edges for every model and condition.
|
| 81 |
+
- 36 retrieval outputs, 36 generated-answer outputs, and 4,320 question-level
|
| 82 |
+
evaluation records.
|
| 83 |
+
- Paired comparisons between the cumulative conditions and exploratory
|
| 84 |
+
cross-model analyses.
|
| 85 |
|
| 86 |
+
<details>
|
| 87 |
+
<summary>Builder model identifiers</summary>
|
| 88 |
|
| 89 |
+
`gemma3_270m`, `gemma3_1b`, `gemma3_4b`, `gemma3_12b`, `qwen3_0_6b`,
|
| 90 |
+
`qwen3_1_7b`, `qwen3_4b`, `qwen3_8b`, `qwen35_0_8b`, `qwen35_2b`,
|
| 91 |
+
`qwen35_4b`, and `qwen35_9b`.
|
| 92 |
|
| 93 |
+
</details>
|
| 94 |
+
|
| 95 |
+
## Finding the files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
| Directory | Contents |
|
| 98 |
| --- | --- |
|
| 99 |
+
| `corpus/` | Questions, source documents, and subset provenance |
|
| 100 |
+
| `extraction/` | Raw model calls and normalized chunks, entities, and relations |
|
| 101 |
+
| `graphs/` | Final graph nodes and edges |
|
| 102 |
+
| `retrieval/` | Evidence retrieved for each question |
|
| 103 |
+
| `answers/` | Answers generated from the retrieved evidence |
|
| 104 |
+
| `evaluation/` | Question-level metrics, paired comparisons, and aggregate results |
|
|
|
|
|
|
|
| 105 |
|
| 106 |
+
Files are grouped first by builder model and then, where applicable, by graph
|
| 107 |
+
condition. The top-level `manifest.json` provides the role, record count, source,
|
| 108 |
+
size, and checksum of every published payload file.
|
| 109 |
|
| 110 |
+
## Loading the data
|
| 111 |
|
| 112 |
+
Each JSONL file has one consistent schema and can be loaded separately with
|
| 113 |
+
🤗 Datasets. For example:
|
| 114 |
|
| 115 |
```python
|
| 116 |
from datasets import load_dataset
|
|
|
|
| 128 |
)
|
| 129 |
```
|
| 130 |
|
| 131 |
+
The different artifact families use different schemas. Question-level files can
|
| 132 |
+
be joined on `question_id`. Model, run, and condition fields preserve lineage
|
| 133 |
+
between extraction, graphs, retrieval, answers, and evaluation.
|
| 134 |
|
| 135 |
## Integrity
|
| 136 |
|
|
|
|
| 146 |
shasum -a 256 -c checksums.sha256
|
| 147 |
```
|
| 148 |
|
| 149 |
+
## Study design and provenance
|
| 150 |
|
| 151 |
+
The corpus is a fixed, question-type-balanced subset derived from MultiHop-RAG.
|
| 152 |
+
Extraction was performed once per builder, after which ER and RR reused the
|
| 153 |
+
saved extraction records. Retrieval and answering used the same questions and
|
| 154 |
+
fixed downstream models in all three conditions. The records and manifest
|
| 155 |
+
preserve model identities, hashes, schema versions, and run lineage.
|
| 156 |
|
| 157 |
+
Mutable LightRAG workspaces, vector stores, logs, caches, and model weights are
|
| 158 |
+
not included because they are execution infrastructure rather than the research
|
| 159 |
+
artifacts intended for analysis and reuse. See the experiment harness linked
|
| 160 |
+
above for the implementation and reproduction workflow.
|
| 161 |
|
| 162 |
## Limitations
|
| 163 |
|