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

Qwen2.5-Math-1.5B-Instruct

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

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

1.5B params3.10GBQwen2.5-Math-1.5B-Instructsafetensorspermissive
FactsParams1.5BSize3.10 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get Qwen/Qwen2.5-Math-1.5B-Instruct
# manifest sha256 dae7eba59756… · 3.10 GB · 10 files
$ fw verify ./Qwen2.5-Math-1.5B-Instruct Qwen/Qwen2.5-Math-1.5B-Instruct
From sourceHosted (signed)Qwen/Qwen2.5-Math-1.5B-InstructLast check: 2026-11-15 02:29 UTC

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

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

Works with

Overview

Size
3.10 GB
Weights
3.09 GB (safetensors)
Parameters
1.5B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
10, 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-1.5B

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

Model card

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

Qwen2.5-Math-1.5B-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-1.5B-Instruct is an instruction model for chatting;

Qwen2.5-Math-1.5B 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-1.5B-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

10 files · 3.10 GBWeights 3.09 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
LICENSE11.3 KBc156170b718ec29139d3653d40ed1986fd92fb7e0959b5c71f3c48f62e6636f4
README.md4.97 KB25d4fdcfd59df5867c5a3ffe68395acea6015a3173382ca7412e4a34bf0188ee
config.json656 Ba48e6ab280ad87a25f06da604d486aa819b9c1bc467dae7c25fe5d05c57f5511
generation_config.json160 B6cdbb935125f725b568855b396e182b00c9c736fdfab1ef3970087f4ee5cac3f
merges.txt1.67 MB599bab54075088774b1733fde865d5bd747cbcc7a547c5bc12610e874e26f5e3
model.safetensors3.09 GB08faf1e950173bb44c11d26df28c55da7237dc55c77dbc1cbae4a5d7584540d9
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
aafeb0fc6f pinned now2026-11-15 02:29 UTC10 files · 3.10 GB

Use it

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

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

How to verify

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

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

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

Variants

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