From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject:

QwQ-32B

Date: 2026-11-15Commit: 976055fSigned: 2DC28CC7B26A283B ✓

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

32.8B params65.5GBQwQ-32Bsafetensorspermissive
FactsParams32.8BSize65.5 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/QwQ-32B
# manifest sha256 9f38f3350518… · 65.5 GB · 27 files
$ fw verify ./QwQ-32B Qwen/QwQ-32B
From sourceHosted (signed)Qwen/QwQ-32BLast check: 2026-11-15 02:36 UTC

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

Fine-tune of Qwen2.5-32B.

Works with

Overview

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

Original release from the publisher.

Base model: Qwen/Qwen2.5-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 02:36 UTCpassed

Model card

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

QwQ-32B#

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 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.

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'

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"

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

27 files · 65.5 GBWeights 65.5 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 27 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE11.3 KBb5a6e1d76bcd66df1ed52b29bcdbc34f773ac13594399ad0f1e1f916778bea4e
README.md7.19 KBc173a260c85b4d316a02bd977a55f24484bf0dbc96a72f0305b9e548b61d64ba
added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
config.json662 B61feaaef406a79c195ba8629921e99ad27753434c1e7bf60f5809cd73a86de68
figures/benchmark.jpg320 KB415acc7917a65f6bf96d8133c9de1f552ea8e4fde75d462be77ff574988e354e
generation_config.json243 Bbd9b62d54c30f515c984606435b8ed171fa4fced3981ccb4582c49949beeb69d
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model-00001-of-00014.safetensors4.89 GB004d2070959177a0beeac5c01f4934fb5bb2c12ad36184dc58b5f23ab8f70f3a
model-00002-of-00014.safetensors4.88 GB20bdb326a9dc6cd8b6438584471967995ec4a5e905ed06ef82354c248a389d65
model-00003-of-00014.safetensors4.88 GB85ccdd3199b1fec121c0344b334342d945d4190305875619fea0c3db6da49109
model-00004-of-00014.safetensors4.88 GB0f105c2f63b39f327844cbb79997cc1cf9b72778d51a26bdd7f170683c3b2a26
model-00005-of-00014.safetensors4.88 GB47701383600a7476fd83a95d0954f8a08ba61e7e6cbe7d7c9ceae98cac32fac9
model-00006-of-00014.safetensors4.88 GB1656c1ba7072ef5b615cb927e6c9c67901387effe3dcf6ce6d0347d9af9e4776
model-00007-of-00014.safetensors4.88 GB12fedbbc4ba346d4400e8ab47b93333f46694b49354266a20ad831086badda48
model-00008-of-00014.safetensors4.88 GBb8d62faefa13bb43a049a4400f32774097c5567294b5173217c538c02fb0b167
model-00009-of-00014.safetensors4.88 GB30bdb6ea3dde6992437d078539faeb900001ffc81df85e31cd570b8a8473c299
model-00010-of-00014.safetensors4.88 GBbc1dde8498e337d943ece97c7e34a9128212c0b2a78e54544db70b180356fe6b
model-00011-of-00014.safetensors4.88 GB4d02e7eff51f87d899d814e4e626aa0b500c2ed66281338501a6cbd1c0e39948
model-00012-of-00014.safetensors4.88 GB1509466dac374077451838262cca4d09d79b78cfd390f4ecb24dbee83d4614e3
model-00013-of-00014.safetensors4.88 GB5e43e88f59bcdaedd173d60e76ef428583dac88bc864786e5d7ee9420edbb094
model-00014-of-00014.safetensors2.12 GBa567a635b6c4846070fff9d7b28823d7a332235d854e71d355e0140d2e9dcc2f
model.safetensors.index.json63.2 KBe6548816f7ae8cd9fc353a20737f640ad32db6eff13a8c097246084c3207300f
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
976055f8c8 pinned now2026-11-15 02:36 UTC27 files · 65.5 GB

Use it

$ fw get Qwen/QwQ-32B
# manifest sha256 9f38f3350518… · 65.5 GB · 27 files
$ fw verify ./QwQ-32B Qwen/QwQ-32B
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.json --dir ./QwQ-32B $ python3 fw.py verify ./QwQ-32B ./Qwen__QwQ-32B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/QwQ-32B --revision 976055f8c83f394f35dbd3ab09a285a984907bd0 --local-dir ./QwQ-32B
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", revision="976055f8c83f394f35dbd3ab09a285a984907bd0") model = AutoModelForCausalLM.from_pretrained("Qwen/QwQ-32B", revision="976055f8c83f394f35dbd3ab09a285a984907bd0", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve Qwen/QwQ-32B --revision 976055f8c83f394f35dbd3ab09a285a984907bd0

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-32BDate: 2026-11-15Commit: 976055fSigned: 2DC28CC7B26A283B ✓
Upstream
Qwen/QwQ-32B
Pinned commit
976055f8c83f394f35dbd3ab09a285a984907bd0
Manifest
QwQ-32B.json · .minisig
Manifest sha256
9f38f3350518655ef0ccfa551c77e76f61e420ee20dfe72c1bc305a220545b47
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:36 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Qwen/QwQ-32B.json $ curl -O https://freeweights.allternit.com/manifests/Qwen/QwQ-32B.json.minisig $ minisign -Vm QwQ-32B.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.5-32B · this model is a finetune of it

7 models in the catalog name this one as their parent.

Fine-tunes
1
Quantizations
6
Fine-tunes 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/QwQ-32B
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.json. Provenance. Takedown history: none.

Variants

6 quantized or adapter builds of QwQ-32B. Each has its own license check and page.

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