Downloads · 30 days
392
100% of all-time downloads
aday777/qwen3_5_tiny_fixture_f16
qwen3_5_tiny_fixture_f16 is a text generation model from aday777. Use it when you need the model to write or continue text. The card lists the license as mit.
A float16 (F16) re-emission of the qwen35tinyfixture random-init checkpoint, built with the Python standard library only (no torch / numpy / network / GPU). It exercises the dtype-reduction / quant pipeline on the rea…
Downloads · 30 days
392
100% of all-time downloads
All-time downloads
392
Public
Parameters
173K
350 KB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors350 KB · 97%
From the Hugging Face model README
A float16 (F16) re-emission of the qwen3_5_tiny_fixture random-init checkpoint,
built with the Python standard library only (no torch / numpy / network / GPU). It
exercises the dtype-reduction / quant pipeline on the real qwen3_5 schema so a
loader, quant planner, or CI job can confirm that a float32 -> float16 conversion
preserves every tensor name, shape, and count while exactly halving the data bytes.
Qwen/Qwen3.8-27B (model_type: qwen3_5), reduced to the same tiny
geometry as qwen3_5_tiny_fixture.qwen3_5 schema.model.safetensors (float32), unpack each tensor with struct,
re-pack every value with struct.pack('<e', v) (IEEE-754 half precision), and
re-emit a valid safetensors file (u64 header length, 8-byte-aligned JSON header,
then tensor data).build_quant_f16.py (repo root) — rerunnable and diffable.| Field | Base fixture (F32) | This file (F16) |
|---|---|---|
| tensors | 40 | 40 |
| data bytes | 690,944 | 345,472 |
| bytes ratio | 1.000 | 0.500 |
| dtype | F32 | F16 |
| tensor names / shapes | — | identical |
data_offsets, header padded to
8-byte alignment; __metadata__ records the generator string.f16_bytes * 2 == base_bytes (690,944 -> 345,472).checksums.txt records the SHA-256 of every F16 tensor blob.Not yet verified: loading under a specific transformers version (no
torch/transformers in the build environment), and whether the F16 file is accepted by
a qwen3_5 loader. Treat those as open until run against a real install.
Read the tensors with the standard library (no torch needed, matching how this was built):
import json, struct
with open("model.safetensors", "rb") as f:
n = struct.unpack("<Q", f.read(8))[0]
header = json.loads(f.read(n))
# header[name] = {"dtype": "F16", "shape": [...], "data_offsets": [lo, hi]}
Or with the safetensors package:
from safetensors.torch import load_file
tensors = load_file("model.safetensors") # {name: float16 tensor}
The generated fixture content (random weights, config, scripts) is released under MIT
(see LICENSE). The qwen3_5 architecture and config schema belong to the base model
Qwen/Qwen3.8-27B under its own terms, which were not independently re-verified
this cycle — check the base repository before redistribution.
Qwen Team, Qwen3.8-27B, 2026.
Buy me a beer:
BTC bc1q5ayht3fxhj0v95fk0z8l2f6900g3awdsw5842p