Foreshhh commited on
Commit
ede4899
·
verified ·
1 Parent(s): a6b8fbd

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +121 -195
README.md CHANGED
@@ -7,206 +7,132 @@ metrics:
7
  base_model:
8
  - Qwen/Qwen3-VL-8B-Instruct
9
  pipeline_tag: image-text-to-text
10
- library_name: transformers
11
  tags:
12
  - toolcua
13
  - VLM
14
- - Compuer-Use-Agent
15
  - OS-Agent
16
  - GUI
17
  - MLLM-Agent
18
  ---
19
- # Model Card for Model ID
20
 
21
- <!-- Provide a quick summary of what the model is/does. -->
22
-
23
- This modelcard aims to be a base template for new models. It has been generated using [this raw template](https://github.com/huggingface/huggingface_hub/blob/main/src/huggingface_hub/templates/modelcard_template.md?plain=1).
24
-
25
- ## Model Details
26
-
27
- ### Model Description
28
-
29
- <!-- Provide a longer summary of what this model is. -->
30
-
31
-
32
-
33
- - **Developed by:** [More Information Needed]
34
- - **Funded by [optional]:** [More Information Needed]
35
- - **Shared by [optional]:** [More Information Needed]
36
- - **Model type:** [More Information Needed]
37
- - **Language(s) (NLP):** [More Information Needed]
38
- - **License:** [More Information Needed]
39
- - **Finetuned from model [optional]:** [More Information Needed]
40
-
41
- ### Model Sources [optional]
42
-
43
- <!-- Provide the basic links for the model. -->
44
-
45
- - **Repository:** [More Information Needed]
46
- - **Paper [optional]:** [More Information Needed]
47
- - **Demo [optional]:** [More Information Needed]
48
-
49
- ## Uses
50
-
51
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
52
-
53
- ### Direct Use
54
-
55
- <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
56
-
57
- [More Information Needed]
58
-
59
- ### Downstream Use [optional]
60
-
61
- <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
62
-
63
- [More Information Needed]
64
-
65
- ### Out-of-Scope Use
66
-
67
- <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
68
-
69
- [More Information Needed]
70
-
71
- ## Bias, Risks, and Limitations
72
-
73
- <!-- This section is meant to convey both technical and sociotechnical limitations. -->
74
-
75
- [More Information Needed]
76
-
77
- ### Recommendations
78
-
79
- <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
80
-
81
- Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
82
-
83
- ## How to Get Started with the Model
84
-
85
- Use the code below to get started with the model.
86
-
87
- [More Information Needed]
88
-
89
- ## Training Details
90
-
91
- ### Training Data
92
-
93
- <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
94
-
95
- [More Information Needed]
96
-
97
- ### Training Procedure
98
-
99
- <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
100
-
101
- #### Preprocessing [optional]
102
-
103
- [More Information Needed]
104
-
105
-
106
- #### Training Hyperparameters
107
-
108
- - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
109
-
110
- #### Speeds, Sizes, Times [optional]
111
-
112
- <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
113
-
114
- [More Information Needed]
115
-
116
- ## Evaluation
117
-
118
- <!-- This section describes the evaluation protocols and provides the results. -->
119
-
120
- ### Testing Data, Factors & Metrics
121
-
122
- #### Testing Data
123
-
124
- <!-- This should link to a Dataset Card if possible. -->
125
-
126
- [More Information Needed]
127
-
128
- #### Factors
129
-
130
- <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
131
-
132
- [More Information Needed]
133
-
134
- #### Metrics
135
-
136
- <!-- These are the evaluation metrics being used, ideally with a description of why. -->
137
-
138
- [More Information Needed]
139
-
140
- ### Results
141
-
142
- [More Information Needed]
143
-
144
- #### Summary
145
-
146
-
147
-
148
- ## Model Examination [optional]
149
-
150
- <!-- Relevant interpretability work for the model goes here -->
151
-
152
- [More Information Needed]
153
-
154
- ## Environmental Impact
155
-
156
- <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
157
-
158
- Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
159
-
160
- - **Hardware Type:** [More Information Needed]
161
- - **Hours used:** [More Information Needed]
162
- - **Cloud Provider:** [More Information Needed]
163
- - **Compute Region:** [More Information Needed]
164
- - **Carbon Emitted:** [More Information Needed]
165
-
166
- ## Technical Specifications [optional]
167
-
168
- ### Model Architecture and Objective
169
-
170
- [More Information Needed]
171
-
172
- ### Compute Infrastructure
173
-
174
- [More Information Needed]
175
-
176
- #### Hardware
177
-
178
- [More Information Needed]
179
-
180
- #### Software
181
-
182
- [More Information Needed]
183
-
184
- ## Citation [optional]
185
-
186
- <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
187
-
188
- **BibTeX:**
189
-
190
- [More Information Needed]
191
-
192
- **APA:**
193
-
194
- [More Information Needed]
195
-
196
- ## Glossary [optional]
197
-
198
- <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
199
-
200
- [More Information Needed]
201
-
202
- ## More Information [optional]
203
-
204
- [More Information Needed]
205
-
206
- ## Model Card Authors [optional]
207
-
208
- [More Information Needed]
209
-
210
- ## Model Card Contact
211
-
212
- [More Information Needed]
 
7
  base_model:
8
  - Qwen/Qwen3-VL-8B-Instruct
9
  pipeline_tag: image-text-to-text
10
+ library_name: transformers/
11
  tags:
12
  - toolcua
13
  - VLM
14
+ - Computer-Use-Agent
15
  - OS-Agent
16
  - GUI
17
  - MLLM-Agent
18
  ---
 
19
 
20
+ <h1 style="
21
+ font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
22
+ font-size:48px;
23
+ font-weight:700;
24
+ line-height:1.25;
25
+ text-align:center;
26
+ margin:0 0 24px;">
27
+ ToolCUA-8B
28
+ </h1>
29
+
30
+ <div style="
31
+ display:flex;
32
+ justify-content:center;
33
+ gap:12px;
34
+ flex-wrap:wrap;
35
+ margin-bottom:28px;">
36
+
37
+ <a href="https://x-plug.github.io/ToolCUA/" style="
38
+ display:inline-block;
39
+ padding:8px 24px;
40
+ background:#2b2b2b;
41
+ color:#ffffff;
42
+ border-radius:36px;
43
+ text-decoration:none;
44
+ font-weight:600;
45
+ font-size:16px;">
46
+ 🌐 Website
47
+ </a>
48
+
49
+ <a href="https://arxiv.org/abs/2508.09123" style="
50
+ display:inline-block;
51
+ padding:8px 24px;
52
+ background:#2b2b2b;
53
+ color:#ffffff;
54
+ border-radius:36px;
55
+ text-decoration:none;
56
+ font-weight:600;
57
+ font-size:16px;">
58
+ 📑 Paper
59
+ </a>
60
+
61
+ <a href="https://github.com/X-PLUG/ToolCUA" style="
62
+ display:inline-block;
63
+ padding:8px 24px;
64
+ background:#2b2b2b;
65
+ color:#ffffff;
66
+ border-radius:36px;
67
+ text-decoration:none;
68
+ font-weight:600;
69
+ font-size:16px;">
70
+ 💻 Code
71
+ </a>
72
+
73
+ </div>
74
+
75
+ ToolCUA-8B is an end-to-end computer-use agent for orchestrating GUI actions and structured tool calls. It learns when to continue through GUI interaction, when to invoke tools, and when to switch back, enabling shorter and more reliable desktop task trajectories.
76
+
77
+ <p align="center">
78
+ <img src="https://github.com/X-PLUG/ToolCUA/raw/main/assets/main_teaser.png" width="760" alt="ToolCUA teaser">
79
+ </p>
80
+
81
+ ## Method
82
+
83
+ ToolCUA uses a staged training pipeline for GUI-Tool path selection:
84
+
85
+ 1. Scale interleaved GUI-Tool trajectories from existing GUI-only data via trajectory-aware tool synthesis.
86
+ 2. Apply Tool-Bootstrapped GUI RFT to learn tool-calling behavior and calibrate local switching decisions.
87
+ 3. Optimize with Online Agentic RL in a GUI-Tool environment using a Tool-Efficient Path Reward for appropriate tool use and shorter execution paths.
88
+
89
+ <p align="center">
90
+ <img src="https://github.com/X-PLUG/ToolCUA/raw/main/assets/method_overview.png" width="760" alt="ToolCUA method overview">
91
+ </p>
92
+
93
+ ## Results
94
+
95
+ On feasible OSWorld-MCP tasks, ToolCUA-8B reaches **46.85%** overall accuracy, **24.32%** Tool Invocation Rate (TIR), and **14.93** Average Completion Steps (ACS). Compared with Qwen3-VL-8B-Instruct, it improves accuracy by **+18.62**, improves TIR by **+15.91**, and reduces ACS by **4.41** steps.
96
+
97
+ <p align="center">
98
+ <img src="https://github.com/X-PLUG/ToolCUA/raw/main/assets/main_results.png" width="760" alt="ToolCUA main results">
99
+ </p>
100
+
101
+ <p align="center">
102
+ <img src="https://github.com/X-PLUG/ToolCUA/raw/main/assets/app_results.png" width="760" alt="ToolCUA application results">
103
+ </p>
104
+
105
+ ## vLLM Serve
106
+
107
+ We recommend vLLM for deployment. Use `vllm>=0.12.0` and enable `--trust-remote-code`.
108
+
109
+ ```bash
110
+ MAX_IMAGE=${MAX_IMAGE:-5}
111
+ IMAGE_LIMIT_ARGS='{"image": '"$MAX_IMAGE"'}'
112
+ PIXEL_ARGS='{"size": {"longest_edge": 3072000, "shortest_edge": 65536}}'
113
+
114
+ vllm serve X-PLUG/ToolCUA-8B \
115
+ --trust-remote-code \
116
+ --max-model-len 32768 \
117
+ --mm-processor-kwargs "$PIXEL_ARGS" \
118
+ --limit-mm-per-prompt "$IMAGE_LIMIT_ARGS" \
119
+ --tensor-parallel-size 1 \
120
+ --allowed-local-media-path '/' \
121
+ --port 4243 \
122
+ --gpu-memory-utilization 0.85 \
123
+ --mm-processor-cache-gb 0 \
124
+ --no-enable-prefix-caching \
125
+ --enforce-eager \
126
+ --max-logprobs 50
127
+ ```
128
+
129
+ ## Citation
130
+
131
+ ```bibtex
132
+ @article{hu2026toolcua,
133
+ title={ToolCUA: Towards Optimal GUI-Tool Path Orchestration for Computer Use Agents},
134
+ author={Hu, Xuhao and Zhang, Xi and Xu, Haiyang and Qiao, Kyle and Yang, Jingyi and Huang, Xuanjing and Shao, Jing and Yan, Ming and Ye, Jieping},
135
+ journal={arXiv preprint arXiv:2508.09123},
136
+ year={2026}
137
+ }
138
+ ```