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.

Preparing local example…

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