https://github.com/cmavro/GNN-RAG
GNN-RAG: Graph Neural Retrieval for Large Language Modeling Reasoning
https://github.com/cmavro/GNN-RAG
Last synced: 5 months ago
JSON representation
GNN-RAG: Graph Neural Retrieval for Large Language Modeling Reasoning
- Host: GitHub
- URL: https://github.com/cmavro/GNN-RAG
- Owner: cmavro
- Created: 2024-05-21T17:49:37.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-31T17:09:21.000Z (11 months ago)
- Last Synced: 2024-05-31T18:40:50.201Z (11 months ago)
- Language: Python
- Size: 17.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-RAG - GNN-RAG
README
This is the code for **GNN-RAG: Graph Neural Retrieval for Large Language Modeling Reasoning**.
The directory is the following:
|----`gnn` folder has the implementation of different KGQA GNNs.
You can train your own GNNs or you can skip this folder and use directly the GNN output (retrieved answer nodes) that we computed (`llm/results/gnn`).
|----`llm` folder has the implementation for RAG-based KGQA with LLMs.
Please see details on how to reproduce results there.
**Results**: We append all the results for Table 2: See `results/KGQA-GNN-RAG-RA` or `results/KGQA-GNN-RAG`. You can look at the actual LLM generations, as well as the KG information retrieved ("input" key) in predictions.jsonl.