Text Generation
Transformers
Safetensors
qwen3
tool-calling
bfcl
agentic-rl
progress-reward
online-synthesis
conversational
text-generation-inference
Instructions to use muradil211/ToolWeave_stage3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use muradil211/ToolWeave_stage3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="muradil211/ToolWeave_stage3") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("muradil211/ToolWeave_stage3") model = AutoModelForCausalLM.from_pretrained("muradil211/ToolWeave_stage3", 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=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use muradil211/ToolWeave_stage3 with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "muradil211/ToolWeave_stage3" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "muradil211/ToolWeave_stage3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/muradil211/ToolWeave_stage3
- SGLang
How to use muradil211/ToolWeave_stage3 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 "muradil211/ToolWeave_stage3" \ --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": "muradil211/ToolWeave_stage3", "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 "muradil211/ToolWeave_stage3" \ --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": "muradil211/ToolWeave_stage3", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use muradil211/ToolWeave_stage3 with Docker Model Runner:
docker model run hf.co/muradil211/ToolWeave_stage3
docs: publish final Stage 3 model card
Browse files
README.md
CHANGED
|
@@ -5,7 +5,9 @@ tags:
|
|
| 5 |
- qwen3
|
| 6 |
- tool-calling
|
| 7 |
- bfcl
|
| 8 |
-
-
|
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
<div align="center">
|
|
@@ -14,8 +16,8 @@ tags:
|
|
| 14 |
|
| 15 |
<h1>ToolWeave · Stage 3</h1>
|
| 16 |
|
| 17 |
-
<p><strong>🧭 Boundary-Guided Online
|
| 18 |
-
<p>
|
| 19 |
|
| 20 |
<p>
|
| 21 |
<a href="https://github.com/Muradil-mamat-211/ToolWeave">🧵 Project</a>
|
|
@@ -23,18 +25,19 @@ tags:
|
|
| 23 |
|
| 24 |
</div>
|
| 25 |
|
| 26 |
-
>
|
| 27 |
|
| 28 |
## 🧭 At a glance
|
| 29 |
|
| 30 |
| Field | Details |
|
| 31 |
|---|---|
|
| 32 |
-
| 🧠
|
| 33 |
-
| 🪜
|
| 34 |
-
|
|
| 35 |
-
|
|
|
|
|
| 36 |
|
| 37 |
-
|
| 38 |
|
| 39 |
## 🚀 Usage
|
| 40 |
|
|
@@ -48,8 +51,6 @@ model = AutoModelForCausalLM.from_pretrained(model_id, device_map="auto")
|
|
| 48 |
|
| 49 |
Tool-use inference requires the model's function schemas and the Qwen3-compatible tool-call format.
|
| 50 |
|
| 51 |
-
## 🔗
|
| 52 |
|
| 53 |
- [🧵 ToolWeave project](https://github.com/Muradil-mamat-211/ToolWeave)
|
| 54 |
-
- [🤗 Upstream RODS model](https://huggingface.co/RuishanFang/Qwen3-4B-RODS)
|
| 55 |
-
- [📄 RODS paper](https://arxiv.org/abs/2606.19047)
|
|
|
|
| 5 |
- qwen3
|
| 6 |
- tool-calling
|
| 7 |
- bfcl
|
| 8 |
+
- agentic-rl
|
| 9 |
+
- progress-reward
|
| 10 |
+
- online-synthesis
|
| 11 |
---
|
| 12 |
|
| 13 |
<div align="center">
|
|
|
|
| 16 |
|
| 17 |
<h1>ToolWeave · Stage 3</h1>
|
| 18 |
|
| 19 |
+
<p><strong>🧭 Boundary-Guided Online Reinforcement Learning</strong></p>
|
| 20 |
+
<p>Verified online data synthesis for multi-turn tool-calling agents.</p>
|
| 21 |
|
| 22 |
<p>
|
| 23 |
<a href="https://github.com/Muradil-mamat-211/ToolWeave">🧵 Project</a>
|
|
|
|
| 25 |
|
| 26 |
</div>
|
| 27 |
|
| 28 |
+
> ✅ **Release status:** final ToolWeave Stage 3 model.
|
| 29 |
|
| 30 |
## 🧭 At a glance
|
| 31 |
|
| 32 |
| Field | Details |
|
| 33 |
|---|---|
|
| 34 |
+
| 🧠 Base family | Qwen3-4B-Instruct |
|
| 35 |
+
| 🪜 Curriculum stage | Stage 3 — Boundary-Guided Online Learning |
|
| 36 |
+
| 🧱 Starting point | ToolWeave Stage 2 update 25 |
|
| 37 |
+
| 🎛️ Training signal | Verified online data synthesis + multi-turn Progress Reward |
|
| 38 |
+
| ✅ Release status | Final ToolWeave Stage 3 model |
|
| 39 |
|
| 40 |
+
ToolWeave Stage 3 expands multi-turn tool-use learning through capability-boundary detection, verified online data synthesis, strict execution and semantic validation, dynamic replay, and combined global/local tool-call credit.
|
| 41 |
|
| 42 |
## 🚀 Usage
|
| 43 |
|
|
|
|
| 51 |
|
| 52 |
Tool-use inference requires the model's function schemas and the Qwen3-compatible tool-call format.
|
| 53 |
|
| 54 |
+
## 🔗 Links
|
| 55 |
|
| 56 |
- [🧵 ToolWeave project](https://github.com/Muradil-mamat-211/ToolWeave)
|
|
|
|
|
|