# Model Cards, Datasheets and Governance

> Document what a model is for, how it was built and evaluated, and where it should not be used, so others can use it responsibly. Free notes, key concepts,...

Canonical: https://www.internhack.in/roadmaps/tracks/machine-learning/model-documentation
Last updated: 2026-11-28

Document what a model is for, how it was built and evaluated, and where it should not be used, so others can use it responsibly.

Intermediate · about 3 hours · difficulty 2/5

Learn first: [Fairness and Bias in ML](https://www.internhack.in/roadmaps/tracks/machine-learning/fairness), [Explainability with SHAP and LIME](https://www.internhack.in/roadmaps/tracks/machine-learning/explainability)

A model without documentation gets reused in ways its builders never intended. Short, structured documents prevent that and make reviews, audits and hand-overs far easier.

### Model cards

A model card answers:

- **Intended use** and explicitly **out-of-scope uses**.
- **Training data**: source, time range, known gaps.
- **Evaluation**: metrics overall and **sliced by relevant groups**, with the test data described.
- **Limitations, risks and ethical considerations**.
- Version, owners, license and contact.

Hugging Face renders model cards on every model page; writing one for each model you publish is good practice and a signal of maturity to employers.

### Datasheets for datasets

The dataset counterpart: why it was collected, how, by whom, what consent applies, how it was labelled, recommended uses and maintenance plans.

### Governance in organizations

- **Risk tiers**: a movie recommender and a loan approval model deserve different review depth.
- **Review checklists** before launch: fairness audit, privacy review, security review, monitoring plan.
- **Regulation**: the EU AI Act classifies systems by risk and imposes documentation, logging and human oversight duties on high-risk uses; other regions are following.
- **Human oversight and appeal paths** for people affected by automated decisions.

**Good enough to move on** when every model in your portfolio has a model card that a reader could use to decide whether it fits their use case.

## Key concepts

- **Model card sections**
- **Intended and out-of-scope uses**
- **Datasheets for datasets**
- **Risk tiers and review checklists**
- **EU AI Act basics**
- **Human oversight and appeals**

## Mini project

Write a full model card for your best portfolio model (including sliced metrics and out-of-scope uses) and a datasheet for its dataset, and publish both with the model on the Hugging Face Hub or in the repo.

## Check yourself

What belongs in the out-of-scope uses section of a model card, and why is it as important as the intended use?

## Free resources

- [Hugging Face: model cards](https://huggingface.co/docs/hub/model-cards) (Hugging Face)
- [Model Cards for Model Reporting (paper)](https://arxiv.org/abs/1810.03993) (arXiv)

Previous: [Privacy and Security in ML](https://www.internhack.in/roadmaps/tracks/machine-learning/privacy-and-security) · Next: [Kaggle and Competitive ML](https://www.internhack.in/roadmaps/tracks/machine-learning/kaggle-competitions)

## More in Responsible and Trustworthy ML

- [Explainability with SHAP and LIME](https://www.internhack.in/roadmaps/tracks/machine-learning/explainability)
- [Fairness and Bias in ML](https://www.internhack.in/roadmaps/tracks/machine-learning/fairness)
- [Privacy and Security in ML](https://www.internhack.in/roadmaps/tracks/machine-learning/privacy-and-security)
- [Model Cards, Datasheets and Governance](https://www.internhack.in/roadmaps/tracks/machine-learning/model-documentation)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Machine Learning Engineer Roadmap](https://www.internhack.in/roadmaps/tracks/machine-learning)
