Sub topic 9
Model Cards Alongside Datasheets and System Documentation
This chapter assumes you understand supervised learning, common evaluation metrics, basic Markdown, and version control. It focuses on how different documents describe different parts of a machine learning product.
A model card describes a particular trained model. It explains what the model does, how it was evaluated, where it should be used, and where it may fail. However, a model does not exist alone. Its behavior also depends on its training data, the application around it, and the people and processes that operate it.
Three documentation layers
A useful documentation set has three related layers:
| Document | Main subject | Typical questions |
|---|---|---|
| Datasheet | Dataset | Where did the data come from? Who may use it? What biases or gaps does it have? |
| Model card | Trained model | What does this model predict? How accurate is it? When should it not be used? |
| System documentation | Complete application | How does the model interact with users, software, reviewers, and other components? |
A datasheet is documentation for a dataset. It records the dataset's purpose, collection process, composition, labeling method, permitted uses, and known limitations. For example, a support-ticket datasheet might state that the tickets were collected from one region, written mostly in English, and labeled by customer-service staff.
A model card is narrower. It describes the model trained using that data. It should identify the model version, input and output format, intended users, evaluation setup, metrics, and limitations. It can refer to the datasheet instead of repeating every detail about the source data.
System documentation describes the larger product or workflow. A support-routing system might include a text classifier, a database, a user interface, a confidence threshold, and a human escalation process. The system document should explain how these parts work together.
Why the boundaries matter
The same fact can have different meanings at each layer. A dataset may contain only English text. The model card should say that the model was evaluated only on English text. The system documentation should explain what the application does when a user submits another language.
Similarly, a model may have 91% accuracy in a test set. The complete system may still be unsuitable for automatic routing if low-confidence predictions are not reviewed. System documentation must describe that operational decision.
Keeping the layers separate prevents two common errors:
- A model card claims that the model is safe because the underlying dataset was carefully collected.
- A system document hides model limitations by describing only the user interface and business workflow.
Each document should link to the others. Links create traceability without turning one document into an unmaintainable copy of all project information.
Building a connected documentation set
Start with ownership. The data team may maintain the datasheet, the model team may maintain the model card, and the product or operations team may maintain system documentation. Assigning owners prevents important sections from becoming nobody's responsibility.
Use stable identifiers and versions. A model card should name the exact dataset version used for training and evaluation. A system document should identify the model version that the application deploys. If the model changes, reviewers can determine which claims must be checked again.
Record decisions at the right level:
- Put collection and labeling decisions in the datasheet.
- Put model architecture, training configuration, and evaluation results in the model card.
- Put thresholds, fallback behavior, monitoring, human review, and user impact in system documentation.
A model card can link to a datasheet and system document like this:
## Related documentation
- Training dataset: [Support Tickets Datasheet v3.1](../data/support-tickets-v3.1.md)
- Production workflow: [Support Routing System v2.4](../systems/support-routing-v2.4.md)
- Source code: [Repository](https://example.com/support-routing)The links should point to versioned records where possible. A link to “latest dataset” is convenient, but it can make an old model card impossible to reproduce.
Reviewing the whole system
Reviewers should ask whether the three documents agree. Check that:
- The model's intended use fits the dataset's collection and labeling scope.
- Evaluation conditions resemble the conditions described for production.
- System safeguards address limitations listed in the model card.
- Privacy, licensing, and access restrictions appear wherever users need to act on them.
- Version references identify the exact artifacts used together.
This review catches risks that no single document can expose. A model card might report strong accuracy, while the system document reveals that users receive no explanation and cannot appeal an incorrect decision.
Exercise
A model card reports excellent accuracy, but its datasheet says the training data contains only daytime camera images. The production system processes images captured at night. Which documentation layer should identify the deployment mismatch, and which layer should record the data limitation?
Show answer
The system documentation should identify the deployment mismatch because it describes the production workflow and operating conditions. The datasheet should record the nighttime data gap, and the model card should summarize it as a model limitation.