5,409,078 AI resources indexedWorking toward the world’s largest AI resource index.

Safetensors

A format and library for distributing tensor weights without loading Python pickle objects.

Published by Safetensors contributors

PDF
No ratings yet

How to use it

Use Safetensors when publishing or importing model weights in supported frameworks. The format stores tensor data and metadata, reducing the deserialization risk associated with loading arbitrary pickle objects.

Review accompanying model code, dependencies, and license terms separately. Use a verified source and pin the expected artifact digest when installing model weights in production.

Access
Open-source format and library
License
Apache-2.0
Official resource