CoolFace
Modelpublic

PollardWeights/Qwen2.5-7B-Instruct-Pollard

sourceHugging Faceapache-2.0updated 14d agoView on Hugging Face
0likes2.7kdownloads
Model Card

Qwen2.5-7B-Instruct — Pollard

### Pollard shrank this model: 15.20 GB (f16) → 2.04 GB — 87% smaller, 7.5× down. The smallest rung here; larger, higher-fidelity rungs are listed below. | format | this model's size | |---|---:| | f16 | 15.20 GB | | Q80 | ~8.06 GB | | Q6K | ~6.23 GB | | Q4KM | ~4.41 GB | | PollardMix (this repo's IQ1_KT) | 2.04 GB |

Pollard builds of Qwen/Qwen2.5-7B-Instruct made with Pollard Weights — a ladder of measured-allocation quants (bits placed by per-layer sensitivity, not a uniform crush).

Standard GGUF — runs in stock llama.cpp / ik_llama.cpp, Ollama, LM Studio, except where noted. IQ1_KT needs ik_llama.cpp: its allocation puts ik_llama-only atoms on the tensors it protects. The rest run anywhere.

Model details

Parameter count~7.6B
Architectureqwen2
Input supporttext
imatrixyes — see calibration
Perplexity measuredyes — table below

Which file should I choose?

Every rung is the same weights, sized to a different RAM budget by the measured allocation. Pick the largest one that fits your machine with room for context:

  • —~8 GB RAM / VRAM → `Q6_K` (6.25 GB). stock atoms — near-lossless
  • —~6 GB RAM / VRAM → `IQ4_XS` (4.46 GB). stock atoms — recommended default
  • —~6 GB RAM / VRAM → `IQ3_S` (3.81 GB). stock atoms
  • —~4 GB RAM / VRAM → `IQ1_KT` (2.04 GB). (ik_llama.cpp) trellis atoms — ik_llama.cpp only; the flagship mixed 1-bit build

Available files (WikiText-2 raw test, ctx 2048, 145 chunks)

f16 reference PPL 6.5250 ±0.0419.

filePPLsizetok/sMean KLDruns innotes
Qwen2.5-7B-Instruct-Pollard-IQ1_KT.gguf10.22512.04 GB101.80.537ik_llamatrellis atoms — ik_llama.cpp only; the flagship mixed 1-bit build
Qwen2.5-7B-Instruct-Pollard-IQ3_S.gguf6.98433.81 GB132.2—any llama.cppstock atoms
Qwen2.5-7B-Instruct-Pollard-IQ4_XS.gguf6.65344.46 GB102.7—any llama.cppstock atoms — recommended default
Qwen2.5-7B-Instruct-Pollard-Q6_K.gguf6.54636.25 GB97.70.0035any llama.cppstock atoms — near-lossless

tok/s measured on an RTX 5070 Ti (16 GB), full GPU offload, Windows/CUDA.

The numbers (WikiText-2 raw, ctx 2048, 145 chunks)

Perplexity with error bars, against the f16 reference. Sizes are the published byte counts:

buildPPLvs f16sizebpw
f16 reference6.5250 ±0.0419—15.23 GB16.00
Q6_K6.5463 ±0.0421+0.3%6.25 GB6.57
IQ4_XS6.6534 ±0.0431+2.0%4.46 GB4.68
IQ3_S6.9843+7.0%3.81 GB4.00
IQ1_KT10.2251 ±0.0699+56.7%2.04 GB2.14

Q6_K costs 0.3% perplexity at 41% of f16's size. IQ4_XS costs 2.0% at 29%.

What the stock rebuild cost

IQ4_XS and IQ3_S were rebuilt on stock ggml atoms. The files they replaced carried ikllama-only atoms (`IQ4K, IQ5K`) on every `attnv` while wearing stock type names, so they could not open in stock llama.cpp, Ollama or LM Studio — which is what the old card promised they would do. Both versions were measured on the same corpus:

rungik_llama atomsstock atomsPPL changesize change
IQ4_XS6.66 @ 4.22 GB6.6534 @ 4.46 GB-0.01+5.6%
IQ3_S6.96 @ 3.50 GB6.9843 @ 3.81 GB+0.02+8.8%

The trade is legible: perplexity is unchanged and the files are a few per cent larger. ikllama's `IQ4K/IQ5K` are genuinely more efficient atoms, and giving them up costs size rather than quality. In exchange these two rungs now load in every runtime their names imply. `IQ1KT` was left on trellis atoms because trellis has no stock equivalent at all — that is where ik_llama's advantage is structural rather than incidental.

Checked with pollard-ggufcheck, which reads ggml type IDs out of the header rather than trusting the filename.

Measured notes

The `IQ1_KT` flagship beats a uniform 1-bit IQ1_KT baseline (PPL 11.86, Mean KLD 0.689, top-1 65.1%) on every metric at the same size class — PPL −14%, Mean KLD −22%, top-1 +4.2 pts. The K-quant ladder is imatrix-guided; on a dense model that is where the bits-per-byte win lives (the measured-KL knapsack is reserved for MoE, and is not claimed here).

Mean KLD is carried for Q6_K and IQ1_KT, whose files are unchanged. It is not restated for the two rebuilt rungs: those numbers were measured against the files that have been replaced, and re-measuring them is outstanding rather than assumed.

Prompt format

ChatML, the Qwen2.5-Instruct template:

<|imstart|>system You are a helpful assistant.<|imend|> <|imstart|>user {prompt}<|imend|> <|im_start|>assistant


The template is embedded in the GGUF metadata, so llama.cpp, Ollama and LM Studio apply it for you.

Download a specific file

bash
pip install -U "huggingface_hub[cli]"
hf download PollardWeights/Qwen2.5-7B-Instruct-Pollard \
  --include "Qwen2.5-7B-Instruct-Pollard-IQ4_XS.gguf" --local-dir ./

How to run

These are standard GGUF and run with llama.cpp:

bash
llama-server -hf PollardWeights/Qwen2.5-7B-Instruct-Pollard:IQ4_XS

or from a local file:

bash
llama-cli    -m Qwen2.5-7B-Instruct-Pollard-IQ4_XS.gguf -ngl 99 -p "Explain why the sky is blue."
llama-server -m Qwen2.5-7B-Instruct-Pollard-IQ4_XS.gguf -ngl 99      # OpenAI-compatible API + web UI at :8080

They also work in anything built on llama.cpp — LM Studio, koboldcpp, Jan, ramalama, Ollama (ollama run hf.co/PollardWeights/Qwen2.5-7B-Instruct-Pollard).

imatrix (calibration)

The importance matrix (qwen7b_calib3.imatrix, included) was computed on Calib-3.0: 13.9 MB of mixed prose, code, reasoning and dialogue, 60 chunks at ctx 512.

ARM / AVX

llama.cpp repacks weights into an interleaved layout at load time for faster inference on ARM and AVX machines — no special file needed, online repacking covers these quants. The old Q4_0_4_4/4_8/8_8 variants are not required.

Errata

  • —IQ1_KT carries ikllama-only atoms and needs ikllama.cpp to run; stock llama.cpp rejects any ggml type above 42 outright. Checked with pollard-ggufcheck, from the files' tensor types rather than their names.
  • —Measured allocation places bits by per-layer sensitivity under a size budget.
  • —Single machine; replication invited.

Credits & license

Built with [Pollard Weights](https://github.com/WestWaters/pollard-weights) — frontier models, small hardware, no compromise.