Skip to content
Novus Examples
safetensors365 B

Tiny Model Weights (safetensors)

A genuinely-valid safetensors file with two small float32 tensors (36 parameters total) — an 8×4 weight and a length-4 bias. The values are meaningless sample data, not a trained model; a fixture for testing safetensors loaders and weight inspectors.

Preview — schema + first 2 rowssafetensors
tensordtypeshapeparams
embedding.weightF32[8, 4]32
dense.biasF32[4]4
safetensors header — 2 tensors, 36 float32 parameters (sample-only).

Specifications

Tensors
2
Parameters
36
Dtype
float32
Format
safetensors
Note
sample-only, not a trained model

What is a .safetensors file?

safetensors is a simple, safe binary format for storing model weights. An 8-byte length precedes a JSON header that maps each tensor name to its dtype, shape, and byte offsets, followed by the raw tensor data — with no executable code, unlike Python pickles. It has become a common format for sharing model checkpoints.

How to use this file

Use an example safetensors file to test weight loaders and inspectors, header parsing, and conversion to or from other checkpoint formats. This sample holds meaningless values, not a trained model.

How to use this file for testing

“Tiny Model Weights (safetensors)” is a deterministic Novus Examples fixture for ML training data, Conversion testing. Labelled, synthetic datasets in the shapes ML pipelines expect — JSONL for text tasks, image annotations, embeddings, and sample weights — for testing data loaders, tokenizers, and training tooling.

Documented properties for this file: safetensors. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

AI/ML fixtures are fully synthetic with documented schemas — no real people or data. Test data loaders, tokenizers, annotation converters, embedding/vector stores, or eval-metric parsers against the known structure and fixed seeds.

These are labelled, training-shaped fixtures with a documented schema. Test your data loader, tokenizer, or format converter against it; every label and value is synthetic.

Generated by generation/ai_datasets.py. Free for any use, no attribution required — license.