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

Qwen2.5-Math-7B-Instruct

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

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

7.6B params15.2GBQwen2.5-Math-7B-Instructsafetensorspermissive
FactsParams7.6BSize15.2 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen2.5-Math-7B-Instruct
# manifest sha256 980f978254e1… · 15.2 GB · 14 files
$ fw verify ./Qwen2.5-Math-7B-Instruct Qwen/Qwen2.5-Math-7B-Instruct
From sourceHosted (signed)Qwen/Qwen2.5-Math-7B-InstructLast check: 2026-11-15 02:35 UTC

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

Fine-tune of Qwen2.5-Math-7B.

Works with

Overview

Size
15.2 GB
Weights
15.2 GB (safetensors)
Parameters
7.6B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
14, 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-Math-7B

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

Model card

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

Qwen2.5-Math-7B-Instruct#

Warning.

🚨 Qwen2.5-Math mainly supports solving English and Chinese math problems through CoT and TIR. We do not recommend using this series of models for other tasks.

Introduction#

In August 2024, we released the first series of mathematical LLMs - Qwen2-Math - of our Qwen family. A month later, we have upgraded it and open-sourced Qwen2.5-Math series, including base models Qwen2.5-Math-1.5B/7B/72B, instruction-tuned models Qwen2.5-Math-1.5B/7B/72B-Instruct, and mathematical reward model Qwen2.5-Math-RM-72B.

Unlike Qwen2-Math series which only supports using Chain-of-Thught (CoT) to solve English math problems, Qwen2.5-Math series is expanded to support using both CoT and Tool-integrated Reasoning (TIR) to solve math problems in both Chinese and English. The Qwen2.5-Math series models have achieved significant performance improvements compared to the Qwen2-Math series models on the Chinese and English mathematics benchmarks with CoT.

Image: image

While CoT plays a vital role in enhancing the reasoning capabilities of LLMs, it faces challenges in achieving computational accuracy and handling complex mathematical or algorithmic reasoning tasks, such as finding the roots of a quadratic equation or computing the eigenvalues of a matrix. TIR can further improve the model's proficiency in precise computation, symbolic manipulation, and algorithmic manipulation. Qwen2.5-Math-1.5B/7B/72B-Instruct achieve 79.7, 85.3, and 87.8 respectively on the MATH benchmark using TIR.

Model Details#

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

Requirements#

  • transformers>=4.37.0 for Qwen2.5-Math models. The latest version is recommended.

Warning.

🚨 This is a must because transformers integrated Qwen2 codes since 4.37.0.

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

Quick Start#

Important.

Qwen2.5-Math-7B-Instruct is an instruction model for chatting;

Qwen2.5-Math-7B is a base model typically used for completion and few-shot inference, serving as a better starting point for fine-tuning.

🤗 Hugging Face Transformers#

Qwen2.5-Math can be deployed and infered in the same way as Qwen2.5. Here we show a code snippet to show you how to use the chat model with transformers:

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/Qwen2.5-Math-7B-Instruct"
device = "cuda" # the device to load the model onto

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

prompt = "Find the value of $x$ that satisfies the equation $4x+5 = 6x+7$."

# CoT
messages = [
    {"role": "system", "content": "Please reason step by step, and put your final answer within \\boxed{}."},
    {"role": "user", "content": prompt}
]

# TIR
messages = [
    {"role": "system", "content": "Please integrate natural language reasoning with programs to solve the problem above, and put your final answer within \\boxed{}."},
    {"role": "user", "content": prompt}
]

text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(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]

Citation#

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

@article{yang2024qwen25mathtechnicalreportmathematical,
  title={Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvement}, 
  author={An Yang and Beichen Zhang and Binyuan Hui and Bofei Gao and Bowen Yu and Chengpeng Li and Dayiheng Liu and Jianhong Tu and Jingren Zhou and Junyang Lin and Keming Lu and Mingfeng Xue and Runji Lin and Tianyu Liu and Xingzhang Ren and Zhenru Zhang},
  journal={arXiv preprint arXiv:2409.12122},
  year={2024}
}

Files

14 files · 15.2 GBWeights 15.2 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 14 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE11.3 KB832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e
README.md4.96 KB9cdd5eeb7ae423a0568a6298f85e073e2d8837de65349b8c8a47af00898a4cc5
config.json658 B3a6dd7a4b3e6dd81c05ec943d837166508ceb953e1ce2baa57c84611d4765ef0
generation_config.json161 B071d157e94ad482562138f323df1ac3355d8bde9efce56f0a82ac2c333ee6525
merges.txt1.67 MB599bab54075088774b1733fde865d5bd747cbcc7a547c5bc12610e874e26f5e3
model-00001-of-00004.safetensors3.95 GB11f73294487dca1614bd7495e2c4e50372f5794f4cd175ce62d9ec2a8e97873a
model-00002-of-00004.safetensors3.86 GB2b992a00b09340ac3f8e54db70509b709e2eef9f601e679682e3a50b496a7b08
model-00003-of-00004.safetensors3.86 GB2460a589b1d606998574e0d84162e94307a15e2eea2aac6f4ea35f0361657660
model-00004-of-00004.safetensors3.56 GB9e7925045deba3bb6ac461f1c2e7eabbe2a189549156dff1ec08b6c750a82bc5
model.safetensors.index.json27.8 KB624bf7c47cd12468fdc16e38a47cf4f19e0415b859a223ba3c027eed2f0e1028
tokenizer.json7.03 MBc0382117ea329cdf097041132f6d735924b697924d6f6fc3945713e96ce87539
tokenizer_config.json7.32 KBd743761ff02297cc5cdf38a612b0f78d5cdf5ceb3f251ab1d25ad353d24b1887
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
ef9926d75a pinned now2026-11-15 02:35 UTC14 files · 15.2 GB

Use it

$ fw get Qwen/Qwen2.5-Math-7B-Instruct
# manifest sha256 980f978254e1… · 15.2 GB · 14 files
$ fw verify ./Qwen2.5-Math-7B-Instruct Qwen/Qwen2.5-Math-7B-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-Math-7B-Instruct.json --dir ./Qwen2.5-Math-7B-Instruct $ python3 fw.py verify ./Qwen2.5-Math-7B-Instruct ./Qwen__Qwen2.5-Math-7B-Instruct.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2.5-Math-7B-Instruct --revision ef9926d75ab1d54532f6a30dd5e760355eb9aa4d --local-dir ./Qwen2.5-Math-7B-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-Math-7B-Instruct", revision="ef9926d75ab1d54532f6a30dd5e760355eb9aa4d") model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-Math-7B-Instruct", revision="ef9926d75ab1d54532f6a30dd5e760355eb9aa4d", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve Qwen/Qwen2.5-Math-7B-Instruct --revision ef9926d75ab1d54532f6a30dd5e760355eb9aa4d

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-Math-7B-InstructDate: 2026-11-15Commit: ef9926dSigned: 2DC28CC7B26A283B ✓
Upstream
Qwen/Qwen2.5-Math-7B-Instruct
Pinned commit
ef9926d75ab1d54532f6a30dd5e760355eb9aa4d
Manifest
Qwen2.5-Math-7B-Instruct.json · .minisig
Manifest sha256
980f978254e14f03d8a846e4f0084b5a5b1065397f1cadbd1a2875d3403dfab7
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:35 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

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

Fine-tunes
2
Quantizations
3
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Qwen/Qwen2.5-Math-7B-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-Math-7B-Instruct.json. Provenance. Takedown history: none.

Variants

3 quantized or adapter builds of Qwen2.5-Math-7B-Instruct. 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