Views
No views yet
| Model | MATH-500 | AIME 24 | AIME 25 | OlympiadBench | HumanEval | HumanEval+ | Livecodebench |
|---|---|---|---|---|---|---|---|
| PromptCoT-Mamba-7B | 84.6 | 35.2 | 24.6 | 50.7 | 81.7 | 75.0 | 29.9 |
| Gemma3-27B | 89.0 | 32.6 | 24.0 | 54.2 | 86.0 | 78.0 | 26.9 |
| Gemma3-12B | 83.8 | 22.9 | 19.2 | 49.9 | 81.1 | 73.2 | 22.2 |
| Sky-T1-7B | 85.0 | 19.2 | 19.2 | 49.2 | 41.5 | 37.2 | 18.3 |
| S1.1-7B | 82.0 | 19.2 | 17.5 | 43.1 | 64.0 | 56.7 | 13.3 |
| Bespoke-Stratos-7B | 81.2 | 18.3 | 16.3 | 45.0 | 73.2 | 68.3 | 8.6 |
| Nemotron-H-8B | 77.6 | -- | -- | -- | 79.3 | 74.4 | -- |
| M1-3B | 81.7 | 23.0 | 22.0 | 43.6 | -- | -- | -- |
🔍 PromptCoT-Mamba-7B consistently outperforms all 7B-scale Transformer and hybrid Mamba-Transformer baselines across all tasks.
| Model | MATH-500 | AIME 24 | AIME 25 | OlympiadBench | HumanEval | HumanEval+ | Livecodebench |
|---|---|---|---|---|---|---|---|
| PromptCoT-Mamba-Math-7B | 88.0 | 42.9 | 30.8 | 52.1 | 71.3 | 66.5 | 20.3 |
| PromptCoT-Mamba-7B | 84.6 | 35.2 | 24.6 | 50.7 | 81.7 | 75.0 | 29.9 |
🎯 The math-specialized variant improves AIME 24 by +7.7% and AIME 25 by +6.2%, with a slight trade-off in code-related performance.
vLLM under constrained memory, PromptCoT-Mamba-7B demonstrates substantial speedups over the S1.1-7B Transformer baseline:⚙️ Practical for cost-sensitive or long-context inference workloads at scale.
pip install transformers vllm torch accelerate1from transformers import AutoModelForCausalLM, AutoTokenizer
2
3model_name = "xl-zhao/PromptCoT-Mamba-Math-7B"
4tokenizer = AutoTokenizer.from_pretrained(model_name)
5model = AutoModelForCausalLM.from_pretrained(model_name).to("cuda")
6
7problem_statement = (
8 "A robe takes 2 bolts of blue fiber and half that much white fiber. How many bolts in total does it take?"
9)
10
11prompt = (
12 f"<|im_start|>user\n{problem_statement}\nPlease reason step by step, and put your final answer within \\boxed{{}}.<|im_end|>\n"
13 "<|im_start|>assistant\n"
14)
15
16inputs = tokenizer(prompt, return_tensors="pt").to("cuda")
17
18with torch.no_grad():
19 output = model.generate(**inputs, max_length=65536, temperature=0.8)
20
21generated_solution = tokenizer.decode(output[0], skip_special_tokens=True)
22print(generated_solution)1from vllm import LLM, SamplingParams
2
3model_name = "xl-zhao/PromptCoT-Mamba-Math-7B"
4llm = LLM(model=model_name, tensor_parallel_size=1)
5
6problem_statement = (
7 "A robe takes 2 bolts of blue fiber and half that much white fiber. How many bolts in total does it take?"
8)
9
10prompt = (
11 f"<|im_start|>user\n{problem_statement}\nPlease reason step by step, and put your final answer within \\boxed{{}}.<|im_end|>\n"
12 "<|im_start|>assistant\n"
13)
14
15sampling_params = SamplingParams(temperature=0.8, max_tokens=65536)
16outputs = llm.generate([prompt], sampling_params)
17
18print(outputs[0].outputs[0].text)1@article{zhao2025scaling,
2 author = {Xueliang Zhao and Wei Wu and Lingpeng Kong},
3 title = {Scaling Reasoning without Attention},
4 journal = {arXiv preprint arXiv:2505.22425},
5 year = {2025},
6 url = {https://arxiv.org/abs/2505.22425}
7}