alt.freeweights.qwen / Qwen2-0.5B-Instruct-GGUF
From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject:

Qwen2-0.5B-Instruct-GGUF

Date: 2026-11-15Commit: 198f088Signed: 2DC28CC7B26A283B ✓

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

qwen4.29GBQwen2-0.5B-Instruct-GGUFggufpermissive
FactsParamsnot statedSize4.29 GBFormatsggufTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen2-0.5B-Instruct-GGUF
# manifest sha256 22b11001b166… · 4.29 GB · 12 files
$ fw verify ./Qwen2-0.5B-Instruct-GGUF Qwen/Qwen2-0.5B-Instruct-GGUF
From sourceHosted (signed)Qwen/Qwen2-0.5B-Instruct-GGUFLast check: 2026-11-15 04:45 UTC

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

Quantized of Qwen2-0.5B-Instruct.

Works with

Convert with

Overview

Size
4.29 GB
Weights
339 MB (smallest of 9 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
Apache-2.0 (permissive)
Files
12, each with a sha256
Publisher
Qwen
Added
2026-11-15
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen2-0.5B-Instruct

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:45 UTCpassed

Model card

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

Qwen2-0.5B-Instruct-GGUF#

Introduction#

Qwen2 is the new series of Qwen large language models. For Qwen2, we release a number of base language models and instruction-tuned language models ranging from 0.5 to 72 billion parameters, including a Mixture-of-Experts model (57B-A14B). This repo contains the instruction-tuned 0.5B Qwen2 model.

Compared with the state-of-the-art opensource language models, including the previous released Qwen1.5, Qwen2 has generally surpassed most opensource models and demonstrated competitiveness against proprietary models across a series of benchmarks targeting for language understanding, language generation, multilingual capability, coding, mathematics, reasoning, etc.

For more details, please refer to our blog, GitHub, and Documentation.

In this repo, we provide quantized models in the GGUF formats, including q2_k, q3_k_m, q4_0, q4_k_m, q5_0, q5_k_m, q6_k and q8_0.

Model Details#

Qwen2 is a language model series including decoder language models of different model sizes. For each size, we release the base language model and the aligned chat model. It is based on the Transformer architecture with SwiGLU activation, attention QKV bias, group query attention, etc. Additionally, we have an improved tokenizer adaptive to multiple natural languages and codes.

Training details#

We pretrained the models with a large amount of data, and we post-trained the models with both supervised finetuning and direct preference optimization.

Requirements#

We advise you to clone llama.cpp and install it following the official guide. We follow the latest version of llama.cpp. In the following demonstration, we assume that you are running commands under the repository llama.cpp.

How to use#

Cloning the repo may be inefficient, and thus you can manually download the GGUF file that you need or use huggingface-cli (pip install huggingface_hub) as shown below:

huggingface-cli download Qwen/Qwen2-0.5B-Instruct-GGUF qwen2-0_5b-instruct-q5_k_m.gguf --local-dir . --local-dir-use-symlinks False

To run Qwen2, you can use llama-cli (the previous main) or llama-server (the previous server). We recommend using the llama-server as it is simple and compatible with OpenAI API. For example:

./llama-server -m qwen2-0_5b-instruct-q5_k_m.gguf -ngl 24 -fa

(Note: -ngl 24 refers to offloading 24 layers to GPUs, and -fa refers to the use of flash attention.)

Then it is easy to access the deployed service with OpenAI API:

import openai

client = openai.OpenAI(
    base_url="http://localhost:8080/v1", # "http://<Your api-server IP>:port"
    api_key = "sk-no-key-required"
)

completion = client.chat.completions.create(
    model="qwen",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "tell me something about michael jordan"}
    ]
)
print(completion.choices[0].message.content)

If you choose to use llama-cli, pay attention to the removal of -cml for the ChatML template. Instead you should use --in-prefix and --in-suffix to tackle this problem.

./llama-cli -m qwen2-0_5b-instruct-q5_k_m.gguf \
  -n 512 -co -i -if -f prompts/chat-with-qwen.txt \
  --in-prefix "<|im_start|>user\n" \
  --in-suffix "<|im_end|>\n<|im_start|>assistant\n" \
  -ngl 24 -fa

Evaluation#

We implement perplexity evaluation using wikitext following the practice of llama.cpp with ./llama-perplexity (the previous ./perplexity). In the following we report the PPL of GGUF models of different sizes and different quantization levels.

Sizefp16q8_0q6_kq5_k_mq5_0q4_k_mq4_0q3_k_mq2_kiq1_m
0.5B15.1115.1315.1415.2415.4015.3616.2815.7016.74-
1.5B10.4310.4310.4510.5010.5610.6110.7911.0813.04-
7B7.937.947.967.977.988.028.198.2010.58-
57B-A14B6.816.816.836.846.896.997.027.43--
72B5.585.585.595.595.605.615.665.685.916.75

Citation#

If you find our work helpful, feel free to give us a cite.

@article{qwen2,
  title={Qwen2 Technical Report},
  year={2024}
}

Files

12 files · 4.29 GBWeights 339 MB (smallest of 9 GGUF variants). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.56 KBe08cf896faa882fdfbf869edf3ac5e9cfaa850c0ff3b79cf4a29e394bbe2572a
LICENSE11.3 KBc156170b718ec29139d3653d40ed1986fd92fb7e0959b5c71f3c48f62e6636f4
README.md4.87 KBecea4bd5da26cea578813cff93856dcb35a86df8b29fbff1fe3b0d5d00785a0d
qwen2-0_5b-instruct-fp16.gguf994 MB5cee958765bfd13139d671338bfbe24cae8b631608cd720051bba426302affc1
qwen2-0_5b-instruct-q2_k.gguf339 MB12f42f2362052e4811b25bf251185be0a753ff382d83460c15064696df52f206
qwen2-0_5b-instruct-q3_k_m.gguf355 MBfd2d897ea4af94d2b4fdbd09be67dc079ebd02162c80fa54cdfb2b278f4e1e92
qwen2-0_5b-instruct-q4_0.gguf353 MBaca679832ded61145239ce7f5c5ebddb1c57ada786c9c23733899c3888e0596f
qwen2-0_5b-instruct-q4_k_m.gguf398 MBf0a42bb979ca62b5e61f3bf924ab4b6a40aa091825ee7dcb4039949980ab81a8
qwen2-0_5b-instruct-q5_0.gguf398 MB3629e7b5f99609a4d28d07d3932fde45e03b393979adcf5249270d985aba8099
qwen2-0_5b-instruct-q5_k_m.gguf420 MB06ab0dc113ec3004e17cc0b2ec28ea953c2f02505c17f35b24f0b594a455d500
qwen2-0_5b-instruct-q6_k.gguf506 MB251317191d3338dfbc43b0a8c06a789b302cf875c8a815507f1c9f06cf5e1766
qwen2-0_5b-instruct-q8_0.gguf531 MB834f4115ad5a836c9f17716b1577290fda96de3deb881ba45a4d5476fd202e96
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
198f088411 pinned now2026-11-15 04:45 UTC12 files · 4.29 GB

Use it

$ fw get Qwen/Qwen2-0.5B-Instruct-GGUF
# manifest sha256 22b11001b166… · 4.29 GB · 12 files
$ fw verify ./Qwen2-0.5B-Instruct-GGUF Qwen/Qwen2-0.5B-Instruct-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Qwen/Qwen2-0.5B-Instruct-GGUF.json --dir ./Qwen2-0.5B-Instruct-GGUF $ python3 fw.py verify ./Qwen2-0.5B-Instruct-GGUF ./Qwen__Qwen2-0.5B-Instruct-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2-0.5B-Instruct-GGUF --revision 198f08841147e5196a6a69bd0053690fb1fd3857 --local-dir ./Qwen2-0.5B-Instruct-GGUF
llama.cppDownload one GGUF variant (qwen2-0_5b-instruct-q2_k, 339 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2-0.5B-Instruct-GGUF --include "qwen2-0_5b-instruct-q2_k*" --local-dir ./Qwen2-0.5B-Instruct-GGUF $ llama-server -m ./Qwen2-0.5B-Instruct-GGUF/qwen2-0_5b-instruct-q2_k.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./Qwen2-0.5B-Instruct-GGUF/qwen2-0_5b-instruct-q2_k.gguf\n' > Modelfile $ ollama create qwen2-0.5b-instruct-gguf -f Modelfile

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
c156170b718ec29139d3653d40ed1986fd92fb7e0959b5c71f3c48f62e6636f4
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: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject: Qwen2-0.5B-Instruct-GGUFDate: 2026-11-15Commit: 198f088Signed: 2DC28CC7B26A283B ✓
Upstream
Qwen/Qwen2-0.5B-Instruct-GGUF
Pinned commit
198f08841147e5196a6a69bd0053690fb1fd3857
Manifest
Qwen2-0.5B-Instruct-GGUF.json · .minisig
Manifest sha256
22b11001b166dd404da24cf4f398a774c262e1d0f1f2c73daec7f06b182bf9b3
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:45 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen2-0.5B-Instruct-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/Qwen/Qwen2-0.5B-Instruct-GGUF.json.minisig $ minisign -Vm Qwen2-0.5B-Instruct-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/Qwen2-0.5B-Instruct · 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 Qwen/Qwen2-0.5B-Instruct-GGUF
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen2-0.5B-Instruct-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