GraphGen / README.md
github-actions[bot]
Auto-sync from demo at Thu Aug 28 09:57:48 UTC 2025
f1d3933
|
raw
history blame
1.16 kB
---
title: GraphGen Demo
emoji: ๐Ÿ“Š
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: "5.44.0"
python_version: "3.10"
app_file: app.py
suggested_hardware: cpu-basic
pinned: false
short_description: "Knowledge-driven synthetic data generation demo"
tags:
- synthetic-data
- knowledge-graph
- gradio-demo
---
# GraphGen Space ๐Ÿค–๐Ÿ“Š
This is the **official Hugging Face Space** for [GraphGen](https://github.com/open-sciencelab/GraphGen) โ€“ a framework that leverages knowledge graphs to generate high-quality synthetic questionโ€“answer pairs for supervised fine-tuning of LLMs.
๐Ÿ”— Paper: [arXiv 2505.20416](https://arxiv.org/abs/2505.20416)
๐Ÿ™ GitHub: [open-sciencelab/GraphGen](https://github.com/open-sciencelab/GraphGen)
---
## How to use (๐Ÿ–ฑ๏ธ 3 clicks)
1. Open the **Gradio app** above.
2. Upload or paste your source text โ†’ click **Generate KG**.
3. Download the generated QA pairs directly.
---
## Local quick start (optional)
```bash
git clone https://github.com/open-sciencelab/GraphGen
cd GraphGen
uv venv --python 3.10 && uv pip install -r requirements.txt
uv run webui/app.py # http://localhost:7860
```