From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:Safetensors" |
|---|
| claim | "Each tensor entry in the JSON header has dtype, shape and data_offsets [BEGIN, END] relative to the byte buffer after the header; '__metadata__' is an optional string-to-string map." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:Safetensors" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "safetensors header entry" |
|---|
| size_min | 1 |
|---|
| fields | | name | "dtype" |
|---|
| type | "string" |
|---|
| meaning | "F16, BF16, F32, I8 ..." |
|---|
|
| name | "shape" |
|---|
| type | "int array" |
|---|
|
| name | "data_offsets" |
|---|
| type | "[begin,end]" |
|---|
| meaning | "end is one past; relative to buffer start" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "documentation" |
|---|
| detail | "Format section" |
|---|
| repo | "https://github.com/huggingface/safetensors" |
|---|
| commit | "e246a2560645b7525f5775669ed816eb57c5bcc8" |
|---|
| path | "README.md" |
|---|
| lines | "74-92" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T18:14:11.430Z" |
|---|
| verifications | |
|---|