/ Модель

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

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

Qwen3-4B-GGUF

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

Archsloth/Qwen3-4B-GGUF — это квантизированная GGUF-версия языковой модели Qwen3-4B, разработанная Archsloth на базе Qwen/Qwen3-4B.

295скачиваний за 30 дней36лайковвеса обновлены22 ноя 2026

Бенчмарки

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

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

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

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

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

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

Модель предназначена для генерации текста, диалоговых сценариев, программирования и локального запуска через llama.cpp, в том числе на CPU и устройствах с ограниченными ресурсами.

Доступны варианты квантизации Q4_K_M, Q6_K и Q8_0 с размером файлов примерно от 2,50 до 4,28 ГБ. Архитектура и структура тензоров соответствуют базовой модели Qwen3-4B, однако README не указывает точное число параметров, максимальный контекст и полный набор архитектурных характеристик. Заявлена поддержка корейского, английского, испанского, японского, китайского, русского, арабского, хинди и тайского языков, а также исходного кода. Для варианта Q4_K_M приведены измерения KL-дивергенции, показывающие более близкое соответствие исходной модели bf16 по сравнению с рядом альтернативных квантизаций аналогичного размера.

Основные преимущества — компактный размер, возможность локального CPU-запуска и улучшенные заявленные показатели сохранения качества после квантизации, особенно для корейского языка и программного кода. Ограничения связаны с потерями качества квантизации, потребностью в значительном объёме памяти при длинном контексте и отсутствием в README подробных данных о производительности, мультимодальности и максимальной длине контекста. Модель распространяется по лицензии Apache-2.0.

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

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

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

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

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

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

Открыть на Hugging Face

📚 Collection

▶ Archsloth MODELs — every build in the ARCHsloth Q4 grade Qwen3-4B · Qwen3.5-9B · Qwen3.8-27B

Qwen3-4B · ARCHsloth Q4 / Q6 / Q8

Same architecture. Same tensor layout. Same file size, to the byte. Only the rounding differs.

🦥 Try it live, no install → CPU chat — answering on a CPU-only box, no GPU.

License Runtime Floor Base Axes


Which file do I want?

FileSize4K ctx32K ctxPick it when
Qwen3-4B-AS-Q4_K_M.gguf ⭐2.50 GB3,620 MiB7,680 MiBDefault. The smallest file we ship.
Qwen3-4B-AS-Q6_K.gguf3.31 GB4,392 MiB8,452 MiBCloses the gap to bf16 a further 6×.
Qwen3-4B-AS-Q8_0.gguf4.28 GB5,322 MiB9,382 MiBReference. See what quantization cost you.

Those are measured process allocations (llama-server -ngl 99, single user), not file size plus arithmetic. At 128K context add roughly 18 GB to any row — the cache decides whether a long-context session fits, not the weights.


[measured] Q4_K_M — ten axes, 2,497,280,800 bytes on both sides

KL divergence from the bf16 original. Lower is better. llama-perplexity --kl-divergence, ctx 512, 60 chunks for Korean and English, 40 for the rest. Every ARCHsloth number below comes from one single build.

scriptARCHsloth Q4unslothQ4_K_MunslothUD-Q4_K_XLstockllama-quantizevs unslothsame size
file size2.4973 GB2.4973 GB2.5463 GB2.4973 GB—
KoreanHangul0.0242970.0532900.0466370.081506−54.4 %
EnglishLatin0.0323440.0484430.0436600.066203−33.2 %
SpanishLatin0.0336790.0482340.0430930.069169−30.2 %
JapaneseKana·Han0.0341480.0515340.0456660.075946−33.7 %
ChineseHan0.0330880.0480510.0425100.073735−31.1 %
RussianCyrillic0.0328520.0438310.0387920.065831−25.0 %
ArabicArabic0.0408710.0532120.0470220.067085−23.2 %
HindiDevanagari0.0316170.0399790.0356780.053405−20.9 %
ThaiThai0.0245610.0313010.0277820.045149−21.5 %
Source code—0.0101910.0216590.0182160.039165−52.9 %

Ten axes, seven writing systems, ahead on every one — against the same-size file and against the larger one. Lowest separation is 3.8 σ (Hindi); highest is 20.4 σ (Korean).

Three of these axes are in our calibration set: Korean, English, code. The other seven are not. They are the control, so that a build which buys one language with another has somewhere to show it.

[measured] The whole curve, not one point

Nine of those points are real files: six downloaded from unsloth/Qwen3-4B-GGUF, three built here. Nothing is interpolated. Their curve includes the UD-*-XL files, which are larger than the same-named standard file — and our curve is still below theirs. Read it vertically for "same size, closer to the original"; read it horizontally for "same quality, smaller file".

[measured] Q6_K and Q8_0

sizeKoreanEnglish
ARCHsloth Q6_K3.3063 GB0.0040770.004022
unsloth Q6_K3.3063 GB0.0069690.005765
−41.5 %−30.2 %
ARCHsloth Q8_04.2804 GB0.0016240.001371
unsloth Q8_04.2804 GB0.0018270.001502
−11.1 %−8.7 %

Same-top-p and RMS Δp move the same direction on every row. Full statistics: EVAL.md. Raw per-run logs: eval/logs/.


Quickstart

# any recent llama.cpp — brew / winget / apt, or LM Studio / Ollama / PocketPal
llama-cli -m Qwen3-4B-AS-Q4_K_M.gguf -p "안녕하세요" -ngl 0 -t 8

# OpenAI-compatible server
llama-server -m Qwen3-4B-AS-Q4_K_M.gguf --host 127.0.0.1 --port 8080 --jinja

No fork. No custom format. The layout is llama.cpp's own, which is the point.


What is actually different

--scheme GGUF:Q4_K_M     optimize the rounding for the quantizer that is used at export
--enable_alg_ext         sign-gradient rounding search (SignRoundV2, arXiv:2512.04746)
--dataset cal_archsloth.jsonl
--iters 200  --nsamples 128  --seqlen 2048

Nothing else. Bit widths, tensor types and the per-layer layout are llama.cpp's standard Q4_K_M / Q6_K / Q8_0 — 216 × Q4_K, 37 × Q6_K, 145 × F32, zero differences from the same-named stock file. Nothing below 4 bits anywhere.

That constraint is the point. A quant that wins because it spent more bits is not a better quant, it is a bigger one.

The calibration set — it ships in this repo

cal_archsloth.jsonl, 555 samples of exactly 9,000 characters each: Korean 44.9 %, English 35.3 %, source code 19.8 %, interleaved at the sample level.

Interleaving is what mattered, not the ratio: moving to strict alternation with the same character mix improved English by 11.4 %. Adding code moved the code axis by 52.9 % and cost 3.4 % of Korean and 5.3 % of English, which is why it is in. Details: CALIBRATION.md.


Reproduce this

# 1. the comparison file, straight from its own repository
huggingface-cli download unsloth/Qwen3-4B-GGUF Qwen3-4B-Q4_K_M.gguf --local-dir rival

# 2. the reference the distance is measured from
python llama.cpp/convert_hf_to_gguf.py Qwen/Qwen3-4B --outtype bf16 --outfile ref-BF16.gguf

# 3. teacher logits, once per evaluation text
llama-perplexity -m ref-BF16.gguf -f eval/eval_ko.txt \
  --kl-divergence-base base_ko.dat -ngl 99 -c 512 --chunks 60

# 4. every candidate against the same teacher, same text, same chunks
llama-perplexity -m <candidate>.gguf -f eval/eval_ko.txt \
  --kl-divergence --kl-divergence-base base_ko.dat -ngl 99 -c 512 --chunks 60

eval/ holds the ten evaluation texts and the per-run statistics. If a number here does not replicate on your hardware, open a discussion and we will correct it.


Lineage

ComponentOrigin
WeightsQwen/Qwen3-4B, unmodified — quantized from the original, not from anyone else's quantization
Layout, bit widths, tensor typesllama.cpp standard Q4_K_M / Q6_K / Q8_0, unchanged
Runtimeupstream llama.cpp, unmodified
Rounding searchIntel AutoRound with enable_alg_ext (SignRoundV2)
Calibration corpus, evaluation set, and the measurementours — all three ship in this repo

License

Apache-2.0, inherited from the base model. Comparison files are named so you can fetch the exact bytes we measured.

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

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

GPU в ailist

llama.cpp

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

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

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

0 моделей