Research paper implementation for graph-based question answering
Top 65.3% on sourcepulse
G-Retriever is a question-answering framework designed for textual graph understanding and question answering on real-world graphs. It targets researchers and practitioners in areas like scene graph understanding, common sense reasoning, and knowledge graph reasoning, offering enhanced graph comprehension through a novel integration of GNNs, LLMs, and RAG.
How It Works
G-Retriever combines Graph Neural Networks (GNNs) for graph representation, Large Language Models (LLMs) for generation, and Retrieval-Augmented Generation (RAG) for context. This hybrid approach leverages soft prompting to fine-tune the LLM, enabling it to better understand and reason over graph structures, leading to improved accuracy in question answering tasks.
Quick Start & Requirements
peft
, pandas
, ogb
, transformers
, wandb
, sentencepiece
, datasets
, pcst_fast
, gensim
, scipy==1.12
, and protobuf
.expla_graphs
, scene_graphs
, and webqsp
datasets.run.sh
script is available for reproducing paper results.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The setup requires specific versions of PyTorch and CUDA, and access to Llama 2 models which necessitates a Hugging Face account and token. The README does not detail performance benchmarks beyond the paper's claims or provide extensive documentation beyond setup and training commands.
4 months ago
Inactive