matchachoco/Qwen3.5-4B-QuantStudy-GGUF
Qwen3.5-4B-QuantStudy-GGUF
[수식과 표로 읽는 실험 보고서 / Read the report](https://parksieon.github.io/qwen35-4b-quantization-study/) · Code and evaluation evidence
Qwen3.5-4B 전체 모델 양자화 비교에서 실제로 저장·재로딩·평가한 결과물입니다. These are the exact packed artifacts evaluated in the 2026-09-22 quantization study, not newly retuned checkpoints.
Scope and format
- Base: Qwen/Qwen3.5-4B, revision
851bf6e806efd8d0a36b00ddf55e13ccb7b8cd0a. - Common targets: 200 text Linear matrices, 3,565,158,400 original weights (96 FFN, 32 full-attention, 72 gated-delta projections).
- Embedding/tied output head, norms, biases, convolution/state tensors and the 48 small gated-delta
in_proj_a/bmatrices retain high precision. AWQ can rescale preserved tensors while retaining high precision. - 모든 가중치가 4비트인 모델이 아닙니다. This custom preservation policy differs from common default community recipes bearing similar names.
Text-only GGUF; no vision projector is distributed. Tested with llama.cpp b10690 (bdf3955159d7184f44b76091973eeff532890a35).
Files and recipe
Q4K uses 32 weights per subblock and 256 per superblock. IQ4XS uses its own nonuniform encoding. K0 still uses llama.cpp fitting; it is not the RTN candidate.
Measured quality
같은 엔진의 BF16 기준과 비교합니다. NLL은 정답 토큰에 부여한 확률의 음의 로그 평균으로, 낮을수록 좋으며 정답률과는 다릅니다.
- Calibration: 128 windows × 1,024 tokens (64 Korean / 32 English / 32 code source documents); validation 32 and final 128 documents are disjoint by exact document SHA.
- Final NLL: 130,944 scored tokens. KMMLU: fixed stratified 500-item subset, not the official whole benchmark. ARC-C: fixed 500 items, character-length-normalized choice scores. IFEval: 541 prompts, prompt strict, greedy, thinking off, maximum 2,048 output tokens.
- Final data did not select recipe settings. Failures were not removed from denominators. Semantic duplication and pretraining exposure are not ruled out.
- One calibration seed/configuration; not a claim that the algorithms were exhaustively optimized. See paired confidence intervals and failure cases before interpreting small differences.
Download and run
hf download matchachoco/Qwen3.5-4B-QuantStudy-GGUF --local-dir ./Qwen3.5-4B-QuantStudy-GGUFFor an exact immutable version, add --revision <full commit SHA> shown in the repository history. File hashes are in SHA256SUMS and ARTIFACT-MANIFEST.json.
Example with the evaluated llama.cpp release:
llama-cli -m ./Qwen3.5-4B-QuantStudy-GGUF/Qwen3.5-4B-KM-Q4_K_M.gguf -ngl 99 -c 8192 -cnvChoose another listed GGUF filename to compare another candidate. This is a convenience chat example; the study uses the fixed prompts in the report. Long-context and vision quality were not evaluated.
Reproducibility and attribution
See fixed environment, data and target policy, quantization-study.json, and the full report. Weight bytes and saved quantization configs are preserved from the completed experiment. Publishing adds documentation and checksums; it does not change model weights.
Base model by the Qwen team. Derived weights are distributed with the upstream Apache-2.0 LICENSE; see NOTICE for modifications. This is a learning/portfolio experiment, not an official Qwen release or a newly proposed quantization algorithm. Coding, execution automation, evaluation aggregation and documentation used Codex assistance.
