alt.freeweights.qwen / Qwen2.5-Coder-32B-Instruct
From: Qwen <huggingface.co/Qwen>Newsgroups: alt.freeweights.qwenSubject:

Qwen2.5-Coder-32B-Instruct

Date: 2026-11-15Commit: 381fc96Signed: 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.5GBQwen2.5-Coder-32B-Instructsafetensorspermissive
FactsParams32.8BSize65.5 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen2.5-Coder-32B-Instruct
# manifest sha256 0881fcd5ebb5… · 65.5 GB · 24 files
$ fw verify ./Qwen2.5-Coder-32B-Instruct Qwen/Qwen2.5-Coder-32B-Instruct
From sourceHosted (signed)Qwen/Qwen2.5-Coder-32B-InstructLast check: 2026-11-15 02:26 UTC

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

Fine-tune of Qwen2.5-Coder-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
24, 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-Coder-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:26 UTCpassed

Model card

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

Qwen2.5-Coder-32B-Instruct#

Chat

Introduction#

Qwen2.5-Coder is the latest series of Code-Specific Qwen large language models (formerly known as CodeQwen). As of now, Qwen2.5-Coder has covered six mainstream model sizes, 0.5, 1.5, 3, 7, 14, 32 billion parameters, to meet the needs of different developers. Qwen2.5-Coder brings the following improvements upon CodeQwen1.5:

  • Significantly improvements in code generation, code reasoning and code fixing. Base on the strong Qwen2.5, we scale up the training tokens into 5.5 trillion including source code, text-code grounding, Synthetic data, etc. Qwen2.5-Coder-32B has become the current state-of-the-art open-source codeLLM, with its coding abilities matching those of GPT-4o.
  • A more comprehensive foundation for real-world applications such as Code Agents. Not only enhancing coding capabilities but also maintaining its strengths in mathematics and general competencies.
  • Long-context Support up to 128K tokens.

This repo contains the instruction-tuned 32B Qwen2.5-Coder model, which has the following features:

  • Type: Causal Language Models
  • Training Stage: Pretraining & Post-training
  • 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
    • Please refer to this section for detailed instructions on how to deploy Qwen2.5 for handling long texts.

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

Requirements#

The code of Qwen2.5-Coder has been in the latest Hugging face transformers and 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/Qwen2.5-Coder-32B-Instruct"

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

prompt = "write a quick sort algorithm."
messages = [
    {"role": "system", "content": "You are Qwen, created by Alibaba Cloud. You are a helpful assistant."},
    {"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=512
)
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]
Processing Long Texts#

The current config.json is set for context length up to 32,768 tokens. To handle extensive inputs exceeding 32,768 tokens, we utilize YaRN, a technique for enhancing model length extrapolation, ensuring optimal performance on lengthy texts.

For supported frameworks, you could add the following to config.json to enable YaRN:

{
  ...,
  "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.

@article{hui2024qwen2,
      title={Qwen2. 5-Coder Technical Report},
      author={Hui, Binyuan and Yang, Jian and Cui, Zeyu and Yang, Jiaxi and Liu, Dayiheng and Zhang, Lei and Liu, Tianyu and Zhang, Jiajun and Yu, Bowen and Dang, Kai and others},
      journal={arXiv preprint arXiv:2409.12186},
      year={2024}
}
@article{qwen2,
      title={Qwen2 Technical Report}, 
      author={An Yang and Baosong Yang and Binyuan Hui and Bo Zheng and Bowen Yu and Chang Zhou and Chengpeng Li and Chengyuan Li and Dayiheng Liu and Fei Huang and Guanting Dong and Haoran Wei and Huan Lin and Jialong Tang and Jialin Wang and Jian Yang and Jianhong Tu and Jianwei Zhang and Jianxin Ma and Jin Xu and Jingren Zhou and Jinze Bai and Jinzheng He and Junyang Lin and Kai Dang and Keming Lu and Keqin Chen and Kexin Yang and Mei Li and Mingfeng Xue and Na Ni and Pei Zhang and Peng Wang and Ru Peng and Rui Men and Ruize Gao and Runji Lin and Shijie Wang and Shuai Bai and Sinan Tan and Tianhang Zhu and Tianhao Li and Tianyu Liu and Wenbin Ge and Xiaodong Deng and Xiaohuan Zhou and Xingzhang Ren and Xinyu Zhang and Xipin Wei and Xuancheng Ren and Yang Fan and Yang Yao and Yichang Zhang and Yu Wan and Yunfei Chu and Yuqiong Liu and Zeyu Cui and Zhenru Zhang and Zhihao Fan},
      journal={arXiv preprint arXiv:2407.10671},
      year={2024}
}

Files

24 files · 65.5 GBWeights 65.5 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 24 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE11.3 KB832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e
README.md6.40 KBa5a35b614244ebc10946c05972f4b0d8785406214afac5c6c08ce793e9272ead
config.json663 B9fb1473a47db69c00c02f365c7b9e9d84fd2163c687c63b5a31167ebb2b189a6
generation_config.json243 Bfdaccbcb02f3e1e7914ccb0f69ebe899071ffd27cf825166d823163e156870f2
merges.txt1.67 MB599bab54075088774b1733fde865d5bd747cbcc7a547c5bc12610e874e26f5e3
model-00001-of-00014.safetensors4.89 GB5746929d771eb06ba0105671a2018dca3c648d4664ca5a5ce2077df82fabad92
model-00002-of-00014.safetensors4.88 GB12aaad653a85d7212a9cc7722937fff7b2bd060ab8522399b4a74d2bf736df8d
model-00003-of-00014.safetensors4.88 GB9bac433064b2c29f3e2a891539993b74b7a1da5b0a78c900b2e22fc20fe66059
model-00004-of-00014.safetensors4.88 GB4e859e864a61c45dc2e38650359540e5f35f09d4a6993ef66d7274760e7d1905
model-00005-of-00014.safetensors4.88 GB57000579cf2e87cd575333288c25588a45816fc406ace74a52efed1e7bc910d5
model-00006-of-00014.safetensors4.88 GB72dd80465092fad2665c9705332efa99c20b9fb22ad1944e7fe7429a222ede42
model-00007-of-00014.safetensors4.88 GBb91130f8049d3446221000a1d44cdf7bd344f01a2b5843f9bb81ac8193beeae8
model-00008-of-00014.safetensors4.88 GB522db6c67390557f2964a4a0094a463a067c91992be164b6e141aa1267a225e5
model-00009-of-00014.safetensors4.88 GB7c03b072b4aad4da68016b75b78c6eb3ea6b35e18ac0dae4906146603fa32e23
model-00010-of-00014.safetensors4.88 GBc5ee9a4665ae7d5c9e6d37f77d93c47244a80ee41284060efde69d223472a87a
model-00011-of-00014.safetensors4.88 GB49f60205e190369145352de972e3510bcfeef6b5a26041573032edbe132c1e06
model-00012-of-00014.safetensors4.88 GB9a53a0d4a02dcb5f036da4fcd50e408107144ff4c4b09357cf1829be2ef382f9
model-00013-of-00014.safetensors4.88 GB8b26127defc68bff2e0744ae9afc9c8ab1730fee071e0400b4bfe8f07fadda5b
model-00014-of-00014.safetensors2.12 GB983ebbded19c19264d08845710c9993714d60e17f81c62e1e15c8f174af79847
model.safetensors.index.json63.2 KBe6548816f7ae8cd9fc353a20737f640ad32db6eff13a8c097246084c3207300f
tokenizer.json7.03 MBc0382117ea329cdf097041132f6d735924b697924d6f6fc3945713e96ce87539
tokenizer_config.json7.30 KB959e7f1d9a1b7641a6d6ce05ca97b75c7894fcb66cbe5a040406458fb1128ee4
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
381fc969f7 pinned now2026-11-15 02:26 UTC24 files · 65.5 GB

Use it

$ fw get Qwen/Qwen2.5-Coder-32B-Instruct
# manifest sha256 0881fcd5ebb5… · 65.5 GB · 24 files
$ fw verify ./Qwen2.5-Coder-32B-Instruct Qwen/Qwen2.5-Coder-32B-Instruct
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/Qwen/Qwen2.5-Coder-32B-Instruct.json --dir ./Qwen2.5-Coder-32B-Instruct $ python3 fw.py verify ./Qwen2.5-Coder-32B-Instruct ./Qwen__Qwen2.5-Coder-32B-Instruct.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2.5-Coder-32B-Instruct --revision 381fc969f78efac66bc87ff7ddeadb7e73c218a7 --local-dir ./Qwen2.5-Coder-32B-Instruct
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/Qwen2.5-Coder-32B-Instruct", revision="381fc969f78efac66bc87ff7ddeadb7e73c218a7") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Coder-32B-Instruct", revision="381fc969f78efac66bc87ff7ddeadb7e73c218a7", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve Qwen/Qwen2.5-Coder-32B-Instruct --revision 381fc969f78efac66bc87ff7ddeadb7e73c218a7

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
832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e
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.5-Coder-32B-InstructDate: 2026-11-15Commit: 381fc96Signed: 2DC28CC7B26A283B ✓
Upstream
Qwen/Qwen2.5-Coder-32B-Instruct
Pinned commit
381fc969f78efac66bc87ff7ddeadb7e73c218a7
Manifest
Qwen2.5-Coder-32B-Instruct.json · .minisig
Manifest sha256
0881fcd5ebb5b4d5694478dc3e0dfc7f44f72075c9f41d68811e0e892b076b09
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:26 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

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

Fine-tunes
5
Quantizations
13
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2.5-Coder-32B-Instruct
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen2.5-Coder-32B-Instruct.json. Provenance. Takedown history: none.

Variants

13 quantized or adapter builds of Qwen2.5-Coder-32B-Instruct. Each has its own license check and page.

SubjectSizeParamsLicenseDate
Qwen2.5-Coder-32B-Instruct-AWQHosted (signed) From: Qwen in alt.freeweights.qwen19.3 GB32.8BPermissive2026-11-15Qwen2.5-Coder-32B-Instruct-GGUFHosted (signed) From: Qwen in alt.freeweights.qwen414 GB—Permissive2026-11-15Qwen2.5-Coder-32B-Instruct-MLX-4bitHosted (signed) From: lmstudio-community in alt.freeweights.qwen18.4 GB32.8BPermissive2026-11-15Qwen2.5-Coder-32B-Instruct-GGUFHosted (signed) From: bartowski in alt.freeweights.qwen502 GB—Permissive2026-11-15Qwen2.5-Coder-32B-Instruct-MLX-8bitHosted (signed) From: lmstudio-community in alt.freeweights.qwen34.8 GB32.8BPermissive2026-11-15Qwen2.5-Coder-32B-Instruct-GPTQ-Int8Hosted (signed) From: Qwen in alt.freeweights.qwen35.1 GB32.8BPermissive2026-11-15Qwen2.5-Coder-32B-Instruct-128K-GGUFHosted (signed) From: unsloth in alt.freeweights.qwen133 GB—Permissive2026-11-15Qwen2.5-Coder-32B-Instruct-bnb-4bitHosted (signed) From: unsloth in alt.freeweights.qwen19.2 GB32.8BPermissive2026-11-15Qwen2.5-Coder-32B-Instruct-GGUFHosted (signed) From: lmstudio-community in alt.freeweights.qwen98.8 GB—Permissive2026-11-15Qwen2.5-Coder-32B-Instruct-GGUFHosted (signed) From: unsloth in alt.freeweights.qwen133 GB—Permissive2026-11-15Qwen2.5-Coder-32B-Instruct-GPTQ-Int4Hosted (signed) From: Qwen in alt.freeweights.qwen19.4 GB32.8BPermissive2026-11-15Qwen2.5-Coder-32B-Instruct-6bitHosted (signed) From: mlx-community in alt.freeweights.qwen26.6 GB32.8BPermissive2026-11-15Qwen2.5-Coder-1.5B-32B-speculative-GGUFHosted (signed) From: ggml-org in alt.freeweights.qwen21.0 GB—Permissive2026-11-15
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