qmetrics.net

GraphGen

Knowledge-graph-guided synthetic LLM training data

GraphGen screenshot

GraphGen builds knowledge graphs from source text and generates diverse QA and benchmark data for fine-tuning or evaluating language models.

Overview

GraphGen is a framework for synthetic dataset creation guided by knowledge graphs extracted from raw documents. It targets gaps in model knowledge by scoring calibration error, prioritizing long-tail facts, and sampling multi-hop neighborhoods before generating question-answer pairs.

Inputs can include files, databases, search backends, Wikipedia, and HuggingFace datasets, with text and image modalities supported depending on the pipeline. Output formats span atomic, aggregated, chain-of-thought, multi-hop, visual QA, multiple-choice, fill-in-the-blank, and true-false styles, configurable through YAML and shell entry scripts.

Inference can run against local servers such as Hugging Face, SGLang, or vLLM, or remote APIs including OpenAI, Azure, SiliconFlow, and Ollama. Optional rephrase pipelines create lexical variants for pretraining augmentation. Evaluation hooks cover graph accuracy, consistency, and structural robustness metrics.

You can install from PyPI or source, configure environment variables, run a Gradio demo, or execute generation through CLI scripts and Docker. Generated data is intended for downstream fine-tuning tools such as LLaMA-Factory and xtuner mentioned in the docs.

Key features

  • Knowledge graph from source text
  • Multiple QA output formats
  • VQA and benchmark synthesis
  • Flexible LLM backend adapters
  • Gradio demo interface
  • Dockerized runs

Use cases

  • SFT data for domain LLMs
  • Building education benchmarks
  • Filling scarce labeled corpora

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0