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
| Section | What it describes |
|---|---|
| Intended use | what the model was built for and what it should not be used for |
| Data | what it was trained and tested on; often only in broad terms |
| Evaluation | tests and metrics; a good card reports them separately for different groups of data |
| Limitations | known weaknesses, biases and languages the model handles poorly |
| Usage | example code, request format, recommended generation parameters |
| Licence | what 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:
---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 pagesVerified 18 Nov