Instructions to use zml5418/OPSD-MiniCPM4.1-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zml5418/OPSD-MiniCPM4.1-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="zml5418/OPSD-MiniCPM4.1-8B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("zml5418/OPSD-MiniCPM4.1-8B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use zml5418/OPSD-MiniCPM4.1-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "zml5418/OPSD-MiniCPM4.1-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zml5418/OPSD-MiniCPM4.1-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/zml5418/OPSD-MiniCPM4.1-8B
- SGLang
How to use zml5418/OPSD-MiniCPM4.1-8B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "zml5418/OPSD-MiniCPM4.1-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zml5418/OPSD-MiniCPM4.1-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "zml5418/OPSD-MiniCPM4.1-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zml5418/OPSD-MiniCPM4.1-8B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use zml5418/OPSD-MiniCPM4.1-8B with Docker Model Runner:
docker model run hf.co/zml5418/OPSD-MiniCPM4.1-8B
OPSD-MiniCPM4.1-8B
Checkpoints of openbmb/MiniCPM4.1-8B post-trained with OPSD in NoThink mode (enable_thinking=False) on DAPO-Math, released with the paper
Thinking Leakage: A Causal Audit of NoThink Post-Training in Hybrid Reasoning Models Zehao Liu, Vasant G. Honavar. arXiv:2609.28682
These are research artifacts for studying how NoThink post-training moves the model along the Think/NoThink axis of the residual stream ("thinking leakage"). They are not intended as improved general-purpose models.
Checkpoints
Each saved training step is a separate branch:
| revision | training step |
|---|---|
step-25 |
25 |
step-50 |
50 |
step-75 |
75 |
step-100 |
100 |
The main branch holds this card and the final checkpoint (step-100). Weights dtype: bfloat16.
from transformers import AutoModelForCausalLM, AutoTokenizer
repo, rev = "zml5418/OPSD-MiniCPM4.1-8B", "step-100"
model = AutoModelForCausalLM.from_pretrained(repo, revision=rev, torch_dtype="bfloat16", trust_remote_code=True)
tok = AutoTokenizer.from_pretrained(repo, revision=rev, trust_remote_code=True)
Requires trust_remote_code=True (MiniCPM ships its own modeling code).
Training
Training and evaluation details are given in the paper.
Citation
@misc{liu2026thinkingleakagecausalaudit,
title={Thinking Leakage: A Causal Audit of NoThink Post-Training in Hybrid Reasoning Models},
author={Zehao Liu and Vasant G. Honavar},
year={2026},
eprint={2609.28682},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2609.28682},
}
- Downloads last month
- -
Model tree for zml5418/OPSD-MiniCPM4.1-8B
Base model
openbmb/MiniCPM4.1-8B