InternScience/GraphGen

GraphGen: Enhancing Supervised Fine-Tuning for LLMs with Knowledge-Driven Synthetic Data Generation

63
/ 100
Established

Constructs fine-grained knowledge graphs from source documents, then uses expected calibration error metrics to identify knowledge gaps in LLMs and prioritize high-value QA generation with multi-hop neighborhood sampling and style-controlled diversity. Integrates with Ray for distributed pipeline execution, supports multiple LLM backends (vLLM, HuggingFace Transformers, SGLang, Ollama), and provides generated data compatible with LLaMA-Factory and xtuner for downstream fine-tuning workflows.

978 stars. Actively maintained with 9 commits in the last 30 days.

No Package No Dependents
Maintenance 20 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 17 / 25

How are scores calculated?

Stars

978

Forks

79

Language

Python

License

Apache-2.0

Last pushed

Mar 11, 2026

Commits (30d)

9

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/InternScience/GraphGen"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.