/ Модель

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

Лицензия
Apache 2.0
Базовая модель
Qwen3.8-27B
Библиотека
llama.cpp
Опубликована
5 сен 2026

TernaryQuench-Qwen3.8-27B-GGUF

Генерация текстаТекст → текст15 профессий

TernaryQuench-Qwen3.8-27B-GGUF — это сжатая версия языковой модели Qwen3.8-27B, подготовленная penkia с использованием проекта TernaryQuench.

1 167скачиваний за 30 дней8лайковвеса обновлены7 сен 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

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

Базовая модель разработана командой Alibaba Qwen. Модель предназначена для локального текстового вывода и совместима с llama.cpp и Ollama; заявлена поддержка генерации текста, структурированного JSON и tool calling.

Модель содержит 27 млрд параметров. В большинстве матриц декодера применено ternary-кодирование с тремя значениями весов: −scale, 0 и +scale; первые 62 слоя хранятся в формате Q2_K, последние два слоя — в BF16, а embeddings и output head — в Q4_1. Файл занимает около 10,86 ГБ, при этом требуется дополнительная память для runtime и context cache; в примере запуска указан контекст до 32 768 токенов. Сжатие снижает качество относительно исходной BF16-модели: средняя точность в пяти zero-shot задачах составила 72,28% против 74,35% у Qwen3.8-27B BF16, а perplexity на WikiText-2 — 12,8569 против 7,7471 у 4-битной версии. Модель рассчитана на эффективный локальный инференс, но приведённые проверки не подтверждают надёжность сложных многошаговых агентских сценариев. Лицензия — Apache-2.0.

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

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

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

Также подходит для

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

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

Открыть на Hugging Face

TernaryQuench Qwen3.8-27B — GGUF

TernaryQuench gives you the complete recipe for building your own ternary language models, from generating calibration data to exporting the file you run.

This release compresses Qwen3.8-27B for local inference. The calibration tools, resumable trainer, exporters, and evaluation code are open source, so you can inspect the model's recipe and build your own.

Get started

With Ollama:

ollama run hf.co/penkia/TernaryQuench-Qwen3.8-27B-GGUF:Q2_K

Or with llama.cpp:

llama-cli -hf penkia/TernaryQuench-Qwen3.8-27B-GGUF:Q2_K -cnv -c 32768

The download is 10.86 GB. Allow additional memory for the context cache and runtime. Tested with Ollama 0.33.3.

For native MLX inference on Apple silicon, see the MLX release.

Evaluation

Language-model quality

WikiText-2 test-sample results:

ModelPerplexity ↓Second-half perplexity ↓
Qwen3.8-27B 4-bit7.74716.2370
TernaryQuench 27B12.856910.0972
Ternary-Bonsai-27B13.247510.1704

Protocol: the first 20,480 tokens of WikiText-2 test, split into 40 independent 512-token chunks. “Second half” scores the last 256 tokens of each chunk. TernaryQuench was measured directly from the Q2_K release file in llama.cpp; the reference rows used MLX. Raw Q2_K results include the file hash and per-chunk scores. Bonsai uses Qwen3.6 as its base.

Five-task zero-shot evaluation

Results measured directly from this Q2_K release file with the LM Evaluation Harness on the full task sets.

ModelMean accuracy ↑PIQAARC-EasyARC-ChallengeHellaSwagWinoGrande
Qwen3.8-27B BF1674.3581.6172.9858.8782.9375.37
TernaryQuench 27B72.2878.7878.9655.2973.9674.43
Ternary-Bonsai-27B71.9179.2776.2255.6375.9872.45

Scores are percentages. The mean weights the five tasks equally, using length-normalized accuracy where available and standard accuracy for WinoGrande. Protocol: lm-eval 0.4.7, zero-shot, no chat template, full task sets. TernaryQuench uses llama.cpp CUDA with FP32 accumulation; reference rows use native PyTorch. Q2_K results and runtime provenance · Reference scores.

Runtime checks

The Q2_K file passed direct generation, JSON output without a grammar, and a complete tool-call round trip in Ollama 0.33.3 and llama.cpp. Its answers matched the original Q2_0 export on those short tests.

These checks verify installation and basic tool use. They do not establish reliability on complex, multi-turn agentic work.

Model

Ternary weights use three values per group: −scale, 0, +scale. This release retains higher precision in the final two decoder layers, embeddings, and output head:

ComponentStorage
Decoder layers 0–61481 trained ternary matrices, packed as Q2_K
Decoder layers 62–6315 BF16 matrices
Embeddings and output headQ4_1
InputText

Q2_K stores the ternary weights in a format supported by standard Ollama and llama.cpp. Packing preserves every sign and zero but rounds group scales, introducing 1.55% relative RMS weight error across the converted matrices. All other tensors are unchanged. The conversion manifest records the error, tensor layout, file size, and SHA-256.

How it was trained

Starting from Qwen3.8-27B, we trained ternary weights with CAT-Q-style reconstruction and an AYOT-inspired calibration set: 512 sequences of 2,048 tokens, with 10% of rows drawn from agentic traces. The run took 55 hours 38 minutes on 1× NVIDIA H200 (141 GB).

The TernaryQuench build guide contains the recipe and commands for generating calibration traces, training, resuming a run, and exporting your own models.

License

Apache-2.0. This model is derived from Qwen3.8-27B, developed by Alibaba's Qwen team, under its Apache-2.0 license.

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

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

GPU в ailist

llama.cpp

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

GGUF-модель ждёт проверки: нужно выбрать файл кванта под доступные GPU.

Ревизия весов
d7ebbe9

0 моделей