Spaces:
Running
Running
Document live GraphRAG prototype
Browse files
README.md
CHANGED
|
@@ -2,4 +2,23 @@
|
|
| 2 |
title: FinRAG GraphRAG Demo
|
| 3 |
sdk: static
|
| 4 |
short_description: Explore GraphRAG evidence routes in annual reports
|
| 5 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
title: FinRAG GraphRAG Demo
|
| 3 |
sdk: static
|
| 4 |
short_description: Explore GraphRAG evidence routes in annual reports
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# FinRAG GraphRAG Demo
|
| 8 |
+
|
| 9 |
+
This Space replays saved per-question outputs from the controlled GraphRAG fusion study. It compares the retained E5 hybrid baseline with selected-graph expansion, graph-path retrieval, and their combination.
|
| 10 |
+
|
| 11 |
+
The public demo shows annotated evidence matches, candidate provenance, report pages, and links to source PDFs. It does not run new retrieval experiments: the displayed rankings are saved paper outputs.
|
| 12 |
+
|
| 13 |
+
## Live local prototype
|
| 14 |
+
|
| 15 |
+
The repository also includes a live version that accepts a new question and runs BM25, E5 retrieval, selected-graph expansion, graph-path retrieval, and cross-encoder reranking against the local research artifacts.
|
| 16 |
+
|
| 17 |
+
```bash
|
| 18 |
+
pip install -r requirements-live.txt
|
| 19 |
+
python live_server.py --port 8766
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
Open `http://127.0.0.1:8766/live` after the models and indexes finish loading.
|
| 23 |
+
|
| 24 |
+
The live prototype requires the full local corpus, graph indexes, cached E5 embeddings, and model dependencies. It is therefore separate from the lightweight static Hugging Face Space and will not execute on static hosting.
|