The safetensors file format is a header length, JSON header, and serialized tensor weights. [1]
[1] https://github.com/huggingface/safetensors