From: Zyphra <huggingface.co/Zyphra>Newsgroups: alt.freeweights.textSubject:

ZR1-1.5B

Date: 2026-11-15Commit: 6108a26Signed: 2DC28CC7B26A283B ✓

Text generation model with 1.8B parameters. Safetensors weights, 7.12 GB in all. Published by Zyphra under MIT.

1.8B params7.12GBZR1-1.5Bsafetensorspermissive
FactsParams1.8BSize7.12 GBFormatssafetensorsTasktext generationLicenseMITFrom sourcepermissive
$ fw get Zyphra/ZR1-1.5B
# manifest sha256 c18176c88d9c… · 7.12 GB · 12 files
$ fw verify ./ZR1-1.5B Zyphra/ZR1-1.5B
From sourceHosted (signed)Zyphra/ZR1-1.5BLast check: 2026-11-15 02:45 UTC

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

Fine-tune of DeepSeek-R1-Distill-Qwen-1.5B.

Works with

Overview

Size
7.12 GB
Weights
7.11 GB (safetensors)
Parameters
1.8B
Formats
safetensors
Task
text generation
License
MIT (permissive)
Files
12, each with a sha256
Publisher
Zyphra
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: deepseek-ai/DeepSeek-R1-Distill-Qwen-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:45 UTCpassed

Model card

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

ZR1-1.5B#

ZR1-1.5B is a small reasoning model trained extensively on both verified coding and mathematics problems with reinforcement learning. The model outperforms Llama-3.1-70B-Instruct on hard coding tasks and improves upon the base R1-Distill-1.5B model by over 50%, while achieving strong scores on math evaluations and a 37.91% pass@1 accuracy on GPQA-Diamond with just 1.5B parameters.

Image: ZR1-1.5B LiveBench evaluation results on LiveBench with greedy sampling: the model is very token efficient

Data#

For training we utilized the PRIME Eurus-2-RL dataset which combines the following math and code datasets:

  • NuminaMath-CoT
  • APPS, CodeContests, TACO, and Codeforces train set

We filtered math data by validating that questions are correctly graded when calling the evaluator with reference ground truth, and we removed all code examples with an empty list of test cases. Our final dataset comprised roughly 400k math + 25k code samples.

Training Recipe#

We employ PRIME (Process Reinforcement through IMplicit rEwards), an online RL algorithm with process rewards, motivated by the improvement over GPRO demonstrated in the paper, as well as potentially more accurate token-level rewards due to the learned process reward model. We used the training batch accuracy filtering method from PRIME for training stability, and the iterative context lengthening technique demonstrated in DeepScaleR for faster training, which has also been shown to improve token efficiency. After a warmup period with maximum generation length set to 12k tokens, we sequentially increased the maximum generation length during training, starting at 8k tokens before increasing to 16k and 24k.

We trained on a single 8xH100 node with the following specific algorithmic details.

  • PRIME + RLOO with token-level granularity
  • No <think> token prefill. 0.1 format reward/penalty
  • Main train batch size 256 with n=4 samples per prompt. veRL dynamic batch size with max batch size set per GPU to support training with large generation length
  • Max prompt length 1536, generation length increase over training. Started with 12k intended to ease model into shorter generation length training
  • 12384 -> 8192 -> 16384 -> 24448
  • Start with 1 PPO epoch, increase to 4 during 24k stage
  • Accuracy filtering 0.2-0.8 and relax to 0.01-0.99 during 24k stage
  • Oversample batches 2x for accuracy filtering

And the following training hyperparameters:

  • KL coefficient 0 (no KL divergence term)
  • Entropy coefficient 0.001
  • Actor LR 5e-7
  • Reward beta train 0.05
  • Reward LR 1e-6
  • Reward grad clip 10
  • Reward RM coefficient 5

Evaluation#

Coding

LeetcodeLCB\_generation
ZR1-1.5B40%39.74%
R1-Distill-Qwen-1.5B12.22%24.36%
DeepCoder-1.5B21.11%35.90%
OpenHands-LM-1.5B18.88%29.49%
Qwen2.5-1.5B-Instruct20.56%24.36%
Qwen2.5-Coder-3B-Instruct35.55%39.74%
Llama-3.1-8B-Instruct14.44%23.08%
Llama-3.1-70B-Instruct37.22%34.62%
Eurus-2-7B-PRIME34.44%32.05%
Mistral-Small-2503\-38.46%
Gemma-3-27b-it\-39.74%
Claude-3-Opus\-37.18%

LiveBench

ModelAMPS HardMath\_CompLCB\_GenerationCoding\_Completion
ZR1-1.5B74%60.42%39.74%12%
DeepCoder-1.5B69%61.46%35.90%12%
DeepScaleR-1.5B64%50%24.36%6%
OpenHands-LM-1.5B24%29.48%29.49%8%
R1-Distill-1.5B54%37.50%24.36%6%
Qwen2.5-1.5B-Instruct38%20.83%24.36%4%
Qwen2.5-Math-1.5B-Instruct49%36.46%0%0%
Qwen2.5-3B-Instruct41%17.71%28.21%10%
R1-Distill-7B74%61.46%44.87%14%
Qwen2.5-7B-Instruct56%29.17%38.46%40%
Qwen2.5-Math-7B-Instruct62%45.83%16.67%4%
R1-Distill-14B77%69.79%64.10%18%
Qwen2.5-14B-Instruct59%43.75%46.15%54%
R1-Distill-32B74%75%60.26%26%
QwQ-32B-Preview78%67.71%52.56%22%
QwQ-32B83%87.5%87.18%46%
Qwen2.5-32B-Instruct62%54.17%51.23%54%
Qwen2.5-Coder-32B-Instruct48%53.13%55.13%58%
R1-Distill-Llama-70B\*65%78.13%69.23%34%
Qwen2.5-72B-Instruct66%52.08%50%62%
Qwen2.5-Math-72B-Instruct56%59.38%42.31%42%
DeepSeek-R1\*88%88.54%79.48%54%

General Math

modelAIME24AIME25AMC22\_23AMC24GPQA-DMATH500MinervaOlympiad
ZR1-1.5B33.75%27.29%72.06%59.17%37.91%88.34%33.52%56.87%
ZR1-1.5B (greedy)40%26.67%71.08%53.33%37.88%89.40%32.72%57.93%
DeepScaleR-1.5B42.92%27.71%74.40%60.69%34.66%89.36%35.50%59.37%
DeepScaleR-1.5B (greedy)33.33%33.33%67.47%57.77%29.29%84.60%31.62%52.44%
DeepCoder-1.5B41.88%24.79%75.30%59.72%36.46%83.60%32.01%56.39%
Still-3-1.5B31.04%23.54%65.51%56.94%34.56%86.55%33.50%53.55%
Open-RS3-1.5B31.67%23.75%64.08%51.67%35.61%84.65%29.46%52.13%
R1-Distill-1.5B28.96%22.50%63.59%50.83%33.87%84.65%31.39%51.11%
R1-Distill-1.5B (greedy)26.67%13.33%51.81%24.44%30.81%73.40%25.74%40%
Qwen2.5-Math-1.5B-Instruct (greedy)10%6.67%42.17%26.67%28.28%75.20%28.31%40.74%
Qwen2.5-Math-7B-Instruct (greedy)20%3.33%46.99%31.11%32.32%83%37.13%42.22%
Qwen2.5-Math-72B-Instruct (greedy)26.67%6.67%59.04%46.67%43.94%85.40%42.65%50.37%
Eurus-2-7B-PRIME (greedy)20%13.33%56.62%40%36.36%81.20%36.76%44.15%
DeepHermes-3-Llama-3-3B (think prompt, greedy)0%3.33%12.05%11.11%30.30%34.40%10.66%10.52%
OpenHands-LM-1.5B (greedy)0%0%10.84%4.44%23.74%36.80%12.50%10.22%

Short CoT

Our direct answer system prompt was: “Give a direct answer without thinking first.”

The table reports the average greedy pass@1 score across the following math evals: AIME24, AIME25, AMC22\_23, AMC24, GPQA-Diamond, MATH-500, MinervaMath, OlympiadBench

avg pass@1max\_tokens
ZR1-1.5B51.13%32768
ZR1-1.5B (truncated)46.83%4096
ZR1-1.5B (direct answer prompt)45.38%4096
ZR1-1.5B (truncated)40.39%2048
ZR1-1.5B (direct answer prompt)37%2048
Qwen-2.5-Math-1.5B-Instruct32.25%2048
Qwen-2.5-Math-7B-Instruct37.01%2048

For Leetcode and LiveBench, we report pass@1 accuracy with greedy sampling. For the rest of the evaluations we report pass@1 accuracy averaged over 16 samples per question, with temperature 0.6 and top_p 0.95.

We use the following settings for SGLang:

python -m sglang.launch_server --model-path <model> --host 0.0.0.0 --port 5001 --mem-fraction-static=0.8 --dtype bfloat16 --random-seed 0 --chunked-prefill-size -1 --attention-backend triton --sampling-backend pytorch --disable-radix-cache --disable-cuda-graph-padding  --disable-custom-all-reduce --disable-mla --triton-attention-reduce-in-fp32

For vllm we disable prefix caching and chunked prefill.

Citation#

@misc{zyphra2025ZR1,
  title     = {ZR1-1.5B: A small but powerful reasoning model for math and code},
  author    = {Zyphra},
  year      = {2025},
}

Files

12 files · 7.12 GBWeights 7.11 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.70 KB9ccc869760ffff9b0ffbeedb307301cdea7699beb3b75c225e726dde1cd87d13
README.md8.24 KBc641019fb71815037f1c2c6f531f433567418f8d11b8e9714fd4d0c45d119abd
config.json729 B337cb800f14451b6751565e679dfdc3b808be164ff0058bdf8b6a78724b555c4
generation_config.json181 B8885016cae80b4ceae316ab78ef62825b302a985b7f364270d47135b3b48e5ea
model-00001-of-00002.safetensors4.98 GB9ebd44017b92be213cbfd0c7a085e792445143b0b88dea7d1c7f73027968d34b
model-00002-of-00002.safetensors2.13 GBbda6c544bcb46a54e9b7c1333b610be12d6a1d806ec1b7bf13f24feb5aa37a04
model.safetensors.index.json26.4 KBceb9cdbe5515cf973c685de3e904f54e240ed8ec32403c61aadf39b8216bf7b5
special_tokens_map.json485 B59cda48bbe8bab9d61ffb410e6e3c07b6d98bff73cee7c88ff8b51f95f21ab1c
tokenizer.json11.4 MBe20ddafc659ba90242154b55275402edeca0715e5dbb30f56815a4ce081f4893
tokenizer_config.json6.76 KB79e0359ba5ec6c335bafb050f0ac2f402c043e3e0fc1e12cfdf0b80a2564a283
zr1-1.5b-livebench.png72.2 KB90bef2934fe7ef766002361f829a3e45ef61c17c18ae7681a4cc716ccb52ecfe
zr1_livebench_greedy_lightmode.png63.3 KB474c688d7e34b54030526f19b681dc6ef6b46e0fe501220febf74b7a3b81efa1
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
6108a26d0c pinned now2026-11-15 02:45 UTC12 files · 7.12 GB

Use it

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

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
c641019fb71815037f1c2c6f531f433567418f8d11b8e9714fd4d0c45d119abd
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: Zyphra <huggingface.co/Zyphra>Newsgroups: alt.freeweights.textSubject: ZR1-1.5BDate: 2026-11-15Commit: 6108a26Signed: 2DC28CC7B26A283B ✓
Upstream
Zyphra/ZR1-1.5B
Pinned commit
6108a26d0cd7f378704e281ee4d842c4a055cb4a
Manifest
ZR1-1.5B.json · .minisig
Manifest sha256
c18176c88d9c0480668318be520a05f74a2ab6c617548635f60f08c6f2207b2a
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:45 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/Zyphra/ZR1-1.5B.json $ curl -O https://freeweights.allternit.com/manifests/Zyphra/ZR1-1.5B.json.minisig $ minisign -Vm ZR1-1.5B.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

deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B · this model is a finetune of it

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

Quantizations
3
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download Zyphra/ZR1-1.5B
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. ZR1-1.5B.json. Provenance. Takedown history: none.

Variants

3 quantized or adapter builds of ZR1-1.5B. Each has its own license check and page.

From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B