Text Generation
Transformers
Safetensors
English
qwen3_moe
agent
reasoning
tool-use
simulative-planning
conversational
Instructions to use sailing-lab/SR2AM-v1.0-30B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sailing-lab/SR2AM-v1.0-30B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="sailing-lab/SR2AM-v1.0-30B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("sailing-lab/SR2AM-v1.0-30B") model = AutoModelForCausalLM.from_pretrained("sailing-lab/SR2AM-v1.0-30B") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use sailing-lab/SR2AM-v1.0-30B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "sailing-lab/SR2AM-v1.0-30B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "sailing-lab/SR2AM-v1.0-30B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/sailing-lab/SR2AM-v1.0-30B
- SGLang
How to use sailing-lab/SR2AM-v1.0-30B 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 "sailing-lab/SR2AM-v1.0-30B" \ --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": "sailing-lab/SR2AM-v1.0-30B", "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 "sailing-lab/SR2AM-v1.0-30B" \ --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": "sailing-lab/SR2AM-v1.0-30B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use sailing-lab/SR2AM-v1.0-30B with Docker Model Runner:
docker model run hf.co/sailing-lab/SR2AM-v1.0-30B
File size: 3,308 Bytes
0c6cbc1 d8f908d 0c6cbc1 dce345c 0c6cbc1 7312f83 0c6cbc1 d8f908d 0c6cbc1 d8f908d 0c6cbc1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | ---
license: apache-2.0
language:
- en
pipeline_tag: text-generation
library_name: transformers
tags:
- agent
- reasoning
- tool-use
- simulative-planning
base_model: Qwen/Qwen3-30B-A3B-Thinking-2507
---
# SR²AM-v1.0-30B

We argue that efficient agentic reasoning benefits from decomposing deliberation into three interacting systems: **reactive execution** (System I) for fine-grained reasoning and direct action; **simulative reasoning** (System II) that predicts consequences of proposed actions through a world model; and **self-regulation** (System III) that decides *when* and *how deeply* to plan through a learned **configurator**.
**SR²AM** (Self-Regulated Simulative Reasoning Agentic LLM) is our instantiation: the configurator and simulative planner are realized as distinct stages within an LLM's chain-of-thought reasoning, with the LLM itself serving as the world model in language space.
SR²AM-v1.0-30B achieves an overall Pass@1 of **71.3** across 11 benchmarks spanning math, science, tabular analysis, and web information seeking — competitive with systems at 685B–1T parameters, while consuming **25–95% fewer reasoning tokens** than comparably sized agentic LLMs.
More details: [project website](https://sailing-lab.github.io/sr2am-self-regulated-planning) | [paper](https://arxiv.org/abs/2605.22138) | [GitHub](https://github.com/sailing-lab/sr2am).
## Key Features
- **System I + II + III decomposition**: a configurator (System III) decides per-turn whether to plan, continue an existing plan, or act directly; a simulative planner (System II) constructs plans grounded in predicted future states; reactive execution (System I) handles fine-grained reasoning and tool use.
- **SFT + RL training**: supervised learning on data encoding the self-regulated planning structure, followed by reinforcement learning (GRPO) for task success.
- **Agentic tool use**: web search (SerpAPI), web browsing with LLM summarization, and stateless Python code execution (SandboxFusion).
- **Reasoning efficiency**: 5,518 reasoning tokens per trajectory on average — 51% fewer than MiroThinker-v1.5-30B and 95% fewer than ASearcher-Web-QWQ-v2 for comparable or better accuracy.
- **RL learns to plan further, not more often**: RL increases average planning horizon by 22.8% while planning frequency grows only 2.0 percentage points.
## Quick Start
See the [GitHub repository](https://github.com/sailing-lab/sr2am) for setup and inference instructions.
## Main Results

SR²AM-v1.0-30B sits above the size-vs-accuracy trendline in (a) and on the Pareto frontier of reasoning-token efficiency vs. accuracy among 30/32B models in (b). The full benchmark breakdown is in the [paper](https://arxiv.org/abs/2605.22138).
## Citation
```bibtex
@article{deng2026sr2am,
title={Efficient Agentic Reasoning Through Self-Regulated Simulative Planning},
author={Deng, Mingkai and Hou, Jinyu and Neves, Lara Sá and
Pimpalkhute, Varad and Killian, Taylor W. and
Liu, Zhengzhong and Xing, Eric P.},
journal={arXiv preprint arXiv:2605.22138},
year={2026}
}
```
## License
Released under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
|