#105105th of 126 in Training and fine-tuning
graphgen
Knowledge-graph-guided synthetic QA data generator for fine-tuning LLMs
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts graphgen on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.graphgen is on your watch list. Its new releases and problems show there.
- Stars
- 1.2k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Sep 2025
- Language
- Python
993 on 7 May 20261,235 on 26 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
GraphGen builds a knowledge graph from source text, then uses expected calibration error to find knowledge gaps in a trainee model and generates QA pairs targeting those gaps. It samples multi-hop neighborhoods and supports atomic, aggregated, CoT, multi-hop, VQA, multiple-choice, multiple-answer, fill-in-blank and true/false output. The data is meant for fine-tuning with LLaMA-Factory or xtuner.
Who it is for: Engineers building SFT or RLVR datasets from domain text with LLMs
Strengths
- Nine output formats, including CoT, multi-hop, VQA and multiple-choice, each with an example script
- Backends for OpenAI-compatible APIs, Azure, Ollama, HF Transformers, SGLang and vLLM
- Inputs include CSV, JSON, PDF (via MinerU), HF Datasets, UniProt, NCBI and web search
- Ships a Gradio web UI, a PyPI CLI (graphg) and hosted demos on HF and ModelScope
Weaknesses
- Needs two models configured, a synthesizer and a trainee, each with its own URL and key
- Ollama backend cannot be used as trainee because it lacks logprobs
- Last release was 2025-09-30, while main has later commits
- Reported gains are the authors' own runs; CMMLU scored below the baseline
What it needs
- GPU optional
- Docker
- Needs uv, Python 3.10, Ray, Kuzu, RocksDB, MinerU (PDF input)
- Models: OpenAI API, Azure OpenAI, SiliconFlow, Ollama, HuggingFace Transformers
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Training and fine-tuning
See all 126| Rank | Project | Score |
|---|---|---|
| #103 | plexeAgentic AutoML that builds tabular ML models from a plain-language intent | 33 out of 100 |
| #104 | adaptersParameter-efficient fine-tuning add-on for HuggingFace Transformers models | 32 out of 100 |
| #106 | fairseq2PyTorch toolkit for training and fine-tuning sequence models such as LLMs and speech | 32 out of 100 |
| #107 | roboflow/maestroFine-tuning CLI and Python SDK for vision-language models | 30 out of 100 |
| #108 | ttt-video-ditFine-tuning code for CogVideoX-5B with TTT layers for 63-second videos | 30 out of 100 |