Release standard
How we release
A model is released when everything on this page is done. Every release has the same parts, so that releases can be compared, checked and repeated.
The parts of a release
| Part | What it must contain |
|---|---|
| Weights | The full weights on Hugging Face, with a version number. Where the kind of model allows it, also a GGUF build for running on a laptop. |
| Dataset | The training, validation and test parts, with the source and licence of every row. A card says how the data was collected, cleaned and split. |
| Benchmarks | The scores, meeting the minimum bar below. A sample of right and wrong answers. |
| Training spec | The base model and its exact version, the dataset version, the method, every setting, the library versions, the seeds, the hardware, the GPU hours and the cost in dollars. |
| Training curves | The logged numbers of every reported run, as files. The model’s page plots them. |
| How to run it | A short example that works when copied, the prompt format and the hardware needed. |
| Limitations | Where the model fails, what it was not tested on, and what it should not be used for. |
| Findings | What worked, what did not, and the mistakes, written so that someone else could repeat the work. |
| Code | The training and scoring code, at the version that produced the release. |
Some models are released with their own pipeline, which a user downloads and runs on their own system. Those releases have one more part:
| Part | What it must contain |
|---|---|
| Pipeline | A package with a version number, tied to one version of the weights, that installs with one command. The benchmarks give the score of the whole pipeline as a user would run it, and of the model alone. |
The minimum bar for benchmarks
- A test set the model never saw. It was not trained on, and not used to make choices. It is scored once, at the end.
- At least one simple rule that uses no model, such as always giving the most common answer.
- At least one existing model, scored the same way.
- At least two seeds. The scores of each are shown. A gain that could be chance is called that.
- Scoring that anyone can run again, from one command.
Names and versions
- Names. A model called
namelives atModelTrainingProject/nameon Hugging Face and atModel-Training-Project/nameon GitHub. - Versions. Each release has a version number. The weights, the dataset and the code all carry it, so a release can always be rebuilt from matching parts.
- A published version is never changed. A fix is a new version, and the model’s page says what changed.
One file per model
Each model’s repository holds one release file that states the facts above. The model’s page on the website and its cards on Hugging Face are built from that file, so they cannot disagree.
Before publishing
- Every part above is present.
- The numbers on the page match the result files.
- The example in “How to run it” was run on a clean machine.
- The repository’s history and the dataset were checked for keys and passwords.
- The repository has a
LICENSEfile, and the cards state their licence, as the licence policy says.