Raw capture β€” raw/data-engineering-for-large-models.md


url: https://github.com/datascale-ai/data_engineering_book/blob/main/README_en.md date_fetched: 2026-07-05 backfilled: true


Version note:The Chinese edition is the current 2026 Springer mainline, frozen at 14 parts, 48 chapters, 15 project case studies, and 8 appendices (A–H), with front matter and an afterword in the site edition. The English edition is being synchronized with a quality-first translation workflow; the documentation site includes an English edition status page.

"Data is the new oil, but only if you know how to refine it."

In the era of large models, data quality determines the upper bound of model performance. Yet systematic resources on LLM data engineering remain extremely scarce β€” most teams are still learning by trial and error.

This book is designed to fill that gap. We systematically cover the complete technical stack from pre-training data cleaning to multimodal alignment, from RAG retrieval augmentation to synthetic data generation, all the way through DataOps platform engineering and privacy-compliant data governance, including:

Beyond in-depth theoretical explanations, the Chinese mainline includes 15 end-to-end hands-on project case studies with runnable code where available, architecture designs, and engineering retrospectives for hands-on learning.

Read Online: https://datascale-ai.github.io/data_engineering_book/en/

A complete data engineering pipeline from raw data to end-to-end applications

πŸ“– 14 Parts, 48 Chapters + 15 Project Case Studies + 8 Appendices (A–H)
β”‚
β”œβ”€β”€ Part 1: Overview & Infrastructure (Ch01-Ch03)
β”œβ”€β”€ Part 2: Text Pre-training Data Engineering (Ch04-Ch07)
β”œβ”€β”€ Part 3: Multimodal Data Engineering (Ch08-Ch11)
β”œβ”€β”€ Part 4: Instruction Fine-tuning & Preference Data (Ch12-Ch14)
β”œβ”€β”€ Part 5: Synthetic Data Engineering (Ch15-Ch17)
β”œβ”€β”€ Part 6: Reasoning & Agent Data Engineering (Ch18-Ch20)
β”œβ”€β”€ Part 7: Application-Level Data Engineering (Ch21-Ch23)
β”œβ”€β”€ Part 8: DataOps & Platform Engineering (Ch24-Ch26)
β”œβ”€β”€ Part 9: Data Assets, Data Products & Data Contracts (Ch27-Ch30)
β”œβ”€β”€ Part 10: Agentic Data Engineering (Ch31-Ch35)
β”œβ”€β”€ Part 11: Privacy, Compliance & Data Security (Ch36-Ch37)
β”œβ”€β”€ Part 12: Specialized Datasets and Multimodal Data Engineering Practice (Ch38-Ch43)
β”œβ”€β”€ Part 13: Open-source Model Data Recipes (Ch44-Ch48)
└── Part 14: Project Case Studies (P01-P15)
Domain Technologies
Distributed Computing Ray Data, Spark, Dask
Data Storage Parquet, WebDataset, Vector Databases (Milvus/Qdrant)
Text Processing Trafilatura, KenLM, MinHash LSH, fastText Quality Scoring
Multimodal CLIP, ColPali, img2dataset
Data Versioning DVC, LakeFS, MLflow
Platform Observability Great Expectations, Evidently AI, Apache Airflow
Privacy & Security Federated Learning, Differential Privacy, Secure MPC
Project Core Technologies Output
Mini-C4 Pre-training Set Trafilatura + Ray + MinHash High-quality text corpus
Legal Expert SFT Self-Instruct + CoT Domain instruction dataset
LLaVA Multimodal Instruction Bbox alignment + multi-image interleaving Visual instruction dataset
Synthetic Math Textbook Evol-Instruct + sandbox verification PoT reasoning dataset
Financial Report RAG ColPali + Qwen-VL Multimodal QA system
CoT Reasoning + PRM Process Reward Modeling Reasoning process dataset
Agent Tool-Use Factory Tool-call chains + trajectory annotation Agent training dataset
DataOps Platform Airflow + DVC + quality monitoring Enterprise data ops system
Privacy Pipeline Federated Learning + Differential Privacy Compliant training pipeline
LLM Data Flywheel Online feedback + continuous iteration End-to-end closed-loop system
Mini-DeepSeek Reproduction Multi-source mixing + deduplication + tokenizer Open-source pre-training data recipe
R1 Reasoning Flywheel Multi-sampling + verifier + rejection sampling Reasoning data loop
Multimodal Instruction Factory VLM generation + judge filtering + multilingual expansion Multimodal SFT dataset
Video Generation Dataset Shot detection + motion filtering + multi-frame captioning T2V training data pipeline
DataAgent Semantic NL2SQL Assistant Semantic layer + Text-to-SQL + permission audit Enterprise query-agent case study
# Clone the repository
git clone https://github.com/datascale-ai/data_engineering_book.git
cd data_engineering_book
# Install dependencies
pip install mkdocs-material mkdocs-glightbox pymdown-extensions "mkdocs-static-i18n[material]"
# Local preview
mkdocs serve

Visit http://127.0.0.1:8000 to preview the book (with Chinese/English/Japanese language switcher).

mkdocs buildThe generated static files are located in the site/ directory.

data_engineering_book/
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ zh/                    # Chinese content
β”‚   β”‚   β”œβ”€β”€ index.md           # Chinese homepage
β”‚   β”‚   └── part1/ ~ part14/   # Chinese Springer mainline chapters
β”‚   β”œβ”€β”€ en/                    # English content
β”‚   β”œβ”€β”€ ja/                    # Japanese content
β”‚   β”œβ”€β”€ images/                # Image assets (shared)
β”‚   β”œβ”€β”€ stylesheets/           # Custom styles
β”‚   └── javascripts/           # JavaScript (MathJax etc.)
β”œβ”€β”€ .github/workflows/         # GitHub Actions CI/CD
β”œβ”€β”€ images/                    # Project image assets
β”œβ”€β”€ mkdocs.yml                 # MkDocs configuration
β”œβ”€β”€ LICENSE                    # License
β”œβ”€β”€ README.md                  # δΈ­ζ–‡θ―΄ζ˜Ž
β”œβ”€β”€ README_en.md               # English README (this file)
└── README_ja.md               # ζ—₯本θͺž README

Laboratory Information:

National Engineering Laboratory for Speech and Language Information Processing, University of Science and Technology of China;

Multimedia Computing and Intelligent Robotics Research Center, Department of Automation, University of Science and Technology of China;

Joint Research Center for Multi-Modal Intelligent Agents, Department of Automation, University of Science and Technology of China

Contributions are welcome! Feel free to submit Issues and Pull Requests.

This project is licensed under the MIT License - see the LICENSE file for details.

If you find this book helpful, please give it a Star! ⭐