alt.freeweights.qwen / QwQ-32B-AWQ
From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject:

QwQ-32B-AWQ

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

Text generation model with 32.8B parameters. Safetensors weights, 19.3 GB in all. Published by Qwen under Apache-2.0.

32.8B params19.3GBQwQ-32B-AWQsafetensorspermissive
FactsParams32.8BSize19.3 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/QwQ-32B-AWQ
# manifest sha256 a5c4fd35db10… · 19.3 GB · 18 files
$ fw verify ./QwQ-32B-AWQ Qwen/QwQ-32B-AWQ
From sourceHosted (signed)Qwen/QwQ-32B-AWQLast check: 2026-11-15 04:53 UTC

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

Quantized of QwQ-32B.

Works with

Overview

Size
19.3 GB
Weights
19.3 GB (safetensors)
Parameters
32.8B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
18, each with a sha256
Publisher
Qwen
Added
2026-11-15
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/QwQ-32B

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

Model card

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

QwQ-32B-AWQ#

Chat

Introduction#

QwQ is the reasoning model of the Qwen series. Compared with conventional instruction-tuned models, QwQ, which is capable of thinking and reasoning, can achieve significantly enhanced performance in downstream tasks, especially hard problems. QwQ-32B is the medium-sized reasoning model, which is capable of achieving competitive performance against state-of-the-art reasoning models, e.g., DeepSeek-R1, o1-mini.

Image: image

This repo contains the AWQ-quantized 4-bit QwQ 32B model, which has the following features:

  • Type: Causal Language Models
  • Training Stage: Pretraining & Post-training (Supervised Finetuning and Reinforcement Learning)
  • Architecture: transformers with RoPE, SwiGLU, RMSNorm, and Attention QKV bias
  • Number of Parameters: 32.5B
  • Number of Paramaters (Non-Embedding): 31.0B
  • Number of Layers: 64
  • Number of Attention Heads (GQA): 40 for Q and 8 for KV
  • Context Length: Full 131,072 tokens
    • For prompts exceeding 8,192 tokens in length, you must enable YaRN as outlined in this section.
  • Quantization: AWQ 4-bit

Note: For the best experience, please review the usage guidelines before deploying QwQ models.

You can try our demo or access QwQ models via QwenChat.

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

Requirements#

QwQ is based on Qwen2.5, whose code has been in the latest Hugging face transformers. We advise you to use the latest version of transformers.

With transformers<4.37.0, you will encounter the following error:

KeyError: 'qwen2'

Also check out our AWQ documentation for more usage guide.

Quickstart#

Here provides a code snippet with apply_chat_template to show you how to load the tokenizer and model and how to generate contents.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/QwQ-32B-AWQ"

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

prompt = "How many r's are in the word \"strawberry\""
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)

model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=32768
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(response)
Usage Guidelines#

To achieve optimal performance, we recommend the following settings:

  1. Enforce Thoughtful Output: Ensure the model starts with "\<think\>\n" to prevent generating empty thinking content, which can degrade output quality. If you use apply_chat_template and set add_generation_prompt=True, this is already automatically implemented, but it may cause the response to lack the \<think\> tag at the beginning. This is normal behavior.
  2. Sampling Parameters:
    • Use Temperature=0.6, TopP=0.95, MinP=0 instead of Greedy decoding to avoid endless repetitions.
    • Use TopK between 20 and 40 to filter out rare token occurrences while maintaining the diversity of the generated output.
    • For supported frameworks, you can adjust the presence_penalty parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may result in occasional language mixing and a slight decrease in performance.
  3. No Thinking Content in History: In multi-turn conversations, the historical model output should only include the final output part and does not need to include the thinking content. This feature is already implemented in apply_chat_template.
  4. Standardize Output Format: We recommend using prompts to standardize model outputs when benchmarking.
    • Math Problems: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt.
    • Multiple-Choice Questions: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the answer field with only the choice letter, e.g.,\"answer\": \"C\"." in the prompt.
  5. Handle Long Inputs: For inputs exceeding 8,192 tokens, enable YaRN to improve the model's ability to capture long-sequence information effectively. For supported frameworks, you could add the following to config.json to enable YaRN: json { ..., "rope_scaling": { "factor": 4.0, "original_max_position_embeddings": 32768, "type": "yarn" } } For deployment, we recommend using vLLM. Please refer to our Documentation for usage if you are not familar with vLLM. Presently, vLLM only supports static YARN, which means the scaling factor remains constant regardless of input length, potentially impacting performance on shorter texts. We advise adding the rope_scaling configuration only when processing long contexts is required.

Evaluation & Performance#

Detailed evaluation results are reported in this 📑 blog.

For requirements on GPU memory and the respective throughput, see results here.

Citation#

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

@misc{qwq32b,
    title = {QwQ-32B: Embracing the Power of Reinforcement Learning},
    url = {https://qwenlm.github.io/blog/qwq-32b/},
    author = {Qwen Team},
    month = {March},
    year = {2025}
}

@article{qwen2.5,
      title={Qwen2.5 Technical Report}, 
      author={An Yang and Baosong Yang and Beichen Zhang and Binyuan Hui and Bo Zheng and Bowen Yu and Chengyuan Li and Dayiheng Liu and Fei Huang and Haoran Wei and Huan Lin and Jian Yang and Jianhong Tu and Jianwei Zhang and Jianxin Yang and Jiaxi Yang and Jingren Zhou and Junyang Lin and Kai Dang and Keming Lu and Keqin Bao and Kexin Yang and Le Yu and Mei Li and Mingfeng Xue and Pei Zhang and Qin Zhu and Rui Men and Runji Lin and Tianhao Li and Tianyi Tang and Tingyu Xia and Xingzhang Ren and Xuancheng Ren and Yang Fan and Yang Su and Yichang Zhang and Yu Wan and Yuqiong Liu and Zeyu Cui and Zhenru Zhang and Zihan Qiu},
      journal={arXiv preprint arXiv:2412.15115},
      year={2024}
}

Files

18 files · 19.3 GBWeights 19.3 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 18 files with their sha256
FileSizesha256
.gitattributes1.52 KB0491c053d8488a4c654c6f175429d4328b5e106da68d1cb3e49cee6a2a49eef1
LICENSE11.3 KBb5a6e1d76bcd66df1ed52b29bcdbc34f773ac13594399ad0f1e1f916778bea4e
README.md7.34 KBf382981a92d5edee8e1a663ba3bd8f6570cd629af52594a8fec5f91943dc2ff1
added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
config.json863 B6ce126f0594e707a44f7ac8fe8bb96fc568b8622b0782fae8215e1eeb2ce553d
figures/benchmark.jpg320 KB415acc7917a65f6bf96d8133c9de1f552ea8e4fde75d462be77ff574988e354e
generation_config.json243 Bbd9b62d54c30f515c984606435b8ed171fa4fced3981ccb4582c49949beeb69d
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model-00001-of-00005.safetensors3.94 GB0311f3657b533d1430f10cedb30d4c485ddbeb4d183a3e869a871a6e245250fb
model-00002-of-00005.safetensors3.98 GB5b06444c6ece9a8489154f5368c427ae7e1ef017c135b41685cbaef327df3a72
model-00003-of-00005.safetensors3.95 GBdeb57bf75fd3e4d0c9a8214e216ed6e5e8cfc55d4a89528724b84a25c9fb5e89
model-00004-of-00005.safetensors3.98 GB90424c7ac3a7e6db19b50391ed28324a3468abb38ad594ed3e7e9893c0a1d709
model-00005-of-00005.safetensors3.48 GBd56ce4540b8b6afd9e45c738fa28e8574dd26fe49c8a349a5ab58ff4d3e5acac
model.safetensors.index.json137 KB6d2721da4581c61c82bfb96f082628cf2bf6365354f118b9c24cd1852ac68477
special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer.json7.03 MB19564a48c4f71a2a1b937cce34c737a1e662b171c5f5d7edf641a15cd896f07d
tokenizer_config.json8.29 KBab43f460108ca40fbb09fa537696baf862b6a9b46a2c6688b9de711293e3ddc4
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
dc9f212215 pinned now2026-11-15 04:53 UTC18 files · 19.3 GB

Use it

$ fw get Qwen/QwQ-32B-AWQ
# manifest sha256 a5c4fd35db10… · 19.3 GB · 18 files
$ fw verify ./QwQ-32B-AWQ Qwen/QwQ-32B-AWQ
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Qwen/QwQ-32B-AWQ.json --dir ./QwQ-32B-AWQ $ python3 fw.py verify ./QwQ-32B-AWQ ./Qwen__QwQ-32B-AWQ.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/QwQ-32B-AWQ --revision dc9f21221581580ccfa51b74077db6056b56cb69 --local-dir ./QwQ-32B-AWQ
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("Qwen/QwQ-32B-AWQ", revision="dc9f21221581580ccfa51b74077db6056b56cb69") model = AutoModelForCausalLM.from_pretrained("Qwen/QwQ-32B-AWQ", revision="dc9f21221581580ccfa51b74077db6056b56cb69", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve Qwen/QwQ-32B-AWQ --revision dc9f21221581580ccfa51b74077db6056b56cb69

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
b5a6e1d76bcd66df1ed52b29bcdbc34f773ac13594399ad0f1e1f916778bea4e
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: QwQ-32B-AWQDate: 2026-11-15Commit: dc9f212Signed: 2DC28CC7B26A283B ✓
Upstream
Qwen/QwQ-32B-AWQ
Pinned commit
dc9f21221581580ccfa51b74077db6056b56cb69
Manifest
QwQ-32B-AWQ.json · .minisig
Manifest sha256
a5c4fd35db1084e91ec3625ae8037ac2cbad29d1640b226e67867da59a3f7477
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:53 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

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

Signed manifest
minisign, key 2DC28CC7B26A283B. QwQ-32B-AWQ.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