RManLuo/reasoning-on-graphs
Official Implementation of ICLR 2024 paper: "Reasoning on Graphs: Faithful and Interpretable Large Language Model Reasoning"
Implements a planning-retrieval-reasoning pipeline that grounds LLM reasoning in knowledge graphs by first generating relation paths as faithful plans, then retrieving corresponding subgraphs from Freebase for answer generation. Supports plug-and-play integration with multiple LLMs (GPT-3.5, Llama2, Alpaca, Flan-T5) via prompt-based inference, with automatic model weight and dataset downloads from Hugging Face. Includes interpretable reasoning capabilities that expose the intermediate reasoning paths used by the model for transparency.
497 stars. No commits in the last 6 months.
Stars
497
Forks
57
Language
Python
License
MIT
Category
Last pushed
Mar 05, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/RManLuo/reasoning-on-graphs"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related models
alibaba/GraphTranslator
GraphTranslator:Aligning Graph Model to Large Language Model for Open-ended Tasks
HKUDS/OpenGraph
[EMNLP'2024] "OpenGraph: Towards Open Graph Foundation Models"
HKUDS/GraphEdit
"GraphEdit: Large Language Models for Graph Structure Learning"
iMoonLab/LLM4Hypergraph
The source code of ICLR 2025 "Beyond Graphs: Can Large Language Models Comprehend Hypergraphs?"
UCSC-REAL/DS2
[ICLR 2025] Official implementation of paper "Improving Data Efficiency via Curating LLM-Driven...