#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.

Stars
1.2k
License
Apache-2.0
Last commit
Nov 2026
Last release
Sep 2025
Language
Python
Stars, last 29 weeks+242
7 May 2026: 993 stars14 May 2026: 1,000 stars21 May 2026: 1,003 stars28 May 2026: 1,009 stars4 Jun 2026: 1,013 stars11 Jun 2026: 1,014 stars18 Jun 2026: 1,015 stars25 Jun 2026: 1,017 stars2 Jul 2026: 1,052 stars9 Jul 2026: 1,060 stars16 Jul 2026: 1,063 stars23 Jul 2026: 1,065 stars30 Jul 2026: 1,070 stars6 Aug 2026: 1,170 stars13 Aug 2026: 1,181 stars20 Aug 2026: 1,193 stars27 Aug 2026: 1,198 stars3 Sept 2026: 1,200 stars10 Sept 2026: 1,202 stars17 Sept 2026: 1,207 stars24 Sept 2026: 1,211 stars1 Oct 2026: 1,214 stars8 Oct 2026: 1,217 stars15 Oct 2026: 1,220 stars22 Oct 2026: 1,226 stars29 Oct 2026: 1,228 stars5 Nov 2026: 1,231 stars12 Nov 2026: 1,232 stars19 Nov 2026: 1,235 stars26 Nov 2026: 1,235 stars

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
Also in Training and fine-tuning
RankProjectScore
#103plexeAgentic AutoML that builds tabular ML models from a plain-language intent Live demo ↗ (opens in a new tab)2.7k starsApache-2.033 out of 100
#104adaptersParameter-efficient fine-tuning add-on for HuggingFace Transformers models2.8k starsApache-2.032 out of 100
#106fairseq2PyTorch toolkit for training and fine-tuning sequence models such as LLMs and speech1.2k starsMIT32 out of 100
#107roboflow/maestroFine-tuning CLI and Python SDK for vision-language models2.7k starsApache-2.030 out of 100
#108ttt-video-ditFine-tuning code for CogVideoX-5B with TTT layers for 63-second videos2.5k starsMIT30 out of 100