Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/hub/model-release-checklist.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ The Hugging Face Hub is the go-to platform for sharing machine learning models.

## ⏳ Preparing Your Model for Release

### Uploading models

When uploading models to the hub, it's recommended to follow a set best practices:

- push weights to separate model repositories. Example: prefer [this](https://huggingface.co/jameslahm/yolov10n) over [this](https://huggingface.co/kadirnar/Yolov10/tree/main).
- adopt the [Mixin class](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) when pushing custom PyTorch models.
- leverage [safetensors](https://huggingface.co/docs/safetensors/en/index) for weights serialization as opposed to pickle.

We wrote an extensive guide on uploading best practices [here](models-uploading).

### Writing a Comprehensive Model Card

A well-crafted model card (the `README.md` file in your repository) is essential for discoverability, reproducibility, and effective sharing. Your model card should include:
Expand Down