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.
git checkout -b feature/AmazingFeature)git commit -m 'Add some AmazingFeature')git push origin feature/AmazingFeature)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! β