/ Модель

Характеристики

Контекст
32 768 токенов
Параметры
3,1 млрд
Лицензия
Своя лицензия
Архитектура
siliquant · dense
Базовая модель
Qwen2.5-3B
Библиотека
transformers
Опубликована
25 ноя 2026

Qwen2.5-3B-Siliquant-A16-ProjTypeUniform-ZeroCal-4.5bpw

Генерация текстаТекст → текст3 профессии
655скачиваний за 30 дней0лайковвеса обновлены28 ноя 2026

Описание модели

Составлено на русском по карточке модели и метаданным Hugging Face

Квантованная до 4,5 бит версия Qwen2.5-3B для генерации текста и исследовательского инференса с экономией объёма весов.

Модель разработана Moissanite Labs / Foundation-0 как версия Qwen2.5-3B, упакованная с помощью SiliQuant. Это плотная авторегрессионная языковая модель с 3,1 млрд параметров для генерации текста и диалогов; заявленный контекст — 32 768 токенов. Репозиторий содержит веса safetensors с квантованием 4,5 бит на параметр: схема A16 применяется к down_proj, а Block-H4 — к остальным проекциям. Квантование выполнено без калибровочных текстов и проходов по активациям.

Модель предназначена для исследовательской оценки и квантованного инференса через Hugging Face Transformers, а также для проверки и распаковки весов. В карточке заявлены английский язык, чат и интерфейс вызова инструментов. Авторы сообщают о 93,6888% совпадении top-1 с исходной моделью в указанной проверке, но это не гарантирует такого же качества в других задачах.

При загрузке через Transformers слои деквантуются в PyTorch, а встроенные PTX/AVX-512 GEMV-ядра напрямую не используются. Из-за отсутствия калибровки отдельные слои с выбросами уступают калиброванным вариантам по KL на WikiText-2. Лицензия — унаследованная Qwen Research License.

Сценарии применения

  • генерация ответов в англоязычном чате
  • локальный инференс компактной языковой модели
  • экспериментальная оценка квантования LLM
  • инспекция и распаковка квантованных весов
  • создание текстовых ответов с интерфейсом вызова инструментов

Ограничения

При загрузке через Transformers веса деквантуются в PyTorch, поэтому встроенные PTX/AVX-512 ядра напрямую не задействуются. Отсутствие калибровки ухудшает показатели отдельных слоёв с выбросами относительно калиброванных вариантов на WikiText-2.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Qwen2.5-3B SiliQuant A16 Zero-Calibration Uniform Router (4.5 bpw)

A strictly zero-calibration (0 calibration text, 0 activation passes) bit-packed A_16 Extended Hamming [16, 11, 4] quantization of Qwen/Qwen2.5-3B using per-projection-type routing (down_proj unrotated axis-wise; q/k/v/o/gate/up rotated via Block-H4) with zero runtime permutation gathers.

This release introduces the following key architectural and empirical highlights:

  • Strictly Zero Data & Zero Permutation Gathers – Assigns A_16 axis-wise to down_proj (avoiding amplification of heavy MLP outliers through Hadamard mixing) and Block-H4 to all remaining q/k/v/o/gate/up projections without any calibration corpus (use_colscale=False).
  • Beats Axis-Only and E_8 + H_8 Without Calibration – Delivers -11.02% lower CPython KL than A_16 axis (0.034327 vs 0.038578) and -6.57% lower than E_8 + H_8 (0.036741), holding 93.6888% CPython top-1 match.
  • Ampere sm_86 PTX Microkernel NVML Benchmarked – Companion zero-spill PTX kernels (<= 40 regs, 0 B spill, 0 LDL/STL) reach 607.9–610.8 Gw/s (96.0–96.5% STREAM Triad) at 48.96–66.48 W NVML on 4096x11008 projections.

Models Overview

Every quantized weight vector $y \in A_{16} = 2\mathbb{Z}^{16} + C_{[16,11,4]}$ is algebraically encoded via Extended Hamming [16, 11, 4] systematic bits (qham11, 0.6875 bpw reconstructing the 5 parity coordinates {0, 1, 2, 4, 8}), minimum-byte packed quotients (qquot, k_bits in {2, 3, 4}), sparse CSR overflow tuples (qov_rowptr, qov_col, qov_val), and exact IEEE-754 integer bit patterns for block scales (scales_fp16_bits, colscale_fp32_bits) immune to BF16 mantissa truncation. Embeddings, lm_head, RMSNorm weights, and biases remain in untouched bfloat16.

PropertySpecification
Base Model & ArchitectureQwen/Qwen2.5-3B (qwen2, tie_word_embeddings=True)
Format & Recipesiliquant-hf-v1 (ProjType_Uniform, group size g=128, target 4.5 bpw)
Quantized Linear Layers252 layers (2,774,532,096 weights; Adaptive per-layer minimum-byte quotient packing)
Rotation & PermutationPer-projection-type routing: down_proj unrotated axis-wise; q/k/v/o/gate/up Block-H4 (0 permutations, use_colscale=False)
Effective Quantized Bitwidth5.1744 bpw (3.0922x quantized / 2.5529x total vs BF16)
SECDED Verification0 syndrome errors across 173,408,256 A_16 blocks (max_abs_roundtrip_diff=0.0)
Checkpoint Footprint2,417,556,599 B (2.25 GiB, model.safetensors)
Calibration ProtocolStrictly 0 calibration tokens / 0 activation passes (ProjType_Uniform)
model.safetensors SHA-2563ad112016d82b5aaa9202ee319b67567d33444c63e08beb5a253d927804884f8

Benchmark Results & Pareto Evaluations

All quantized perplexity and token-distribution divergence metrics below are measured directly against the untouched Qwen/Qwen2.5-3B BF16 reference under identical evaluation splits:

Evaluation MetricBF16 ReferenceThis ReleaseComparison vs Prior Baselines
CPython Held-Out PPL3.1119363.2171560.034327 KL (-11.02% vs A_16 axis, -6.57% vs E_8 + H_8)
CPython Top-1 Agreement100.0%93.6888%Zero calibration text (g=128, 5.1744 bpw)
WikiText-2 Validation PPL10.97019311.2686310.046336 KL (-0.75% vs A_16 axis, -3.35% vs uniform Block-H4)
WikiText-2 Top-1 Agreement100.0%89.3836%2.5529x total compression (2,417,556,599 B)

Energy Efficiency & Power Profile

Hardware TargetWorkload / Telemetry ScopeAvg Power (W)Energy / Token (J/tok)Efficiency (tok/J)Run Energy (Wh/run)Measurement Status
RTX 3080 Laptop GPU (sm_86)PTX down_proj 4096x11008 (a16_axis)48.96 W (NVML)0.00370 J/call (GPU)270.4 call/J (GPU)—Verified NVML microkernel telemetry (610.85 Gw/s, 96.48% Triad)
RTX 3080 Laptop GPU (sm_86)PTX down_proj 4096x11008 (block_h4)66.48 W (NVML)0.00503 J/call (GPU)198.8 call/J (GPU)—Verified NVML microkernel telemetry (607.90 Gw/s, 96.01% Triad)
RTX 3080 Laptop GPU (sm_86)Kernel-summed Qwen2.5-3B projection (a16_axis..block_h4)48.96–85.92 W0.228–0.309 J/tok GPU (0.399–0.467 GPU+CPU)3.23–4.39 tok/J GPU (2.14–2.50 GPU+CPU)Not recordedProjected from verified sm_86 NVML/RAPL kernels (219.1–220.2 tok/s, 56 -> 71 °C)
RTX 3080 Laptop GPU (8 GiB)Full E2E siliquant-hf-v1 PyTorch servingNot recordedNot recordedNot recordedNot recordedNot recorded (NVML active E2E PyTorch telemetry absent)

[!NOTE] Energy readings are not guaranteed to be consistent due to uncontrollable variables (thermal state, ambient temperature, fan curve, and dynamic power limits).

(Note: PTX kernel power/energy readings reflect the companion 4.5 bpw fixed-nibble Ampere sm_86 kernel suite on down_proj 4096x11008, gate_up 22016x2048 (81.66 W), and qkv 2560x2048 (85.92 W); end-to-end siliquant-hf-v1 PyTorch serving power was not separately recorded.)

Getting Started

Install dependencies:

pip install -U torch transformers safetensors accelerate

Run standard Hugging Face inference with transformers from_pretrained (zero custom CUDA/C++ compilation required):

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

MODEL_ID = "ahrazzle/Qwen2.5-3B-Siliquant-A16-ProjTypeUniform-ZeroCal-4.5bpw"
device = "cuda" if torch.cuda.is_available() else "cpu"

tokenizer = AutoTokenizer.from_pretrained(MODEL_ID)
model = AutoModelForCausalLM.from_pretrained(
    MODEL_ID,
    trust_remote_code=True,
    dtype="auto",
    # Optional (requires `accelerate`): device_map="auto",
).to(device)

inputs = tokenizer("The exact identity of the Hadamard matrix is", return_tensors="pt").to(device)
with torch.inference_mode():
    outputs = model.generate(**inputs, max_new_tokens=48, do_sample=False)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
hf download ahrazzle/Qwen2.5-3B-Siliquant-A16-ProjTypeUniform-ZeroCal-4.5bpw --local-dir ./Qwen2.5-3B-Siliquant-A16-ProjTypeUniform-ZeroCal-4.5bpw
cd ./Qwen2.5-3B-Siliquant-A16-ProjTypeUniform-ZeroCal-4.5bpw
python3 -B siliquant_dequant.py verify .
python3 -B siliquant_dequant.py unpack . --out unpacked_bf16.safetensors --dtype bfloat16
  • siliquant_dequant.py verify . checks every file SHA-256 listed in siliquant_verification_receipt.json (rejecting tampered, missing, unlisted, or symlinked files) and verifies [16, 11, 4] codec parity across 100% of A_16 blocks.
  • kernels/sm86_a16_blockh4.cu — standalone reference zero-spill Ampere sm_86 PTX fused 4-bit nibble-packed A_16 + Block-H4 dp4a.s32.s32 GEMV kernel.
  • kernels/avx512_a16_blockh4.c — standalone reference Intel AVX-512 (vpermb + vpopcntq + vpdpbusd) CPU A_16 + Block-H4 GEMV decoder.
  • Note: The shipped checkpoint uses lossless packed qham11 + qquot + CSR containers for bit-exact distribution; dense BF16 unpacking or nibble re-packing converts between archive and streaming kernel layouts.

Custom Infrastructure Stack & Source Repositories

Every open-source component used to design, quantize, compile, verify, and execute this release is publicly available below:

Stack LayerComponentRole in This ReleasePublic Repository
Lattice Quantization & ECCSiliQuant[16, 11, 4] Extended Hamming A_16 + Block-H4 quantization, QuadSnake/QuadLPT recipes, & lossless siliquant-hf-v1 packing/verificationMoissanite-Labs/siliquant
Bare-Metal Silicon KernelsSiliKernelsZero-spill Ampere sm_86 PTX CUDA (sm86_a16_blockh4.cu) & Intel AVX-512 VBMI/VNNI C11 (avx512_a16_blockh4.c) dequant/GEMV kernelsMoissanite-Labs/silikernels
Verified Zero-Spill CompilerHoloEmitFormally verified pure-Init Lean 4.36.0 compiler targeting zero-spill sm_86 PTX & AVX-512 C11 [16, 11, 4] SECDED decodersMoissanite-Labs/holoemit
Metrology & TelemetrySiliSensePure-stdlib silicon physics metrology, contention sentinel, & .sys hardware fault-canary telemetryMoissanite-Labs/silisense
Workbench OSML-OSResearch workbench OS providing deterministic run stamping, CPU/GPU lease discipline, & environment hygieneMoissanite-Labs/ml-os
Verification & Audit HarnessAletheia3-mode isolated -I parity, fail-closed receipt verification, mutation auditing, & secret/path leak scanningFoundation-0/aletheia
Five-Layer Stack BlueprintSiliconcordatOpen L1–L5 stack specification (loom · weft · warp · exo · mde)siliconcordat/.github

Usage, Scope & Honest Limitations

  • Intended Usage – Research evaluation and quantized inference of Qwen/Qwen2.5-3B via Hugging Face transformers from_pretrained, or dense weight inspection via siliquant_dequant.py.
  • Observed Limitations & Format Boundaries – Loading with transformers from_pretrained dequantizes layers in PyTorch rather than dispatching directly to the bundled fixed-4-bit PTX/AVX-512 reference GEMV kernels. Because zero calibration activations are used, extreme outlier layers trail calibrated QuadLPT/QuadSnake variants on WikiText-2 KL while avoiding dataset dependency.
  • Hardware & Telemetry Scope – Where full E2E serving NVML telemetry was not separately captured at quantization time, GPU power/energy fields explicitly report Not recorded (NVML active inference telemetry absent in run receipt) rather than extrapolating.
  • License Inheritance – Qwen Research License (inherited from Qwen/Qwen2.5-3B; upstream notice preserved in NOTICE_UPSTREAM_LICENSE.txt).

Citation

@misc{moissanitelabs2026qwen253bsiliquanta16projtype,
  title={Qwen2.5-3B SiliQuant A16 Zero-Calibration Uniform Router (4.5 bpw)},
  author={Moissanite Labs and Foundation-0},
  year={2026},
  howpublished={\url{https://huggingface.co/ahrazzle/Qwen2.5-3B-Siliquant-A16-ProjTypeUniform-ZeroCal-4.5bpw}}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Нельзя запустить

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
SiliquantForCausalLM
Ревизия весов
44d5410

0 моделей