Join the HubClone community
and get access to the augmented documentation experience
- Collaborate on models, datasets and Spaces
- Faster examples with accelerated inference
- Switch between documentation themes
to get started
Model Cards
What are Model Cards?
A model card is the README.md file at the root of a model repository. It tells readers what the model does, how it was built, how to use it and what risks it carries. The Hub renders it as the landing page of the model.
A card has two parts: a YAML metadata header and a free-form Markdown body.
Model card metadata
The metadata header drives filters, widgets and badges on the Hub. Common keys:
| Key | Example | Effect |
|---|---|---|
license | apache-2.0 | License chip and filter |
language | [en, fr] | Language filter |
pipeline_tag | text-generation | Task filter and widget type |
library_name | transformers | Library filter and usage snippet |
datasets | [acme-ai/demo-corpus] | Links to training datasets |
base_model | acme-ai/Atlas-8B | Model tree (fine-tunes, quantizations) |
---
license: apache-2.0
language:
- en
pipeline_tag: text-generation
library_name: transformers
base_model: acme-ai/Atlas-8B
---
# Atlas-8B-Instruct
An instruction-tuned version of Atlas-8B.Writing the card body
Good cards answer a few questions in plain language:
- What is the model for, and what is it not for?
- Which data was it trained on, and how?
- How was it evaluated, and with which results?
- What biases, risks and limitations are known?
Evaluation results
Scores declared in the metadata appear in a results table on the model page and can feed leaderboards. Always mention the dataset split and metric you used.
Carbon footprint
If you measured the energy used during training, report it so readers can compare the environmental cost of models.
Invalid YAML in the metadata header is ignored by the Hub. Check the card preview after each edit.