alt.freeweights.qwen / Qwen_Qwen3-4B-GGUF
From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.qwenSubject:

Qwen_Qwen3-4B-GGUF

Date: 2026-11-15Commit: cb76885Signed: 2DC28CC7B26A283B ✓

Text generation model. Gguf weights, 63.8 GB in all. Published by bartowski under Apache-2.0.

qwen63.8GBQwen_Qwen3-4B-GGUFggufpermissive
FactsParamsnot statedSize63.8 GBFormatsggufTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get bartowski/Qwen_Qwen3-4B-GGUF
# manifest sha256 613769a0463a… · 63.8 GB · 27 files
$ fw verify ./Qwen_Qwen3-4B-GGUF bartowski/Qwen_Qwen3-4B-GGUF
From sourceHosted (signed)bartowski/Qwen_Qwen3-4B-GGUFLast check: 2026-11-15 04:41 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Qwen3-4B.

Works with

Convert with

Overview

Size
63.8 GB
Weights
1.51 GB (smallest of 24 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
Apache-2.0 (permissive)
Files
27, each with a sha256
Publisher
bartowski
Added
2026-11-15
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen3-4B

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:41 UTCpassed

Model card

From the publisher at commit cb76885. Shown as plain text with links; images open at the publisher.

Llamacpp imatrix Quantizations of Qwen3-4B by Qwen#

Using llama.cpp release b5200 for quantization.

Original model: https://huggingface.co/Qwen/Qwen3-4B

All quants made using imatrix option with dataset from here

Run them in LM Studio

Run them directly with llama.cpp, or any other llama.cpp based project

Prompt format#

<|im_start|>system
{system_prompt}<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant

Download a file (not the whole branch) from below:#

FilenameQuant typeFile SizeSplitDescription
Qwen3-4B-bf16.ggufbf168.05GBfalseFull BF16 weights.
Qwen3-4B-Q8_0.ggufQ8_04.28GBfalseExtremely high quality, generally unneeded but max available quant.
Qwen3-4B-Q6_K_L.ggufQ6_K_L3.40GBfalseUses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
Qwen3-4B-Q6_K.ggufQ6_K3.31GBfalseVery high quality, near perfect, recommended.
Qwen3-4B-Q5_K_L.ggufQ5_K_L2.98GBfalseUses Q8_0 for embed and output weights. High quality, recommended.
Qwen3-4B-Q5_K_M.ggufQ5_K_M2.89GBfalseHigh quality, recommended.
Qwen3-4B-Q5_K_S.ggufQ5_K_S2.82GBfalseHigh quality, recommended.
Qwen3-4B-Q4_1.ggufQ4_12.60GBfalseLegacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon.
Qwen3-4B-Q4_K_L.ggufQ4_K_L2.59GBfalseUses Q8_0 for embed and output weights. Good quality, recommended.
Qwen3-4B-Q4_K_M.ggufQ4_K_M2.50GBfalseGood quality, default size for most use cases, recommended.
Qwen3-4B-Q4_K_S.ggufQ4_K_S2.38GBfalseSlightly lower quality with more space savings, recommended.
Qwen3-4B-Q4_0.ggufQ4_02.38GBfalseLegacy format, offers online repacking for ARM and AVX CPU inference.
Qwen3-4B-IQ4_NL.ggufIQ4_NL2.38GBfalseSimilar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference.
Qwen3-4B-Q3_K_XL.ggufQ3_K_XL2.33GBfalseUses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
Qwen3-4B-IQ4_XS.ggufIQ4_XS2.27GBfalseDecent quality, smaller than Q4_K_S with similar performance, recommended.
Qwen3-4B-Q3_K_L.ggufQ3_K_L2.24GBfalseLower quality but usable, good for low RAM availability.
Qwen3-4B-Q3_K_M.ggufQ3_K_M2.08GBfalseLow quality.
Qwen3-4B-IQ3_M.ggufIQ3_M1.96GBfalseMedium-low quality, new method with decent performance comparable to Q3_K_M.
Qwen3-4B-Q3_K_S.ggufQ3_K_S1.89GBfalseLow quality, not recommended.
Qwen3-4B-IQ3_XS.ggufIQ3_XS1.81GBfalseLower quality, new method with decent performance, slightly better than Q3_K_S.
Qwen3-4B-Q2_K_L.ggufQ2_K_L1.76GBfalseUses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
Qwen3-4B-IQ3_XXS.ggufIQ3_XXS1.67GBfalseLower quality, new method with decent performance, comparable to Q3 quants.
Qwen3-4B-Q2_K.ggufQ2_K1.67GBfalseVery low quality but surprisingly usable.
Qwen3-4B-IQ2_M.ggufIQ2_M1.51GBfalseRelatively low quality, uses SOTA techniques to be surprisingly usable.

Embed/output weights#

Some of these quants (Q3_K_XL, Q4_K_L etc) are the standard quantization method with the embeddings and output weights quantized to Q8_0 instead of what they would normally default to.

Downloading using huggingface-cli#

Click to view download instructions

First, make sure you have hugginface-cli installed:

pip install -U "huggingface_hub[cli]"

Then, you can target the specific file you want:

huggingface-cli download bartowski/Qwen_Qwen3-4B-GGUF --include "Qwen_Qwen3-4B-Q4_K_M.gguf" --local-dir ./

If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:

huggingface-cli download bartowski/Qwen_Qwen3-4B-GGUF --include "Qwen_Qwen3-4B-Q8_0/*" --local-dir ./

You can either specify a new local-dir (Qwen_Qwen3-4B-Q8_0) or download them all in place (./)

ARM/AVX information#

Previously, you would download Q4_0_4_4/4_8/8_8, and these would have their weights interleaved in memory in order to improve performance on ARM and AVX machines by loading up more data in one pass.

Now, however, there is something called "online repacking" for weights. details in this PR. If you use Q4_0 and your hardware would benefit from repacking weights, it will do it automatically on the fly.

As of llama.cpp build b4282 you will not be able to run the Q4_0_X_X files and will instead need to use Q4_0.

Additionally, if you want to get slightly better quality for , you can use IQ4_NL thanks to this PR which will also repack the weights for ARM, though only the 4_4 for now. The loading time may be slower but it will result in an overall speed incrase.

Click to view Q4_0_X_X information (deprecated

I'm keeping this section to show the potential theoretical uplift in performance from using the Q4_0 with online repacking.

Click to view benchmarks on an AVX2 system (EPYC7702)

modelsizeparamsbackendthreadstestt/s% (vs Q4_0)
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp512204.03 ± 1.03100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp1024282.92 ± 0.19100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp2048259.49 ± 0.44100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg12839.12 ± 0.27100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg25639.31 ± 0.69100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg51240.52 ± 0.03100%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp512301.02 ± 1.74147%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp1024287.23 ± 0.20101%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp2048262.77 ± 1.81101%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg12818.80 ± 0.9948%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg25624.46 ± 3.0483%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg51236.32 ± 3.5990%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp512271.71 ± 3.53133%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp1024279.86 ± 45.63100%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp2048320.77 ± 5.00124%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg12843.51 ± 0.05111%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg25643.35 ± 0.09110%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg51242.60 ± 0.31105%

Q4_0_8_8 offers a nice bump to prompt processing and a small bump to text generation

Which file should I choose?#

Click here for details

A great write up with charts showing various performances is provided by Artefact2 here

The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.

If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.

If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.

Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.

If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.

If you want to get more into the weeds, you can check out this extremely useful feature chart:

llama.cpp feature matrix

But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.

These I-quants can also be used on CPU, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.

Credits#

Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset.

Thank you ZeroWw for the inspiration to experiment with embed/output.

Thank you to LM Studio for sponsoring my work.

Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

Files

27 files · 63.8 GBWeights 1.51 GB (smallest of 24 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 27 files with their sha256
FileSizesha256
.gitattributes3.05 KBdf9e43959fd748294c9ab64b796e208b88453e23cb0e25fb887e3451d62697b7
Qwen_Qwen3-4B-IQ2_M.gguf1.51 GB0aa56060b35246fb4f826e9242843b7f2faae20e771c193e0b7216c63f4dff9d
Qwen_Qwen3-4B-IQ3_M.gguf1.96 GB2746853ef81b0ca0f7f7f4594c2c3c776fa3fe777e1d0c396985faa1348e9070
Qwen_Qwen3-4B-IQ3_XS.gguf1.81 GBcb202b1f40122747aa3d4dca6cd49e0b12143abb1f67f10021683206eba9064c
Qwen_Qwen3-4B-IQ3_XXS.gguf1.67 GBd3a62afc93ed01cd4787ec58479b639c956367965eb874abdab42a612dad90c5
Qwen_Qwen3-4B-IQ4_NL.gguf2.38 GBa9a9b81bf610e8fd94e70862b2af153ea9582b1137e5836f4ee818d0db12796d
Qwen_Qwen3-4B-IQ4_XS.gguf2.27 GBfa5c45f0899a41d33eaeeeebdc88a95c56adaf45d199dae2d2a8fcdbcce177fa
Qwen_Qwen3-4B-Q2_K.gguf1.67 GBebdb400de15507a3ac524785929464e7b7d1df9677b0387a3977958a56bd38bb
Qwen_Qwen3-4B-Q2_K_L.gguf1.76 GBdd70ca1631029e39fd34c813dabe76f2217ebc1a8e914eeccae659623b5f352b
Qwen_Qwen3-4B-Q3_K_L.gguf2.24 GB7ff01b989e5a7cf87100f07248d00e8566fb711669f5bfb5d7dd916e170931d6
Qwen_Qwen3-4B-Q3_K_M.gguf2.08 GB29183d72b1b4e9666287d82acb9aea189512c99cb3bf6d9c77c4a43ebcb30414
Qwen_Qwen3-4B-Q3_K_S.gguf1.89 GB9a8cde953fd268fee5fcca36523b303cace78c1a648e974608517d47340e5560
Qwen_Qwen3-4B-Q3_K_XL.gguf2.33 GB2d5d27bdb7bc50eb8aa57ee360f6f53b29883d14675c69de7e87d312c48f2a04
Qwen_Qwen3-4B-Q4_0.gguf2.38 GB003e104a544c3cdb008db07acb07b8f6feeb62e50c4eca3cfff14fc59e62e5b7
Qwen_Qwen3-4B-Q4_1.gguf2.60 GB18ddb04d07bf0ec89854c1177e5c2f490c7b294c02ad720359d94310c6d426b7
Qwen_Qwen3-4B-Q4_K_L.gguf2.59 GB003d53604195c99061836ac7d74350d6714c8587f3a838aca5c7e22b94b7dcee
Qwen_Qwen3-4B-Q4_K_M.gguf2.50 GBfbe1d5edd4ce802ae3ae7c7e4ab7d09789d697fdac1fc7929f8df4ca3c41bae3
Qwen_Qwen3-4B-Q4_K_S.gguf2.38 GBb3c7f6eab31e251a15e7b2d19a7fe3efc8c27d11175e878583867015b5d42177
Qwen_Qwen3-4B-Q5_K_L.gguf2.98 GBce850bd72c59835cd6e4158fc6462c4f25e0fd64d43b71fc2b53e19f600ff0ba
Qwen_Qwen3-4B-Q5_K_M.gguf2.89 GB3e6002bee4457c8061c04bfb742c3b23aca976606dfe0e0963cbfd434a370eac
Qwen_Qwen3-4B-Q5_K_S.gguf2.82 GB5a2057469d1852626ac5899f971879a68a359ff05a6b5323236a2459274e2f07
Qwen_Qwen3-4B-Q6_K.gguf3.31 GB12b0913feed83232737d860e299ca410d3b2bbf8d33e156ba594f3b44ba17ef1
Qwen_Qwen3-4B-Q6_K_L.gguf3.40 GB6df12a327862a55f98165953795d51b94f147bfbe327dcda5a8e02e393f9bc65
Qwen_Qwen3-4B-Q8_0.gguf4.28 GB4050871d20fa939e88e83b1a86060061bdeff01e0d9e5d000d374766f0caf7d7
Qwen_Qwen3-4B-bf16.gguf8.05 GB52486602bdca589fd1507962537b4fc7fa2f1fc57222fa36a960cf691d4960c8
Qwen_Qwen3-4B.imatrix3.84 MB00cd5f975d4bf4bd1d9b7ea876a7b57f47dd8c5f7fa843e05af25c525ceda990
README.md12.8 KB781741847714526ac2430a67b4f685261e583719ac8d0856fb5487ad0e317f57
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
cb76885dc6 pinned now2026-11-15 04:41 UTC27 files · 63.8 GB

Use it

$ fw get bartowski/Qwen_Qwen3-4B-GGUF
# manifest sha256 613769a0463a… · 63.8 GB · 27 files
$ fw verify ./Qwen_Qwen3-4B-GGUF bartowski/Qwen_Qwen3-4B-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/bartowski/Qwen_Qwen3-4B-GGUF.json --dir ./Qwen_Qwen3-4B-GGUF $ python3 fw.py verify ./Qwen_Qwen3-4B-GGUF ./bartowski__Qwen_Qwen3-4B-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Qwen_Qwen3-4B-GGUF --revision cb76885dc66d50759b207c5a48c4e78dfa00c638 --local-dir ./Qwen_Qwen3-4B-GGUF
llama.cppDownload one GGUF variant (Qwen_Qwen3-4B-IQ2_M, 1.51 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Qwen_Qwen3-4B-GGUF --include "Qwen_Qwen3-4B-IQ2_M*" --local-dir ./Qwen_Qwen3-4B-GGUF $ llama-server -m ./Qwen_Qwen3-4B-GGUF/Qwen_Qwen3-4B-IQ2_M.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./Qwen_Qwen3-4B-GGUF/Qwen_Qwen3-4B-IQ2_M.gguf\n' > Modelfile $ ollama create qwen-qwen3-4b-gguf -f Modelfile

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
Inherited from the base model Qwen/Qwen3-4B: the strictest license along the lineage applies. 2026-11-15
Text in
README.md
Text sha256
781741847714526ac2430a67b4f685261e583719ac8d0856fb5487ad0e317f57
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.qwenSubject: Qwen_Qwen3-4B-GGUFDate: 2026-11-15Commit: cb76885Signed: 2DC28CC7B26A283B ✓
Upstream
bartowski/Qwen_Qwen3-4B-GGUF
Pinned commit
cb76885dc66d50759b207c5a48c4e78dfa00c638
Manifest
Qwen_Qwen3-4B-GGUF.json · .minisig
Manifest sha256
613769a0463a01b2a053ec2d8fedde863a734806e562f0f9a2faa6375afc14c6
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:41 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/bartowski/Qwen_Qwen3-4B-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/bartowski/Qwen_Qwen3-4B-GGUF.json.minisig $ minisign -Vm Qwen_Qwen3-4B-GGUF.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen3-4B · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Qwen_Qwen3-4B-GGUF
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen_Qwen3-4B-GGUF.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF