adriandj3 commited on
Commit
a3e7c27
·
verified ·
1 Parent(s): b0693db

Benchmark results: ScreenSpot-v2, ScreenSpot-Pro, GUI-360 grounding and actions

Browse files
.gitattributes CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  TernaryPilot-v2-Ternary-Bonsai-2-9B-LoRA-F16.gguf filter=lfs diff=lfs merge=lfs -text
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  TernaryPilot-v2-Ternary-Bonsai-2-9B-LoRA-F16.gguf filter=lfs diff=lfs merge=lfs -text
37
+ assets/bench.png filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -43,6 +43,9 @@ Screenshot in, a point or the next action out. Trained from scratch on 60,516 ex
43
 
44
  [![latest](https://img.shields.io/badge/version-v2_latest-brightgreen)](#)
45
  [![llama.cpp](https://img.shields.io/badge/llama.cpp-GGUF_F16_LoRA-2b6cb0)](#how-to-use-it)
 
 
 
46
  [![data](https://img.shields.io/badge/data-60.5k_examples_·_32k_screenshots-6b46c1)](#how-i-trained-it)
47
  [![trained on](https://img.shields.io/badge/trained_on-RTX_PRO_6000_Blackwell-76b900)](#how-i-trained-it)
48
  [![GitHub](https://img.shields.io/badge/GitHub-ArtyomITA-181717?logo=github)](https://github.com/ArtyomITA)
@@ -60,19 +63,78 @@ By **Adrian Ciprian Iancu** · [GitHub](https://github.com/ArtyomITA) · [Huggin
60
  Every case is asked to the base model (adapter at scale 0) and to v2 on the same llama.cpp server. Greedy decoding,
61
  images at 1024 tokens, `Ternary-Bonsai-2-9B-PQ2_0-MTP-Q8_0.gguf` with the Q8_0 vision projector.
62
 
63
- **Benchmarks are running now** (full ScreenSpot-v2, full ScreenSpot-Pro, GUI-360 test grounding and actions, base model against v2 on the same server). This section is filled in as soon as they finish.
 
 
 
 
 
 
 
 
 
 
64
 
65
  ## Pick a file
66
 
67
  | file | for | size | what it is |
68
  |---|---|---:|---|
69
- | `TernaryPilot-v2-Ternary-Bonsai-2-9B-LoRA-F16.gguf` | llama.cpp (PrismML fork) `--lora` | uploading after training | rank 64, alpha 128, F16 |
70
  | `eval/` | checking my numbers | small | summaries and every answer of the base model and v2 on each benchmark |
71
  | `training/` | rebuilding it | small | data builder, trainer (Blackwell dense mode), benchmark runner |
72
 
73
  ## Results
74
 
75
- **Benchmarks are running now** (full ScreenSpot-v2, full ScreenSpot-Pro, GUI-360 test grounding and actions, base model against v2 on the same server). This section is filled in as soon as they finish.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
 
77
  ## How to use it
78
 
@@ -127,7 +189,7 @@ Coordinates are on a 0-1000 grid over the image you send.
127
  the PrismML format), weights frozen, LoRA on the attention, GatedDeltaNet and MLP projections of all 32 layers. Exported
128
  in the GGUF LoRA format the fork reads with `--lora`.
129
  - **Run:** rank 64, alpha 128, AdamW lr 1e-4, warmup, constant, final decay over the last 15%, gradient accumulation 8,
130
- 2.5 hours of training, about a third of the dataset seen once. Fresh start from random LoRA weights.
131
  - **Speed on one RTX PRO 6000 Blackwell:** frozen ternary weights unpacked once to BF16 (the 1080 kit unpacks them at
132
  every use), vision encoded on the fly and shared by all examples of the same screenshot, gradient checkpointing only
133
  above 3,072 tokens. About 0.4 s per example, against 6 to 9 s with the same kit on a GTX 1080.
@@ -148,12 +210,16 @@ Coordinates are on a 0-1000 grid over the image you send.
148
 
149
  ## How much to trust this
150
 
151
- Filled in with the results: sample sizes, what each benchmark measures and where the numbers can mislead.
 
 
152
 
153
  ## Limitations
154
 
155
  - **No safety layer.** It predicts actions, it does not judge them. Keep a human in the loop for anything that deletes,
156
  buys or sends.
 
 
157
  - **English prompts.** Screens in other languages work but were not tuned for.
158
  - **Professional apps are still hard** (ScreenSpot-Pro: high-resolution screens with tiny targets).
159
  - **Speed:** with the adapter active, decoding is slower than the bare base model; measure it on your card.
 
43
 
44
  [![latest](https://img.shields.io/badge/version-v2_latest-brightgreen)](#)
45
  [![llama.cpp](https://img.shields.io/badge/llama.cpp-GGUF_F16_LoRA-2b6cb0)](#how-to-use-it)
46
+ [![ScreenSpot-v2 desktop+web](https://img.shields.io/badge/ScreenSpot--v2_desktop+web-37.0→71.5%25-0f766e)](#results-at-a-glance)
47
+ [![GUI-360 grounding](https://img.shields.io/badge/GUI--360_grounding-16.9→66.4%25-0f766e)](#results-at-a-glance)
48
+ [![GUI-360 actions](https://img.shields.io/badge/GUI--360_actions-0.5→42.2%25-0f766e)](#results-at-a-glance)
49
  [![data](https://img.shields.io/badge/data-60.5k_examples_·_32k_screenshots-6b46c1)](#how-i-trained-it)
50
  [![trained on](https://img.shields.io/badge/trained_on-RTX_PRO_6000_Blackwell-76b900)](#how-i-trained-it)
51
  [![GitHub](https://img.shields.io/badge/GitHub-ArtyomITA-181717?logo=github)](https://github.com/ArtyomITA)
 
63
  Every case is asked to the base model (adapter at scale 0) and to v2 on the same llama.cpp server. Greedy decoding,
64
  images at 1024 tokens, `Ternary-Bonsai-2-9B-PQ2_0-MTP-Q8_0.gguf` with the Q8_0 vision projector.
65
 
66
+ <p align="center"><img src="https://huggingface.co/adriandj3/TernaryPilot-v2-Computer-Browser-Use-LoRA/resolve/main/assets/bench.png" alt="Base model and TernaryPilot v2 on four public GUI benchmarks" width="100%"></p>
67
+
68
+ | benchmark | cases | base model | TernaryPilot v2 | gain |
69
+ |---|---:|---:|---:|---:|
70
+ | ScreenSpot-v2 | 1,272 | 46.5% | **60.7%** | +14.2 |
71
+ | ScreenSpot-v2, desktop + web only | 771 | 37.0% | **71.5%** | +34.5 |
72
+ | ScreenSpot-Pro | 423 | 1.7% | **11.1%** | +9.4 |
73
+ | GUI-360 grounding | 2,000 | 16.9% | **66.4%** | +49.5 |
74
+ | GUI-360 actions | 1,192 | 0.5% | **42.2%** | +41.7 |
75
+
76
+ The machine had a fixed stop time, so some runs were cut before the end. ScreenSpot-Pro ran the first 423 of 1,581 cases in the benchmark's file order, which goes application by application, so later applications are missing (not a random sample); GUI-360 actions ran 1,192 of its 2,000 sampled cases, asked in random order, so they are a random subset.
77
 
78
  ## Pick a file
79
 
80
  | file | for | size | what it is |
81
  |---|---|---:|---|
82
+ | `TernaryPilot-v2-Ternary-Bonsai-2-9B-LoRA-F16.gguf` | llama.cpp (PrismML fork) `--lora` | 321 MB | rank 64, alpha 128, F16 |
83
  | `eval/` | checking my numbers | small | summaries and every answer of the base model and v2 on each benchmark |
84
  | `training/` | rebuilding it | small | data builder, trainer (Blackwell dense mode), benchmark runner |
85
 
86
  ## Results
87
 
88
+ **ScreenSpot-v2** by platform and target type:
89
+
90
+ | platform / type | cases | base | v2 |
91
+ |---|---:|---:|---:|
92
+ | mobile-text | 290 | **68.3%** | 52.8% |
93
+ | web-text | 234 | 40.6% | **82.9%** |
94
+ | mobile-icon | 211 | **51.7%** | 32.2% |
95
+ | web-icon | 203 | 30.5% | **66.5%** |
96
+ | desktop-text | 194 | 39.2% | **73.7%** |
97
+ | desktop-icon | 140 | 37.1% | **56.4%** |
98
+
99
+ **ScreenSpot-Pro** (professional apps on high-resolution screens) by application group:
100
+
101
+ | application group | cases | base | v2 |
102
+ |---|---:|---:|---:|
103
+ | Creative | 195 | 1.0% | **9.7%** |
104
+ | Dev | 80 | 1.2% | **7.5%** |
105
+ | Office | 64 | 1.6% | **14.1%** |
106
+ | Scientific | 50 | 6.0% | **26.0%** |
107
+ | CAD | 34 | **0.0%** | **0.0%** |
108
+
109
+ and by target type:
110
+
111
+ | target | cases | base | v2 |
112
+ |---|---:|---:|---:|
113
+ | text | 269 | 2.2% | **14.9%** |
114
+ | icon | 154 | 0.6% | **4.5%** |
115
+
116
+ **GUI-360 grounding** (click the control the agent's thought refers to) by app:
117
+
118
+ | app | cases | base | v2 |
119
+ |---|---:|---:|---:|
120
+ | word | 848 | 24.4% | **71.0%** |
121
+ | excel | 620 | 9.7% | **63.2%** |
122
+ | ppt | 532 | 13.2% | **62.8%** |
123
+
124
+ **GUI-360 actions** (task + history + screen: right action type and, for clicks and typing, the point inside the control) by action and by app:
125
+
126
+ | action | cases | base | v2 |
127
+ |---|---:|---:|---:|
128
+ | click | 927 | 0.0% | **43.4%** |
129
+ | type | 243 | 0.0% | **37.9%** |
130
+ | wheel_mouse_input | 20 | 30.0% | **45.0%** |
131
+ | drag | 2 | **0.0%** | **0.0%** |
132
+
133
+ | app | cases | base | v2 |
134
+ |---|---:|---:|---:|
135
+ | word | 491 | 0.2% | **44.2%** |
136
+ | excel | 371 | 0.3% | **38.8%** |
137
+ | ppt | 330 | 1.2% | **43.0%** |
138
 
139
  ## How to use it
140
 
 
189
  the PrismML format), weights frozen, LoRA on the attention, GatedDeltaNet and MLP projections of all 32 layers. Exported
190
  in the GGUF LoRA format the fork reads with `--lora`.
191
  - **Run:** rank 64, alpha 128, AdamW lr 1e-4, warmup, constant, final decay over the last 15%, gradient accumulation 8,
192
+ 2.5 hours of training, about 21,000 examples seen once (35% of the dataset). Fresh start from random LoRA weights.
193
  - **Speed on one RTX PRO 6000 Blackwell:** frozen ternary weights unpacked once to BF16 (the 1080 kit unpacks them at
194
  every use), vision encoded on the fly and shared by all examples of the same screenshot, gradient checkpointing only
195
  above 3,072 tokens. About 0.4 s per example, against 6 to 9 s with the same kit on a GTX 1080.
 
210
 
211
  ## How much to trust this
212
 
213
+ - Every number is a full public benchmark or a random sample of one, run on the same server for the base model and v2, greedy. A hit is a point inside the target box, with no tolerance.
214
+ - ScreenSpot-v2 and ScreenSpot-Pro screenshots were filtered out of the training data by perceptual hash; GUI-360 test is a separate official split of the same dataset as part of the training data, so it is in-domain for v2.
215
+ - One run per benchmark, so expect a point or two of noise on the smaller groups.
216
 
217
  ## Limitations
218
 
219
  - **No safety layer.** It predicts actions, it does not judge them. Keep a human in the loop for anything that deletes,
220
  buys or sends.
221
+ - **No phone screens in the data.** On ScreenSpot-v2 mobile text targets it is below the base model; use it for desktop and web.
222
+ - **Short element names** ("the Save button") are its weakest kind of click target: most of its click data are agent thoughts and action descriptions, which is where the GUI-360 numbers come from.
223
  - **English prompts.** Screens in other languages work but were not tuned for.
224
  - **Professional apps are still hard** (ScreenSpot-Pro: high-resolution screens with tiny targets).
225
  - **Speed:** with the adapter active, decoding is slower than the bare base model; measure it on your card.
assets/bench.png ADDED

Git LFS Details

  • SHA256: db33820421edd0e71ecfd6cedb20f35274be34935efec170954d9ec8c1863bee
  • Pointer size: 131 Bytes
  • Size of remote file: 130 kB
eval/banco-g360a.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
eval/banco-g360g.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
eval/banco-ss2.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
eval/banco-sspro.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
eval/tables.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ## v2 glance
2
+ | benchmark | cases | base model | TernaryPilot v2 | gain |
3
+ |---|---:|---:|---:|---:|
4
+ | ScreenSpot-v2 | 1,272 | 46.5% | **60.7%** | +14.2 |
5
+ | ScreenSpot-v2, desktop + web only | 771 | 37.0% | **71.5%** | +34.5 |
6
+ | ScreenSpot-Pro | 423 | 1.7% | **11.1%** | +9.4 |
7
+ | GUI-360 grounding | 2,000 | 16.9% | **66.4%** | +49.5 |
8
+ | GUI-360 actions | 1,192 | 0.5% | **42.2%** | +41.7 |
9
+
10
+ ## v1 page
11
+ | benchmark | cases | base model | v1 | v2 |
12
+ |---|---:|---:|---:|---:|
13
+ | ScreenSpot-v2 | 1,272 | 46.5% | **80.5%** | 60.7% |
14
+ | ScreenSpot-Pro | 423 | 1.7% | 6.4% | **11.1%** |
15
+ | GUI-360 grounding | 2,000 | 16.9% | 42.2% | **66.4%** |
16
+ | GUI-360 actions | 1,192 | 0.5% | 17.3% | **42.2%** |
17
+
18
+ ## ss2 by platform and type
19
+ | platform / type | cases | base | v2 |
20
+ |---|---:|---:|---:|
21
+ | mobile-text | 290 | **68.3%** | 52.8% |
22
+ | web-text | 234 | 40.6% | **82.9%** |
23
+ | mobile-icon | 211 | **51.7%** | 32.2% |
24
+ | web-icon | 203 | 30.5% | **66.5%** |
25
+ | desktop-text | 194 | 39.2% | **73.7%** |
26
+ | desktop-icon | 140 | 37.1% | **56.4%** |
27
+
28
+ ## sspro by application group
29
+ | application group | cases | base | v2 |
30
+ |---|---:|---:|---:|
31
+ | Creative | 195 | 1.0% | **9.7%** |
32
+ | Dev | 80 | 1.2% | **7.5%** |
33
+ | Office | 64 | 1.6% | **14.1%** |
34
+ | Scientific | 50 | 6.0% | **26.0%** |
35
+ | CAD | 34 | **0.0%** | **0.0%** |
36
+
37
+ ## sspro by target type
38
+ | target | cases | base | v2 |
39
+ |---|---:|---:|---:|
40
+ | text | 269 | 2.2% | **14.9%** |
41
+ | icon | 154 | 0.6% | **4.5%** |
42
+
43
+ ## g360g by app
44
+ | app | cases | base | v2 |
45
+ |---|---:|---:|---:|
46
+ | word | 848 | 24.4% | **71.0%** |
47
+ | excel | 620 | 9.7% | **63.2%** |
48
+ | ppt | 532 | 13.2% | **62.8%** |
49
+
50
+ ## g360a by action
51
+ | action | cases | base | v2 |
52
+ |---|---:|---:|---:|
53
+ | click | 927 | 0.0% | **43.4%** |
54
+ | type | 243 | 0.0% | **37.9%** |
55
+ | wheel_mouse_input | 20 | 30.0% | **45.0%** |
56
+ | drag | 2 | **0.0%** | **0.0%** |
57
+
58
+ ## g360a by app
59
+ | app | cases | base | v2 |
60
+ |---|---:|---:|---:|
61
+ | word | 491 | 0.2% | **44.2%** |
62
+ | excel | 371 | 0.3% | **38.8%** |
63
+ | ppt | 330 | 1.2% | **43.0%** |
64
+
65
+ ## decider public
66
+ | set | language | questions | base | **TernaryDecider v1** | gain |
67
+ |---|---|---:|---:|---:|---:|
68
+ | BoolQ (validation) | en | 1,000 | 83.2% | **89.8%** | +6.6 |
69
+ | Civil Comments, toxic? (test) | en | 1,000 | 80.6% | **91.3%** | +10.7 |
70
+ | MASSIVE intent, 8 options (test) | en | 1,000 | 91.2% | **97.5%** | +6.3 |
71
+ | MASSIVE intent, 8 options (test) | it | 1,000 | 88.5% | **96.7%** | +8.2 |
72
+ | PAWS-X (test) | de | 1,000 | 73.1% | **89.8%** | +16.7 |
73
+ | PAWS-X (test) | en | 1,000 | 78.9% | **93.5%** | +14.6 |
74
+ | PAWS-X (test) | es | 1,000 | 74.8% | **89.6%** | +14.8 |
75
+ | PAWS-X (test) | fr | 1,000 | 73.4% | **89.8%** | +16.4 |
76
+ | SQuAD 2.0, answerable? (validation) | en | 1,000 | 83.1% | **90.2%** | +7.1 |
77
+ | XNLI (test) | de | 1,000 | 72.2% | **82.3%** | +10.1 |
78
+ | XNLI (test) | en | 1,000 | 79.5% | **88.3%** | +8.8 |
79
+ | XNLI (test) | es | 1,000 | 74.8% | **83.6%** | +8.8 |
80
+ | XNLI (test) | fr | 1,000 | 71.3% | **82.5%** | +11.2 |
81
+ | **all 13 sets** | 5 languages | 13,000 | 78.8% | **89.6%** | +10.8 |
82
+
83
+ public overall base 78.8 lora 89.6 n 13000