Spaces:
Running
Running
| title: GraphGen Demo | |
| emoji: ๐ | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: "5.44.1" | |
| 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 | |
| ``` | |