Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
D

DataFlow

> 后端框架
Open source

Easy Data Preparation with latest LLMs-based Operators and Pipelines.

7.2K stars0 likes2 views
WebsiteGitHub

About

Easy Data Preparation with latest LLMs-based Operators and Pipelines.

DataFlow

0. News

  • [2026-09-12] DataFlow has been accepted by ACM SIGMOD 2027! Our paper, DataFlow: An LLM-Driven Framework for Unified Data Preparation and Workflow Automation in the Era of Data-Centric AI, has been accepted by ACM SIGMOD 2027.

  • [2026-07-18] DataFlow-Harness Released! DataFlow-Harness lets coding agents build DataFlow pipelines for you. Download and installation entry points are available in DataFlow-WebUI, where you can use DataFlow through either the visual interface or MCP.

  • [2026-05-22] DataFlow-Skills is now available! A collection of skills and tutorials for working with DataFlow. DataFlow-Skills

  • [2026-02-02] ️ DataFlow WebUI is now available! Launch the visual pipeline builder with a single command: dataflow webui. Build and run DataFlow pipelines through an intuitive web interface. WebUI Docs

  • [2026-01-20] Awesome Works Using DataFlow is now live! A new section showcasing open-source projects and research built on DataFlow. Contributions are welcome! Awesome Works

  • [2025-12-19] Our DataFlow technical report is now available! Read and cite our work on arXiv: https://arxiv.org/abs/2512.16676

  • [2025-11-20] Introducing New Data Agents for DataFlow! Try them out and follow the tutorial on Bilibili: https://space.bilibili.com/3546929239689711/lists/6761342?type=season

  • [2025-06-28] DataFlow is officially released! Our data-centric AI system is now public. Stay tuned for future updates.

1. What is DataFlow?

DataFlow is a data preparation and training system designed to generate, refine, evaluate, and filter high-quality data for AI from noisy sources (PDF, plain-text, low-quality QA), thereby improving the performance of large language models (LLMs) in specific domains through targeted training (Pre-training, Supervised Fine-tuning, RL training) or RAG system, in domains such as healthcare, finance, legal, and academic research.

Through an operator-based design, DataFlow turns the entire data cleaning workflow into a reproducible, reusable, and shareable pipeline, providing core infrastructure for the Data-Centric AI community. Additionally, we develop an intelligent DataFlow-agent capable of dynamically assembling new pipelines by recombining existing or creating new operators on demand.

2. Key Features

✅2.1 Ready-to-Use Data Synthesis and Cleaning Pipelines

  • High-Quality Training Data Generation
    • Text, Math, and Code data generation (see DataFlow-Instruct-10K for results)
    • Data generation via tools like AgenticRAG and Text2SQL
  • Structured Data Extraction
    • Large-scale PDF → QA conversion
    • Large-scale book PDF → Visual-QA conversion
  • Scientific Data Workflow Management
    • Text2SQL workflow management (Accepted by ICDE 2026)
    • Math data workflows (Accepted by KDD 2026)

⚙️2.2 Flexible Custom Pipeline Orchestration

  • 10+ core operators define interaction patterns and design principles
  • 100+ pipeline-specific operators available for reuse or reference
  • Full support for creating custom operators — plug-and-play, easily packaged and distributed via GitHub or PyPI

2.3 Reproducible, Reusable, and Shareable Data-Centric AI System

  • Data governance algorithms are encapsulated as operator pipelines, enabling reproducibility and fair comparison of different data governance strategies (❤️research-friendly)
  • Easily reuse swap underlying large models to analyze the relationship between model performance and data quality quickly
  • Built on Python and Git ecosystems for easy distribution, management, and traceability of high-quality, user-defined data governance operators and pipelines (❤️enterprise-friendly)

️ 3. DataFlow Suite

The DataFlow Suite provides the essential infrastructure to automate and scale LLM data preparation with DataFlow main repository. It comprises four tightly integrated layers:

  • DataFlow-Skills – A collection of skills and tutorials for working with DataFlow, covering operator development, pipeline construction, and best practices for data-centric AI.

  • DataFlow-WebUI – A visual and AI Agent assisted workspace for building, managing, and running DataFlow pipelines. It combines drag-and-drop pipeline editing with natural-language interaction, enabling users to construct and execute data workflows more efficiently.

  • DataFlow-Ecosystem – A modular distribution layer that standardizes operator registration. It enables domain-specific modules (e.g., DataFlow-MM, DataFlow-AI4S) to contribute extensible libraries under a unified abstraction.

  • RayOrch – A high-performance orchestration layer built on Ray, providing distributed compute scheduling and resource management for massive-scale data tasks.

Together, these components form a unified, extensible environment that transforms raw data into model-ready intelligence.

✅ 4. Why use DataFlow?

Data generation and cleaning are crucial for high-quality models, but for both enterprises and individuals, these tasks are often time-consuming, labor-intensive, and costly. DataFlow provides a one-stop solution to tackle these challenges efficiently. DataFlow offers the following advantages:

  • Enhanced Support for Data Synthesis Modules – Seamlessly integrates text, code, and math data generation pipeline for high-quality training datasets.
  • PyTorch-like Programming Management – Clear Pipeline → Operator → Prompt hierarchical structure for workflow control.
  • Principled and Multi-Category Operator Classification – Operators are systematically organized into multiple functional categories such as generation, evaluation, filtering, and refinement, forming a scientifically grounded, multi-dimensional taxonomy that reflects different stages of data preparation and enables precise operator selection and composition.
  • User-Friendly Design for Easy Debugging and Onboarding – Simplified workflow patterns that reduce the learning curve and accelerate experimentation.

5. Awesome DataFlow

This section highlights open-source projects, research works, and applications built with DataFlow or deeply integrated with the DataFlow ecosystem.

Community Extensions

  • dataflow-speech-quality
    • Speech Quality · Data Cleaning · De-identification · Annotation
    • A DataFlow extension for filtering, cleaning, de-identifying, and annotating customer-service speech transcripts.
    • Maintainer: Jiapeng Mi · China Unicom Software Research Institute

Have a project built with DataFlow? We welcome community contributions via Pull Requests. See the DataFlow Ecosystem Guide for guidance on creating a DataFlow extension.

6. How do operators work?

DataFlow operators are designed with simplicity and clarity in mind.

Operators take structured inputs (JSON, JSONL, CSV) and produce high-quality outputs after intelligent processing. Each operator encapsulates a specific data processing task, providing a clean and consistent API that is easy to understand and integrate. The PyTorch-like design makes them intuitive and ready to use, allowing you to quickly build, combine, and customize pipelines without dealing with complex boilerplate code.

For more details, refer to the Operator Documentation. Below is a minimal example demonstrating how to invoke the PromptedGenerator operator:

Example input data (json/jsonl-style):

json
// input.json
[
  {"problem": "What is 17 + 25?"},
  {"problem": "If x = 3, compute 2x^2 + 1."}
]

Operator invocation code:

…

After running, the operator will append the generated results into output_key. For example, the output data (json/jsonl-style) becomes:

json
// dataflow_step1.json
[
    {"problem":"What is 17 + 25?","solution":"42"},
    {"problem":"If x = 3, compute 2x^2 + 1.","solution":"19"}
]

️ 7. Pipelines (Click to expand)

7.1 Ready-to-Use PipeLines

Current Pipelines in Dataflow are as follows:

  • Text Pipeline: Mine question-answer pairs from large-scale plain-text data (mostly crawed from InterNet) for use in SFT and RL training.

    • [HuggingFace demo input & output for Text Pipeline]
  • Reasoning Pipeline: Enhances existing question–answer pairs with (1) extended chain-of-thought, (2) category classification, and (3) difficulty estimation.

    • [HuggingFace demo input & output for Reasoning Pipeline]
  • ️ Text2SQL Pipeline: Translates natural language questions into SQL queries, supplemented with explanations, chain-of-thought reasoning, and contextual schema information.

    • [HuggingFace demo input & output for Text2SQL Pipeline]
  • Knowlege Base Cleaning Pipeline: Extract and structure knowledge from unorganized sources like tables, PDFs, and Word documents into usable entries for downstream RAG or QA pair generation.

  • Agentic RAG Pipeline: Identify and extract QA pairs from existing QA datasets or knowledge bases that require external knowledge to answer, for use in downstream training of Agnetic RAG tasks.

⚙️ 7.2 Flexible Operator PipeLines

In this framework, operators are categorized into Fundamental Operators, Generic Operators, Domain-Specific Operators, and Evaluation Operators, etc., supporting data processing and evaluation functionalities. Please refer to the documentation for details.

7.3 Agent Guided Pipelines

  • DataFlow Agent: An intelligent assistant that performs data analysis, writes custom operators, and automatically orchestrates them into pipelines based on specific task objectives.

    • [HuggingFace demo input & output for DataFlow Agent]

⚡ 8. Quick Start

️ 8.1 Environment Setup and Installation

DataFlow supports Python>=3.10 environments, tested passed on Windows, Linux, and MacOS with Python 3.10, 3.11, and 3.12.

Please use the following commands for environment setup and installation

We recommend use uv to install DataFlow for speed up.

bash
pip install uv
uv pip install open-dataflow

If you want to use your own GPU for local inference, please use:

bash
pip install uv
uv pip install "open-dataflow[vllm]"

After installation, you can use the following command to check if dataflow has been installed correctly:

bash
dataflow -v

If installed correctly, you should see:

log
open-dataflow cod

Issues· 10 open

View all issuesOpen on GitHub
  • #532

    dataflow-webui

    enhancementUpdated Sep 22, 2026
  • #511

    Your project is on StackMap — a curated map of the AI stack

    Updated Sep 6, 2026
  • #524

    function_call数据能否处理

    questionUpdated Aug 31, 2026
  • #407

    最小哈希去重的相关问题

    enhancementUpdated Aug 27, 2026
  • #504

    pipeline流式处理功能

    enhancementUpdated May 16, 2026
  • #446

    网页数据采集与转换,新增多种类型数据采集

    enhancementUpdated Jan 19, 2026
  • #414

    训练配置疑问

    questionUpdated Dec 23, 2025
  • #374

    分布式处理

    enhancementUpdated Nov 19, 2025
  • #341

    多进程,多线程支持

    enhancementUpdated Nov 14, 2025
  • #42

    About Multimodal

    enhancementUpdated Oct 15, 2025

> Tags

Pythondatadata-agentdata-cleaningdata-pipelines

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 22, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架