RENCHAO WU · LOCAL FILE TOOL
Tensor Header Desk0.1
Find broken tensor layouts before loading a model.
Inspect Safetensors names, shapes and byte ranges in your browser. Only the length prefix and JSON header are read. Tensor data stays unread.
Inspect a local file
No upload, account, model execution or browser storage. Up to 1 MiB of header and 10,000 tensors. Unknown types remain outside this tool’s profile.
Inspection result
They cannot establish correct weights, safe downstream code, model quality, licensing or authenticity. A payload bit flip can pass every check here. The report digest covers only the prefix and header.
Findings
Tensor inventory
Ranges are relative to the start of tensor data; end offsets are exclusive. Empty shape [] means a scalar, and a zero dimension stores no elements. Full descriptors and absolute offsets are included in the report.
| Name | Dtype | Shape | Elements | Range [start, end) | Declared / required bytes |
|---|
Header digest and metadata
Metadata can contain private strings. It is shown as plain text and included only when you explicitly download a report.
- SHA-256 · prefix + header only
What the examples show
The default file is an exact F64 serialization of my previously trained, synthetic CPU Character Router. Its 12,291 existing weights and biases were reloaded and checked exactly. This tool does not train or run that model.
The altered-data example changes one payload bit while keeping the header identical. Both files pass layout checks and share the same header digest. Use a trusted, independently obtained whole-file digest when you need to compare complete file bytes.
Duplicate decoded JSON keys are rejected by policy. Header and tensor limits are tool limits. Leading JSON whitespace is accepted with a warning, matching the current Rust reader. Read the method, reference differences and reproduction steps.
Demo provenance · 320-case test record · Implementation contract