Bookmarks

Model card

A short document accompanying a machine learning model: what it is intended for, what data it was trained on, how it was evaluated, and what its limitations and licence are.

Also: model README, model description

checked 18 Nov

All terms

A model card is the first thing to read before downloading the weights. It shows whether the model suits your task, what hardware it will run on and what the licence permits.

What a card contains

SectionWhat it describes
Intended usewhat the model was built for and what it should not be used for
Datawhat it was trained and tested on; often only in broad terms
Evaluationtests and metrics; a good card reports them separately for different groups of data
Limitationsknown weaknesses, biases and languages the model handles poorly
Usageexample code, request format, recommended generation parameters
Licencewhat you may do with the weights, including in commercial products

A card on Hugging Face

On Hugging Face, a model card is the README.md file in the model repository. It begins with a YAML metadata block, followed by ordinary Markdown text. The site’s filters work from the metadata, and so does the displayed licence:

yaml
---license: apache-2.0language:  - ru  - uzbase_model: base-model-name---

Before using a model, check the card against reality: an open-weights model may come with its own licence terms, and the described data and test results are written by the author. Model cards were proposed by Margaret Mitchell and co-authors in the paper “Model Cards for Model Reporting” (2019).

Sources

the term is written from these pages

Verified 18 Nov

Not to be confused with

what it is mixed up with and how it differs

  • open-weight model

    Open weights are a property of the model itself; a model card merely describes it and the licence terms.

In depth in the references

where the topic is covered in detail

Appears in the references