/ Модель

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

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

Qwen2.5-1.5B-Siliquant-A16-BlockH4-QuadSnake-DownZeroCost-4.5bpw

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

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

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

Квантизированная модель Qwen2.5-1.5B для генерации текста и исследовательского инференса с уменьшенным размером весов.

Это квантизированная версия авторегрессионной языковой модели Qwen2.5-1.5B, подготовленная Moissanite Labs и Foundation-0. Она предназначена для генерации текста, чата и исследовательской оценки квантованных весов. Модель содержит 1,5 млрд параметров, использует архитектуру SiliQuantForCausalLM и поддерживает контекст до 131 072 токенов. Указанный рецепт SiliQuant сочетает кодирование A16 с кодом расширенного Хэмминга и Block-H4; целевая точность хранения весов — 4,5 бита на параметр. Веса доступны в формате safetensors, библиотека — Transformers.

В тестах WikiText-2 модель показала perplexity 12,804216 и согласие top-1 с BF16-версией 92,4902%; для CPython приведены perplexity 3,802756 и согласие top-1 94,7896%. В README описано офлайн-сворачивание перестановок входных строк down_proj без runtime gather, однако стандартная загрузка через Transformers деквантизирует слои в PyTorch и сама по себе не использует встроенные CUDA- или AVX-512 GEMV-ядра. Базовая модель — Qwen/Qwen2.5-1.5B. Лицензия Apache 2.0 унаследована от неё.

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

  • генерация ответов в чат-боте
  • локальный инференс языковой модели с ограниченными ресурсами
  • оценка качества квантизации на WikiText-2
  • эксперименты с квантованными весами Qwen2.5
  • изучение распределений токенов и perplexity модели

Ограничения

Стандартная загрузка через Transformers деквантизирует слои в PyTorch и не задействует приложенные нативные CUDA- или AVX-512 GEMV-ядра, поэтому компактное хранение не гарантирует ускорения инференса. В тестах top-1 согласие с BF16-версией составило 92,4902% на WikiText-2 и 94,7896% на CPython.

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Qwen2.5-1.5B SiliQuant A16 + Block-H4 (QuadSnake Down-ZeroCost, 4.5 bpw)

The all-time Qwen2.5-1.5B WikiText-2 KL champion in siliquant-hf-v1, packing Qwen/Qwen2.5-1.5B into A_16 Extended Hamming [16, 11, 4] + Block-H4 with offline down_proj folding (0.00% runtime gather overhead, perm_in=None on all 196 layers).

This release introduces the following key architectural and empirical highlights:

  • All-Time Qwen2.5-1.5B WikiText-2 KL Record (0.022783) – Beats Block-H2 (0.023281) by -2.14% (12.804216 vs 12.617995 BF16 PPL, 92.4902% top-1) while achieving 3.802756 CPython PPL (0.015399 KL, 94.7896% top-1).
  • Strictly 0.00% Runtime Gather Overhead – Folds down_proj input row permutations algebraically offline into gate_proj/up_proj output rows, yielding perm_in=None across all 196 quantized layers (k_bits=4).
  • Zero-Error SECDED Bit Packing – 81,887,232 A_16 blocks with 0 syndrome errors (5.1900 bpw, 1,317,189,257 B = 3.0829x quant / 2.3439x total compression).

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-1.5B (qwen2, tie_word_embeddings=True)
Format & Recipesiliquant-hf-v1 (b45_hA16_BlockH4_quad_snake_down_zerocost, group size g=128, target 4.5 bpw)
Quantized Linear Layers196 layers (1,310,195,712 weights; k_bits=4: 196 layers)
Rotation & PermutationBlock-H4 + offline-folded QuadSnake (perm_in=None on all 196 layers -> 0.00% runtime gather overhead; use_colscale=True)
Effective Quantized Bitwidth5.1900 bpw (3.0829x quantized / 2.3439x total vs BF16)
SECDED Verification0 syndrome errors across 81,887,232 A_16 blocks (max_abs_roundtrip_diff=0.0)
Checkpoint Footprint1,317,189,257 B (1.23 GiB, model.safetensors)
Calibration Protocol6,144 disjoint WikiText-2 validation tokens (12 x 512)
model.safetensors SHA-256df3388b93c92a47742e0faefba4ad2c2c652df554415a00f092458845a493850

Benchmark Results & Pareto Evaluations

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

Evaluation MetricBF16 ReferenceThis ReleaseComparison vs Prior Baselines
WikiText-2 Validation PPL12.61799512.8042160.022783 KL (-2.14% vs Block-H2 0.023281 — 1.5B record)
WikiText-2 Top-1 Agreement100.0%92.4902%0.00% runtime gather overhead (perm_in=None on all 196 layers)
CPython Held-Out PPL3.7395293.8027560.015399 KL (94.7896% top-1 agreement)
Packed Weight Rate16.0000 bpw5.1900 bpw3.0829x quant / 2.3439x total compression (1.23 GiB)

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 (8 GiB)Quantization sweep boundary (idle -> post)13.27 W -> 20.70 W (end idle boundary)Not recordedNot recordedNot recordedNot recorded (54 -> 61 °C, 0 throttles; NVML active inference telemetry absent)
Host CPU (multi-arm sweep total)Combined 7,091.2 s campaign envelope~24.49 W sweep meanNot applicableNot applicable48.24 Wh (full multi-arm campaign RAPL: 173,656.88 J)Campaign host RAPL only; per-model serving energy not recorded

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

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-1.5B-Siliquant-A16-BlockH4-QuadSnake-DownZeroCost-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-1.5B-Siliquant-A16-BlockH4-QuadSnake-DownZeroCost-4.5bpw --local-dir ./Qwen2.5-1.5B-Siliquant-A16-BlockH4-QuadSnake-DownZeroCost-4.5bpw
cd ./Qwen2.5-1.5B-Siliquant-A16-BlockH4-QuadSnake-DownZeroCost-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-1.5B 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. While runtime permutation gathers are completely eliminated (perm_in=None), standalone PyTorch execution still dequantizes packed blocks unless paired with a native fused GEMV dispatch.
  • 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 – Apache License 2.0 (inherited from Qwen/Qwen2.5-1.5B; upstream notice preserved in NOTICE_UPSTREAM_LICENSE.txt).

Citation

@misc{moissanitelabs2026qwen2515bsiliquanta16blockh4,
  title={Qwen2.5-1.5B SiliQuant A16 + Block-H4 (QuadSnake Down-ZeroCost, 4.5 bpw)},
  author={Moissanite Labs and Foundation-0},
  year={2026},
  howpublished={\url{https://huggingface.co/ahrazzle/Qwen2.5-1.5B-Siliquant-A16-BlockH4-QuadSnake-DownZeroCost-4.5bpw}}
}

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

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

GPU в ailist

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

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

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

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

0 моделей