Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

Machine Learning System Design

A practical collection of end-to-end ML system design documents, templates, and checklists — a companion to the book Machine Learning System Design (Manning).

License: MIT PRs Welcome Book

This repository provides structure and a variety of design documents you can use as references and starting points for your own work. It doesn't aim to replace the full teaching experience of the book — instead, it gives you concrete, worked examples of what good ML system design documents look like in practice.

Repository Structure

├── templates/                       # Templates and guidelines
│   ├── basic_ml_design_doc.md       # Template for ML design docs
│   └── design_doc_checklist.md      # Review checklist for design docs
├── Design_Doc_Examples/             # Example design documents
│   ├── Examples/                    # Real-world–inspired examples
│   │   └── EN/                      # English examples
│   └── Mock/                        # Educational mock examples
│       └── EN/                      # English mock examples
├── skills/                          # Agent skills (ml-system-design-review)
├── BookOutline.md                   # Book chapter summaries and key concepts
├── CONTRIBUTING.md                  # Contribution guidelines
├── LICENSE                          # MIT License
└── README.md                        # This file

Getting Started

  1. New to ML System Design?

  2. Writing your own design doc?

  3. Looking for examples?

New: Agent Skill For Design Review

This repository now ships ml-system-design-review — an agent skill that applies the book's framework to review ML/AI system designs: a verdict, a stage-aware gradecard, severity-ranked findings, and a prioritized fix plan for a design doc, a repo, or both.

npx skills add ML-SystemDesign/MLSystemDesign

See skills/README.md for details and usage.

Templates

We provide two main artifacts:

  1. basic_ml_design_doc.md — a section-by-section template for ML system design documents.
  2. design_doc_checklist.md — a review checklist to sanity-check a design doc before sign-off.

How the Template Maps to the Book

Each section of the design document template corresponds to one or more chapters of the book:

Template sectionBook chapter(s)
I. Problem Definition2 (Is there a problem?), 3 (Preliminary research), 4 (Design document)
II. Metrics and Losses5 (Loss functions and metrics)
III. Dataset6 (Gathering datasets)
IV. Validation Schema7 (Validation schemas)
V. Baseline Solution8 (Baseline solution)
VI. Error Analysis9 (Error analysis)
VII. Training Pipeline10 (Training pipelines)
VIII. Features11 (Features and feature engineering)
IX. Measuring and Reporting12 (Measuring and reporting results)
X. Integration13 (Integration)
XI. Monitoring14 (Monitoring and reliability)
XII. Serving and Inference15 (Serving and inference optimization)
(cross-cutting)16 (Ownership and maintenance)

Contributing

We welcome contributions! Please see CONTRIBUTING.md for detailed guidelines. Key areas for contribution:

  • New design document examples
  • Template improvements
  • Best-practices documentation
  • Reviews and feedback

License

This repository is licensed under the MIT License — see the LICENSE file for details.

Acknowledgments

关于 About

No description, website, or topics provided.

语言 Languages

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
42
Total Commits
峰值: 29次/周
Less
More

核心贡献者 Contributors