Text Generation
Transformers
Safetensors
English
qwen2
reasoning
reinforcement-learning
rlvr
mcts
math
iclr-2026
conversational
Eval Results (legacy)
text-generation-inference
Instructions to use fangwu97/DeepSearch-1.5B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fangwu97/DeepSearch-1.5B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="fangwu97/DeepSearch-1.5B") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("fangwu97/DeepSearch-1.5B") model = AutoModelForCausalLM.from_pretrained("fangwu97/DeepSearch-1.5B", device_map="auto") 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=256) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use fangwu97/DeepSearch-1.5B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "fangwu97/DeepSearch-1.5B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "fangwu97/DeepSearch-1.5B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/fangwu97/DeepSearch-1.5B
- SGLang
How to use fangwu97/DeepSearch-1.5B 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 "fangwu97/DeepSearch-1.5B" \ --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": "fangwu97/DeepSearch-1.5B", "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 "fangwu97/DeepSearch-1.5B" \ --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": "fangwu97/DeepSearch-1.5B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use fangwu97/DeepSearch-1.5B with Docker Model Runner:
docker model run hf.co/fangwu97/DeepSearch-1.5B
Update README.md
Browse files
README.md
CHANGED
|
@@ -22,7 +22,7 @@ model-index:
|
|
| 22 |
name: AIME 2024
|
| 23 |
type: text
|
| 24 |
metrics:
|
| 25 |
-
- type:
|
| 26 |
value: 53.65
|
| 27 |
- task:
|
| 28 |
name: Mathematical Reasoning
|
|
@@ -31,7 +31,7 @@ model-index:
|
|
| 31 |
name: AIME 2025
|
| 32 |
type: text
|
| 33 |
metrics:
|
| 34 |
-
- type:
|
| 35 |
value: 35.42
|
| 36 |
- task:
|
| 37 |
name: Mathematical Reasoning
|
|
@@ -40,7 +40,7 @@ model-index:
|
|
| 40 |
name: AMC 2023
|
| 41 |
type: text
|
| 42 |
metrics:
|
| 43 |
-
- type:
|
| 44 |
value: 90.39
|
| 45 |
- task:
|
| 46 |
name: Mathematical Reasoning
|
|
@@ -49,7 +49,7 @@ model-index:
|
|
| 49 |
name: MATH500
|
| 50 |
type: text
|
| 51 |
metrics:
|
| 52 |
-
- type:
|
| 53 |
value: 92.53
|
| 54 |
- task:
|
| 55 |
name: Mathematical Reasoning
|
|
@@ -58,7 +58,7 @@ model-index:
|
|
| 58 |
name: Minerva
|
| 59 |
type: text
|
| 60 |
metrics:
|
| 61 |
-
- type:
|
| 62 |
value: 40.00
|
| 63 |
- task:
|
| 64 |
name: Mathematical Reasoning
|
|
@@ -67,7 +67,7 @@ model-index:
|
|
| 67 |
name: Olympiad
|
| 68 |
type: text
|
| 69 |
metrics:
|
| 70 |
-
- type:
|
| 71 |
value: 65.72
|
| 72 |
---
|
| 73 |
<div align="center">
|
|
@@ -77,7 +77,7 @@ model-index:
|
|
| 77 |
**DeepSearch-1.5B🌟** is a 1.5B parameter reasoning model trained with **Reinforcement Learning with Verifiable Rewards (RLVR)**, enhanced by **Monte Carlo Tree Search (MCTS)**.
|
| 78 |
Unlike prior approaches that restrict structured search to inference, DeepSearch integrates MCTS *into training*, enabling systematic exploration, fine-grained credit assignment, and efficient replay buffering.
|
| 79 |
|
| 80 |
-
This model achieves **state-of-the-art accuracy among 1.5B reasoning models** while being **
|
| 81 |
|
| 82 |

|
| 83 |
|
|
|
|
| 22 |
name: AIME 2024
|
| 23 |
type: text
|
| 24 |
metrics:
|
| 25 |
+
- type: avg@32
|
| 26 |
value: 53.65
|
| 27 |
- task:
|
| 28 |
name: Mathematical Reasoning
|
|
|
|
| 31 |
name: AIME 2025
|
| 32 |
type: text
|
| 33 |
metrics:
|
| 34 |
+
- type: avg@32
|
| 35 |
value: 35.42
|
| 36 |
- task:
|
| 37 |
name: Mathematical Reasoning
|
|
|
|
| 40 |
name: AMC 2023
|
| 41 |
type: text
|
| 42 |
metrics:
|
| 43 |
+
- type: avg@32
|
| 44 |
value: 90.39
|
| 45 |
- task:
|
| 46 |
name: Mathematical Reasoning
|
|
|
|
| 49 |
name: MATH500
|
| 50 |
type: text
|
| 51 |
metrics:
|
| 52 |
+
- type: avg@32
|
| 53 |
value: 92.53
|
| 54 |
- task:
|
| 55 |
name: Mathematical Reasoning
|
|
|
|
| 58 |
name: Minerva
|
| 59 |
type: text
|
| 60 |
metrics:
|
| 61 |
+
- type: avg@32
|
| 62 |
value: 40.00
|
| 63 |
- task:
|
| 64 |
name: Mathematical Reasoning
|
|
|
|
| 67 |
name: Olympiad
|
| 68 |
type: text
|
| 69 |
metrics:
|
| 70 |
+
- type: avg@32
|
| 71 |
value: 65.72
|
| 72 |
---
|
| 73 |
<div align="center">
|
|
|
|
| 77 |
**DeepSearch-1.5B🌟** is a 1.5B parameter reasoning model trained with **Reinforcement Learning with Verifiable Rewards (RLVR)**, enhanced by **Monte Carlo Tree Search (MCTS)**.
|
| 78 |
Unlike prior approaches that restrict structured search to inference, DeepSearch integrates MCTS *into training*, enabling systematic exploration, fine-grained credit assignment, and efficient replay buffering.
|
| 79 |
|
| 80 |
+
This model achieves **state-of-the-art accuracy among 1.5B reasoning models** while being **5.7× more compute-efficient** than extended RL training baselines.
|
| 81 |
|
| 82 |

|
| 83 |
|