Skip to content

Commit 8f9ba6d

Browse files
committed
Update model-release-checklist.md
1 parent 2f3649e commit 8f9ba6d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/hub/model-release-checklist.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ The Hugging Face Hub is the go-to platform for sharing machine learning models.
77
### Uploading weights
88

99
When uploading models to the hub, it's recommended to follow a set of best practices:
10+
### Uploading Weights
11+
12+
- **Use separate repositories for different model weights.** For example, you can store quantization variants for the same model in a single repository, but use separate repositories for different model weights.
13+
14+
- **Prefer [`safetensors`](https://huggingface.co/docs/safetensors/en/index) over `pickle` for weight serialization.** `safetensors` offers improved safety and performance compared to Python's `pickle`.
1015

11-
- push weights to separate model repositories. Example: prefer uploading individual quantizations/precisions in a standalone repo like [this](https://huggingface.co/jameslahm/yolov10n) over all types/versions in one like [this](https://huggingface.co/kadirnar/Yolov10/tree/main).
12-
- leverage [safetensors](https://huggingface.co/docs/safetensors/en/index) for weights serialization as opposed to pickle.
1316

1417
### Writing a Comprehensive Model Card
1518

0 commit comments

Comments
 (0)