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

Qwen_Qwen3-4B-Instruct-2507-GGUF

Date: 2026-11-14Commit: ae44f08Signed: 2DC28CC7B26A283B ✓

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

qwen63.8GBQwen_Qwen3-4B-Instruct-2507-GGUFggufpermissive
FactsParamsnot statedSize63.8 GBFormatsggufTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get bartowski/Qwen_Qwen3-4B-Instruct-2507-GGUF
# manifest sha256 86ff7b9d55cf… · 63.8 GB · 27 files
$ fw verify ./Qwen_Qwen3-4B-Instruct-2507-GGUF bartowski/Qwen_Qwen3-4B-Instruct-2507-GGUF
From sourceHosted (signed)bartowski/Qwen_Qwen3-4B-Instruct-2507-GGUFLast check: 2026-11-14 21:27 UTC

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

Quantized of Qwen3-4B-Instruct-2507.

Works with

Convert with

Overview

Size
63.8 GB
Weights
3.87 MB (smallest of 25 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-14
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen3-4B-Instruct-2507

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-14 21:27 UTCpassed

Model card

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

Llamacpp imatrix Quantizations of Qwen3-4B-Instruct-2507 by Qwen#

Using llama.cpp release b6096 for quantization.

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

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

You can either specify a new local-dir (Qwen_Qwen3-4B-Instruct-2507-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 3.87 MB (smallest of 25 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 27 files with their sha256
FileSizesha256
.gitattributes3.41 KBc083b0f2aa79a19bc728ef246fe68672e0cb2c21ed9c83aeeaceb547d6acd2cc
Qwen_Qwen3-4B-Instruct-2507-IQ2_M.gguf1.51 GB2b576b3c5483dd8a87eca98d84f83c653a755ccb48ab31b6567a69e207ee233b
Qwen_Qwen3-4B-Instruct-2507-IQ3_M.gguf1.96 GBb458203e8ad6d3f9b82c1190cbd77e8502f4f763985cefdbe85ed18947fcac9d
Qwen_Qwen3-4B-Instruct-2507-IQ3_XS.gguf1.81 GB8192110d563f7f7bfde15a961c5cc6a86cc8db38f4d83d11f904ae745a2dc411
Qwen_Qwen3-4B-Instruct-2507-IQ3_XXS.gguf1.67 GBfbb60c3369dec665b2f922dd027464f1c1e5c1e1af62b48f34d9dc811404c65f
Qwen_Qwen3-4B-Instruct-2507-IQ4_NL.gguf2.38 GB8bcd60be4de4e2423cfa8db4f3207e54602bf85584b97ef364be044bfd9826ac
Qwen_Qwen3-4B-Instruct-2507-IQ4_XS.gguf2.27 GBc33ca3b360e1b2f018e31bead52888e83566bb22fc9ef783efa991a00364420d
Qwen_Qwen3-4B-Instruct-2507-Q2_K.gguf1.67 GB7f9efe8a86c1d200139801642dcf8c0d9f2cf09c89ef4e8f0ea525536368c4ca
Qwen_Qwen3-4B-Instruct-2507-Q2_K_L.gguf1.76 GBbe4d99fbd1139f0b9a9fd44dae65ed0a4523df39112211cf87bbea1a1ac9b842
Qwen_Qwen3-4B-Instruct-2507-Q3_K_L.gguf2.24 GBc2e1b8c30d2ba9ea7957ae6e201cef5296766281e0fcba100048335c0c799bc5
Qwen_Qwen3-4B-Instruct-2507-Q3_K_M.gguf2.08 GB35295e9a0a42eff5ebc592412c754991c0b6cc36bf4f282b2a491b211476752d
Qwen_Qwen3-4B-Instruct-2507-Q3_K_S.gguf1.89 GB68e5c8cb8ac33cb5b86c1dc31885a772782b42699d144fcfbe353489d9b289db
Qwen_Qwen3-4B-Instruct-2507-Q3_K_XL.gguf2.33 GB6bd04c2178d45160802b813a0e0cc82553ce84a6db7ed6615aac858f4551415c
Qwen_Qwen3-4B-Instruct-2507-Q4_0.gguf2.38 GBb2198e1e35b98e2e126a00d9e853a53bc3a4bcca5f82cfbf2a03b38a91f2662c
Qwen_Qwen3-4B-Instruct-2507-Q4_1.gguf2.60 GB2c6d59300fe2abd6d68883fe0af72e5b528aa275cd5e8bed7d73ff38ba920f22
Qwen_Qwen3-4B-Instruct-2507-Q4_K_L.gguf2.59 GB438820a7284cab964b48312bd4750ca35627e5e74dc51d05bd4efa3cb8616d1a
Qwen_Qwen3-4B-Instruct-2507-Q4_K_M.gguf2.50 GB2fde00ce69dd4899c70d020845e2638353015bba0fdf161b3eb965f2bca4464e
Qwen_Qwen3-4B-Instruct-2507-Q4_K_S.gguf2.38 GB952af947c6aabf7b72f7d8e279e76f7bf4b0d12431eb3abb588ef312865622d8
Qwen_Qwen3-4B-Instruct-2507-Q5_K_L.gguf2.98 GB396a1eaba8407efe0ca6d91fc5a9d4e2f64714db64380fd5166ad0005dc1da5d
Qwen_Qwen3-4B-Instruct-2507-Q5_K_M.gguf2.89 GB66713ce35a58a82fe87642d4ec13425bf9b9a46800fff5c49a665ef5701439dc
Qwen_Qwen3-4B-Instruct-2507-Q5_K_S.gguf2.82 GB2c43a3155890ec4543dc5868e3859a2eca19b708bc1efd7bf0c0af3f057268d2
Qwen_Qwen3-4B-Instruct-2507-Q6_K.gguf3.31 GB324bcc583feabe9485df2521099bf913e2613048e7aa2bdcdbfe74f1acc7531e
Qwen_Qwen3-4B-Instruct-2507-Q6_K_L.gguf3.40 GBa3ca50571641ea44bc0c3c63901eb29cc1b641e327242e0a5e5a95690f7ec3c5
Qwen_Qwen3-4B-Instruct-2507-Q8_0.gguf4.28 GB260b5b5b6ad73e44df81a43ea1f5c11c37007b6bac18eb3cd2016e8667c19662
Qwen_Qwen3-4B-Instruct-2507-bf16.gguf8.05 GB75c31072dd3f6a5f2d3cdf13f1c72f61fddc1dd084b77a50620b289d71521774
Qwen_Qwen3-4B-Instruct-2507-imatrix.gguf3.87 MB82f4b42f83986c180f866551e24d227bbc5a3aba7263c3282a44580d818b9ce2
README.md13.9 KB139ebb15c2601ca66b0d2820127b1bfaf491b084a582f9fa08286ba7daeeea82
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
ae44f08e13 pinned now manifest updated, same commit2026-11-14 21:27 UTC27 files · 63.8 GB
ae44f08e132026-11-14 21:27 UTC27 files · 63.8 GB

Use it

$ fw get bartowski/Qwen_Qwen3-4B-Instruct-2507-GGUF
# manifest sha256 86ff7b9d55cf… · 63.8 GB · 27 files
$ fw verify ./Qwen_Qwen3-4B-Instruct-2507-GGUF bartowski/Qwen_Qwen3-4B-Instruct-2507-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-Instruct-2507-GGUF.json --dir ./Qwen_Qwen3-4B-Instruct-2507-GGUF $ python3 fw.py verify ./Qwen_Qwen3-4B-Instruct-2507-GGUF ./bartowski__Qwen_Qwen3-4B-Instruct-2507-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Qwen_Qwen3-4B-Instruct-2507-GGUF --revision ae44f08e1392f39c0e474af10c3ff8355c8b6688 --local-dir ./Qwen_Qwen3-4B-Instruct-2507-GGUF
llama.cppDownload one GGUF variant (Qwen_Qwen3-4B-Instruct-2507-imatrix, 3.87 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Qwen_Qwen3-4B-Instruct-2507-GGUF --include "Qwen_Qwen3-4B-Instruct-2507-imatrix*" --local-dir ./Qwen_Qwen3-4B-Instruct-2507-GGUF $ llama-server -m ./Qwen_Qwen3-4B-Instruct-2507-GGUF/Qwen_Qwen3-4B-Instruct-2507-imatrix.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./Qwen_Qwen3-4B-Instruct-2507-GGUF/Qwen_Qwen3-4B-Instruct-2507-imatrix.gguf\n' > Modelfile $ ollama create qwen-qwen3-4b-instruct-2507-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-Instruct-2507: the strictest license along the lineage applies. 2026-11-14
Text in
README.md
Text sha256
139ebb15c2601ca66b0d2820127b1bfaf491b084a582f9fa08286ba7daeeea82
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-Instruct-2507-GGUFDate: 2026-11-14Commit: ae44f08Signed: 2DC28CC7B26A283B ✓
Upstream
bartowski/Qwen_Qwen3-4B-Instruct-2507-GGUF
Pinned commit
ae44f08e1392f39c0e474af10c3ff8355c8b6688
Manifest
Qwen_Qwen3-4B-Instruct-2507-GGUF.json · .minisig
Manifest sha256
86ff7b9d55cf54563b625bf8b3f13a01d3b38145b594458867011fd73f0289b2
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:27 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/bartowski/Qwen_Qwen3-4B-Instruct-2507-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/bartowski/Qwen_Qwen3-4B-Instruct-2507-GGUF.json.minisig $ minisign -Vm Qwen_Qwen3-4B-Instruct-2507-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-Instruct-2507 · 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-Instruct-2507-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-Instruct-2507-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