alt.freeweights.text / Baichuan-M2-32B
From: baichuan-inc <huggingface.co/baichuan-inc>Newsgroups: alt.freeweights.textSubject:

Baichuan-M2-32B

Date: 2026-11-15Commit: 360f684Signed: 2DC28CC7B26A283B ✓

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

32.8B params67.1GBBaichuan-M2-32Bsafetensorspermissive
FactsParams32.8BSize67.1 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get baichuan-inc/Baichuan-M2-32B
# manifest sha256 6bd4d0076aaf… · 67.1 GB · 29 files
$ fw verify ./Baichuan-M2-32B baichuan-inc/Baichuan-M2-32B
From sourceHosted (signed)baichuan-inc/Baichuan-M2-32BLast check: 2026-11-15 03:19 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
67.1 GB
Weights
65.5 GB (safetensors)
Parameters
32.8B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
29, each with a sha256
Publisher
baichuan-inc
Added
2026-11-15
Section
alt.freeweights.text
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 03:19 UTCpassed

Model card

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

Baichuan-M2-32B#

This repository contains the model presented in Baichuan-M2: Scaling Medical Capability with Large Verifier System.

License Hugging Face M2 GPTQ-4bit Huawei Ascend 8bit

๐ŸŒŸ Model Overview#

Baichuan-M2-32B is Baichuan AI's medical-enhanced reasoning model, the second medical model released by Baichuan. Designed for real-world medical reasoning tasks, this model builds upon Qwen2.5-32B with an innovative Large Verifier System. Through domain-specific fine-tuning on real-world medical questions, it achieves breakthrough medical performance while maintaining strong general capabilities.

Model Features:

Baichuan-M2 incorporates three core technical innovations: First, through the Large Verifier System, it combines medical scenario characteristics to design a comprehensive medical verification framework, including patient simulators and multi-dimensional verification mechanisms; second, through medical domain adaptation enhancement via Mid-Training, it achieves lightweight and efficient medical domain adaptation while preserving general capabilities; finally, it employs a multi-stage reinforcement learning strategy, decomposing complex RL tasks into hierarchical training stages to progressively enhance the model's medical knowledge, reasoning, and patient interaction capabilities.

Core Highlights:

  • ๐Ÿ† World's Leading Open-Source Medical Model: Outperforms all open-source models and many proprietary models on HealthBench, achieving medical capabilities closest to GPT-5
  • ๐Ÿง  Doctor-Thinking Alignment: Trained on real clinical cases and patient simulators, with clinical diagnostic thinking and robust patient interaction capabilities
  • โšก Efficient Deployment: Supports 4-bit quantization for single-RTX4090 deployment, with 58.5% higher token throughput in MTP version for single-user scenarios

๐Ÿ“Š Performance Metrics#

HealthBench Scores#
Model NameHealthBenchHealthBench-HardHealthBench-Consensus
Baichuan-M260.134.791.5
gpt-oss-120b57.63090
Qwen3-235B-A22B-Thinking-250755.225.990.6
Deepseek-R1-052853.622.691.5
GLM-4.547.818.785.3
Kimi-K24310.790.9
gpt-oss-20b42.510.882.6
General Performance#
BenchmarkBaichuan-M2-32BQwen3-32B (Thinking)
AIME2483.481.4
AIME2572.972.9
Arena-Hard-v2.045.844.5
CFBench77.675.7
WritingBench8.567.90

Note: AIME uses max_tokens=64k, others use 32k; temperature=0.6 for all tests.

๐Ÿ”ง Technical Features#

๐Ÿ“— Technical Blog: Blog - Baichuan-M2

๐Ÿ“‘ Technical Report: Arxiv - Baichuan-M2

Large Verifier System#
  • Patient Simulator: Virtual patient system based on real clinical cases
  • Multi-Dimensional Verification: 8 dimensions including medical accuracy, response completeness, and follow-up awareness
  • Dynamic Scoring: Real-time generation of adaptive evaluation criteria for complex clinical scenarios
Medical Domain Adaptation#
  • Mid-Training: Medical knowledge injection while preserving general capabilities
  • Reinforcement Learning: Multi-stage RL strategy optimization
  • General-Specialized Balance: Carefully balanced medical, general, and mathematical composite training data

โš™๏ธ Quick Start#

# 1. load model
from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained("baichuan-inc/Baichuan-M2-32B", trust_remote_code=True)
tokenizer = AutoTokenizer.from_pretrained("baichuan-inc/Baichuan-M2-32B")
# 2. Input prompt text
prompt = "Got a big swelling after a bug bite. Need help reducing it."
# 3. Encode the input text for the model
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    thinking_mode='on' # on/off/auto 
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
# 4. Generate text
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=4096
)
output_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
][0].tolist()
# 5. parsing thinking content
try:
    # rindex finding 151668 (</think>)
    index = len(output_ids) - output_ids[::-1].index(151668)
except ValueError:
    index = 0

thinking_content = tokenizer.decode(output_ids[:index], skip_special_tokens=True).strip("
")
content = tokenizer.decode(output_ids[index:], skip_special_tokens=True).strip("
")

print("thinking content:", thinking_content)
print("content:", content)

For deployment, you can use sglang>=0.4.6.post1 or vllm>=0.9.0 or to create an OpenAI-compatible API endpoint:

  • SGLang: shell python -m sglang.launch_server --model-path baichuan-inc/Baichuan-M2-32B --reasoning-parser qwen3
  • vLLM: shell vllm serve baichuan-inc/Baichuan-M2-32B --reasoning-parser qwen3

MTP inference with SGLang#

  1. Replace the qwen2.py file in the sglang installation directory with draft/qwen2.py.
  2. Launch sglang:
python3 -m sglang.launch_server \
--model Baichuan-M2-32B \
--speculative-algorithm EAGLE3 \
--speculative-draft-model-path Baichuan-M2-32B/draft \
--speculative-num-steps 6 \
--speculative-eagle-topk 10 \
--speculative-num-draft-tokens 32 \
--mem-fraction 0.9 \
--cuda-graph-max-bs 2 \
--reasoning-parser qwen3 \
--dtype bfloat16

โš ๏ธ Usage Notices#

  1. Medical Disclaimer: For research and reference only; cannot replace professional medical diagnosis or treatment
  2. Intended Use Cases: Medical education, health consultation, clinical decision support
  3. Safe Use: Recommended under guidance of medical professionals

๐Ÿ“„ License#

Licensed under the Apache License 2.0. Research and commercial use permitted.

๐Ÿค Acknowledgements#

  • Base Model: Qwen2.5-32B
  • Training Framework: verl
  • Inference Engines: vLLM, SGLang
  • Quantization: AutoRound, GPTQ

Thank you to the open-source community. We commit to continuous contribution and advancement of healthcare AI.

๐Ÿ“ž Contact Us#


Empowering Healthcare with AI, Making Health Accessible to All

Files

29 files ยท 67.1 GBWeights 65.5 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 29 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
LICENSE11.3 KB832dd9e00a68dd83b3c3fb9f5588dad7dcf337a0db50f7d9483f310cd292e92e
README.md7.33 KB5235adddb1ac504adb6573de151f22d393a70a7a72194726878ff0a44f80ee72
added_tokens.json707 Bc0284b582e14987fbd3d5a2cb2bd139084371ed9acbae488829a1c900833c680
config.json688 B06c148ab69ce73792c318b2b635566b641d49d4c4f550dec6e78cd24e2ee6670
draft/config.json722 B653ea9d040a4047955ad1c1af5429bb7e1e3d0e804b2b70830bc0fd83238b2bb
draft/pytorch_model.bin1.53 GBf80f49be625de0c703ae279805a764b07377bae6d2a31468e75e12fbf2c17298
draft/qwen2.py23.9 KBd2b95fa7fc3f71cda16216e66ea315c7062ae4df697a9e5425f2f704dab36435
generation_config.json214 B81051cd3f6e77013827148d0b8a6ead93f8ac390d5ab805f849199f0af6a08db
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model-00001-of-00014.safetensors4.89 GB0d3633c1fb7f9a4a3e754006e91b4839517119fc0fd345a8464e42a9b70c7c29
model-00002-of-00014.safetensors4.88 GBb06acbc4542e982674d63bc00940ca694a3c0f77937070dcf14bd4c1d73db89e
model-00003-of-00014.safetensors4.88 GBc19e1abed43b5fd19fb08dd1573cf48b874014b30c3da3b9a3c0ffc1259f60fc
model-00004-of-00014.safetensors4.88 GB3720463ffdb4a412f1723c5a337438f1ed3f20357f348ff41a6d6b31a1171940
model-00005-of-00014.safetensors4.88 GBb3e6a4ce7d3d177cc4e9e684800f20a17dc31a75c72978e06feeb82865b34ede
model-00006-of-00014.safetensors4.88 GBc8ce215324ad309001feea1029ed305c134ea7d1aee55475e6c79950778a2bf9
model-00007-of-00014.safetensors4.88 GBdb6c797ad666b16b283d6e0cd5000796ba1798e74914398e61d421722feb6af2
model-00008-of-00014.safetensors4.88 GB1fcd54826b08c021d3d991b07ea7f7b0fb0cf03b39efa61dc1a4e6db2c37d9a9
model-00009-of-00014.safetensors4.88 GB6c8e648d124f8864718cc5c189a1e6e30c3726b706c78ff12fbbf4853f72c3f0
model-00010-of-00014.safetensors4.88 GBe74feb5ed5c1bc6816f3d386484486a1f7da03a5294254823e9c5b11eb4ab886
model-00011-of-00014.safetensors4.88 GB4d7b240005b6edeaf327305bf22eeb740265029b2364c7d5ef620dc2a7e17582
model-00012-of-00014.safetensors4.88 GB833573d88519833757533967f272255a8cfcbfba27c7ecfd3ce3985b5f77b3dd
model-00013-of-00014.safetensors4.88 GB7d53458f7d7013dfec2aa0dd735f38f6dba5f257d4e5b13a1aea0a27e82b6ed3
model-00014-of-00014.safetensors2.12 GBd1d84776cd52292fb1f409340d04476209aa17d1bbdd26c793422bef4379e331
model.safetensors.index.json63.2 KBe6548816f7ae8cd9fc353a20737f640ad32db6eff13a8c097246084c3207300f
special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
tokenizer.json11.4 MBaeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
tokenizer_config.json9.81 KB1c69f37a2fa2c8a94226c72ded9882037cabb940775dfe79a48b4f64e201219d
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
360f684d3c pinned now2026-11-15 03:19 UTC29 files ยท 67.1 GB

Use it

$ fw get baichuan-inc/Baichuan-M2-32B
# manifest sha256 6bd4d0076aaf… · 67.1 GB · 29 files
$ fw verify ./Baichuan-M2-32B baichuan-inc/Baichuan-M2-32B
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/baichuan-inc/Baichuan-M2-32B.json --dir ./Baichuan-M2-32B $ python3 fw.py verify ./Baichuan-M2-32B ./baichuan-inc__Baichuan-M2-32B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download baichuan-inc/Baichuan-M2-32B --revision 360f684d3cd527a4ef986c54071015eb0e6def58 --local-dir ./Baichuan-M2-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("baichuan-inc/Baichuan-M2-32B", revision="360f684d3cd527a4ef986c54071015eb0e6def58") model = AutoModelForCausalLM.from_pretrained("baichuan-inc/Baichuan-M2-32B", revision="360f684d3cd527a4ef986c54071015eb0e6def58", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve baichuan-inc/Baichuan-M2-32B --revision 360f684d3cd527a4ef986c54071015eb0e6def58

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: baichuan-inc <huggingface.co/baichuan-inc>Newsgroups: alt.freeweights.textSubject: Baichuan-M2-32BDate: 2026-11-15Commit: 360f684Signed: 2DC28CC7B26A283B ✓
Upstream
baichuan-inc/Baichuan-M2-32B
Pinned commit
360f684d3cd527a4ef986c54071015eb0e6def58
Manifest
Baichuan-M2-32B.json ยท .minisig
Manifest sha256
6bd4d0076aaf02a833d1f7061e321915fbdf8e65905d7df35485f949d9536a66
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:19 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/baichuan-inc/Baichuan-M2-32B.json $ curl -O https://freeweights.allternit.com/manifests/baichuan-inc/Baichuan-M2-32B.json.minisig $ minisign -Vm Baichuan-M2-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

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download baichuan-inc/Baichuan-M2-32B
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Baichuan-M2-32B.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of Baichuan-M2-32B. 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