Downloads · 30 days
0
Senat1/dmx-qwen2.5-3b-instruct-delta
dmx-qwen2.5-3b-instruct-delta is a machine learning model from Senat1. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
This repository contains a DMX-encoded delta for Qwen2.5-3B-Instruct, enabling near-lossless reconstruction of the full model from a compatible base checkpoint.
Downloads · 30 days
0
Access
Public
Updated Apr 4, 2026
Repo size
7.3 GB
Likes
0
Public
Click a slice to open those files.
.dmxd7.3 GB · 100%
From the Hugging Face model README
This repository contains a DMX-encoded delta for Qwen2.5-3B-Instruct, enabling near-lossless reconstruction of the full model from a compatible base checkpoint.
DMX reduces storage requirements by 55-80% while preserving model quality (+0.03-0.16% perplexity), using structure-aware integer transformations rather than generic byte-level compression.
Unlike traditional compression, DMX operates at the model level — storing structured weight deltas that can be deterministically reconstructed. This enables efficient distribution and versioning of model variants without duplicating full checkpoints.
Key properties:
DMX extends delta compression into a system for managing model evolution, with support for efficient chaining and adaptive rebasing to maintain high compression efficiency across model families.
| File | Size | Precision | Savings vs Full Model |
|---|---|---|---|
instruct.dmxd | 2.88 GB | int16 (near-lossless) | 78.8% |
instruct-int32.dmxd | 4.39 GB | int32 (practically lossless) | 67.7% |
| Full model (reference) | 13.59 GB | — | — |
| Tier | Cosine Similarity | RelL2 Error | Max Tensor Error |
|---|---|---|---|
| int16 | 0.9999999680 | 3.5e-4 | 1.4e-3 |
| int32 | 1.0000000007 | 3.2e-9 | 2.98e-8 |
pip install dmx-compress transformers
python -c "
from transformers import AutoModelForCausalLM
from safetensors.torch import save_file
import torch
m = AutoModelForCausalLM.from_pretrained('Qwen/Qwen2.5-3B', torch_dtype=torch.float32)
save_file({k: v.clone() for k, v in m.state_dict().items()}, 'qwen2.5-3b-base.safetensors')
"
# Download the delta (2.9 GB instead of 13.6 GB)
huggingface-cli download Senat1/dmx-qwen2.5-3b-instruct-delta instruct.dmxd
# Reconstruct the full Instruct model
dmx delta-reconstruct qwen2.5-3b-base.safetensors instruct.dmxd qwen2.5-3b-instruct.safetensors
from safetensors.torch import load_file
weights = load_file("qwen2.5-3b-instruct.safetensors")
# Load into your framework of choice
This delta requires Qwen/Qwen2.5-3B as the base checkpoint. The delta is locked to this specific base — reconstruction will fail if a different base is used.
Qwen 2.5 3B is normally distributed as 2 shards on HuggingFace. This delta was created from a merged single-file export. Multi-shard delta support (automatic per-shard matching) is on the DMX roadmap.
DMX is a structure-aware neural network weight compression format. It achieves 67-87% delta compression by exploiting structural relationships between weight tensors, enabling efficient distribution of model variants as small diffs from a shared base.
Patent Pending. MIT License. (c) 2026 William J. Riley.