File size: 17,775 Bytes
9da837f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34749d0
a5c05d6
9da837f
31866f8
9da837f
0676e9f
9da837f
0676e9f
9da837f
0676e9f
 
 
 
 
9da837f
 
0676e9f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9da837f
0676e9f
 
 
9da837f
0676e9f
9da837f
 
 
0676e9f
9da837f
54c629e
9da837f
0676e9f
9da837f
 
 
e347130
9da837f
 
0676e9f
9da837f
e347130
9da837f
0676e9f
 
 
 
 
 
 
 
 
 
 
 
9da837f
 
 
86a3ed7
 
 
 
 
 
 
 
2bc1b2f
86a3ed7
2bc1b2f
86a3ed7
34749d0
 
 
 
 
 
 
fea7025
 
 
34749d0
 
 
 
 
fea7025
86a3ed7
34749d0
 
2bc1b2f
86a3ed7
2bc1b2f
86a3ed7
34749d0
86a3ed7
 
 
fea7025
 
34749d0
fea7025
86a3ed7
 
 
 
 
9da837f
 
 
 
 
 
 
 
 
 
 
 
 
b0bb099
9da837f
 
 
 
 
 
 
31866f8
9da837f
 
 
 
5636a20
9da837f
 
 
 
 
5636a20
9da837f
 
 
5636a20
9da837f
 
 
 
 
 
 
 
 
 
5636a20
9da837f
 
5636a20
 
 
 
 
9da837f
 
 
 
 
5636a20
9da837f
 
5636a20
9da837f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31866f8
9da837f
 
 
 
 
31866f8
9da837f
 
 
 
 
 
 
 
31866f8
34749d0
9da837f
 
 
34749d0
9da837f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0116efe
9da837f
 
 
 
 
 
 
 
 
 
 
34749d0
9da837f
 
 
 
 
 
 
 
2614b60
 
 
 
 
 
 
 
 
 
 
 
 
9da837f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
---
license: apache-2.0
base_model:
- KORMo-VL/KORMo-VL
language:
- ko
- en
pipeline_tag: image-text-to-text
library_name: transformers
tags:
- gui-agent
- web-agent
- computer-use
- browser
- korean
---

<style>
#kormo-web-card { font-size: 16px; line-height: 1.6; overflow-wrap: break-word; }
#kormo-web-card h1 { margin: 0 0 12px; font-size: 30px; line-height: 1.25; letter-spacing: -0.018em; }
#kormo-web-card h2 { margin: 30px 0 10px; font-size: 22px; line-height: 1.3; letter-spacing: -0.012em; }
#kormo-web-card h3 { margin: 22px 0 8px; font-size: 17px; font-weight: 700; line-height: 1.4; }
#kormo-web-card h2 + h3 { margin-top: 14px; }
#kormo-web-card p { margin: 0 0 10px; }
#kormo-web-card ul, #kormo-web-card ol { margin: 6px 0 12px; padding-left: 22px; }
#kormo-web-card li { margin: 4px 0; line-height: 1.55; }
#kormo-web-card table { width: 100%; margin: 6px 0 14px; border-collapse: collapse; font-size: 14px; line-height: 1.45; font-variant-numeric: tabular-nums; }
#kormo-web-card th, #kormo-web-card td { padding: 7px 10px; vertical-align: middle; }
#kormo-web-card blockquote { margin: 12px 0 16px; padding: 0 0 0 14px; font-size: 15px; }
#kormo-web-card blockquote p { margin: 0; }
#kormo-web-card pre { margin: 10px 0 14px; padding: 14px 16px; overflow-x: auto; line-height: 1.5; }
#kormo-web-card pre code { font-size: 13px; }
#kormo-web-card > p:has(> em:only-child) { margin: 4px 0 14px; font-size: 13px; }
#kormo-web-card .pills { margin: 4px 0 18px; }
#kormo-web-card .pill { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; border-radius: 999px; border: 1px solid rgba(127,127,127,.35); font-size: 13px; }
@media (max-width: 640px) {
  #kormo-web-card h1 { font-size: 26px; }
  #kormo-web-card table { font-size: 13px; }
  #kormo-web-card th, #kormo-web-card td { padding: 7px 6px; }
}
</style>

<div id="kormo-web-card">
<video src="https://huggingface.co/KORMo-VL/KORMo-Web-11B/resolve/main/assets/gui_final_demo_masked.mp4" controls autoplay muted loop playsinline width="100%"></video>


# KORMo-Web-11B

### One Model. Three Capabilities: LLM, VLM, and Web Agent.

**KORMo-Web-11B**는 KAIST MLP 연구실이 처음부터 구축한 KORMo 파운데이션 모델을 기반으로, **LLM·VLM·GUI Agent 능력을 모두 갖춘 범용 멀티모달 AI 모델**입니다.

- **하나의 모델, 세 가지 능력:** 일반적인 질문에는 LLM으로 답변하고, 이미지 이해가 필요한 경우 VLM으로, **웹 조작이 필요한 요청에는 GUI Agent로 작동**합니다.
- **독자 파운데이션 모델 기반:** From-scratch로 학습한 KORMo-10B를 KORMo-VL로 확장하고, 기존 언어·시각 이해 능력을 유지하도록 학습한 웹 에이전트로 **생각\<Think\> 또한 유일하게 한국어**로 하는 모델입니다.
- **대규모 웹 사전학습:** 1,000만 건 이상의 한영 웹 학습 샘플로 UI 요소의 위치·의미·구조·기능 등을 세밀하게 학습했습니다.
- **실제 웹 행동 학습:** 10만 건 이상의 한영 웹 사용 궤적을 활용해 복잡한 다단계 웹 작업을 수행합니다.
- **완전 공개 및 상업적 활용:** 모델 가중치와 학습·평가 리소스를 공개하며, **Apache-2.0 라이선스에 따라 상업적 이용과 수정·재배포가 가능**합니다.


**KORMo-Web-11B** is a general-purpose bilingual AI model built on the **KORMo foundation model family**, developed by KAIST MLP Lab starting from a language model trained entirely from scratch. Unlike our Qwen-based KORMo-Web-4B and 9B models, which focus on maximizing web task performance, **KORMo-Web-11B is designed to preserve its original LLM and VLM capabilities while learning to act as a GUI agent.** It can understand Korean and English text, interpret images, and complete real browser tasks by visually navigating webpages—**all within a single model.**

## What Makes KORMo-Web-11B Different?

- **Built on Our Own Foundation Model:** Developed from the KORMo-10B language model, trained from scratch by KAIST MLP Lab, and extended through KORMo-VL into a web agent.
- **Three Capabilities in One Model:** Designed to retain general **LLM reasoning and VLM understanding** while adding GUI interaction capabilities, rather than optimizing exclusively for web navigation.
- **10M+ Atomic-Level Web Pretraining Samples:** Large-scale Korean and English web understanding training, covering individual UI elements, their locations, layouts, functions, and states.
- **100K+ Web Interaction Trajectories:** Bilingual browser demonstrations for learning real-world, multi-step web tasks.
- **Open and Commercially Usable:** Model weights and supporting resources are openly released under **Apache-2.0**, allowing commercial use, modification, and redistribution subject to the license terms.

## From a Korean LLM to a General-Purpose Web Agent

KORMo-Web-11B extends our independently developed Korean–English foundation model through three stages:

| Stage | Model | Capabilities |
|---|---|---|
| 1. Language | [KORMo-10B](https://huggingface.co/KORMo-Team/KORMo-10B-sft) | Korean–English LLM trained from scratch with a Korean-optimized tokenizer |
| 2. Vision | [KORMo-VL](https://huggingface.co/KORMo-VL/KORMo-VL) | Multimodal understanding through a SigLIP vision encoder and KORMo language backbone |
| 3. Web Agent | **KORMo-Web-11B** | Large-scale web pretraining and action learning for visual browser interaction |

**The goal is not just a better web agent, but a versatile model that can understand language, interpret visual information, and interact with the web.**

## Performance

We evaluated KORMo-Web-11B on **612 live-website tasks** (300 English, 312 Korean) from Online-Mind2Web, using the same LLM judge across all evaluated models.

| Model | Size | Online-Mind2Web EN | Online-Mind2Web KO |
|---|---:|---:|---:|
| Qwen3.5-9B (base) | 9B | 24.7 | 16.7 |
| Fara-1.5-4B | 4B | 20.7 | 7.7 |
| UI-TARS-1.5-7B | 7B | 22.3 | 20.2 |
| OpenWebRL-4B | 4B | 32.7 | 15.4 |
| **KORMo-Web-11B (ours)** | **11B** | **31.3** | **33.7** |
| GPT-6-luna (proprietary) | – | 63.0 | 65.7 |

*Success rates are calculated over the full task set, including failed or incomplete runs. Each agent uses its own prompt and action format.*

KORMo-Web-11B achieves **33.7% Korean task success**, exceeding the strongest non-KORMo open-weight baseline listed above by **13.5 percentage points**.

While our specialized KORMo-Web-4B and 9B models achieve higher web task success, **KORMo-Web-11B prioritizes versatility across language, vision, and GUI interaction**, rather than web-only optimization.

## Why KORMo-Web-11B?

- **Korean from the Ground Up:** Built upon our independently pretrained Korean–English foundation model.
- **General-Purpose Multimodal AI:** Supports text-based language tasks, visual understanding, and browser interactions within one model.
- **Visual-First Web Interaction:** Operates primarily through screenshots without requiring full DOM or accessibility trees.
- **Think, Then Act:** Generates an inspectable reasoning step before executing browser actions.
- **Commercial Use Permitted:** Released under Apache-2.0, supporting academic research, commercial applications, fine-tuning, and redistribution.
- **Open and Ready to Run:** Includes model weights, Transformers 5 support, a vLLM inference path, browser harness, and reference inference settings.

**KORMo-Web-11B — From a Korean Foundation Model to a General-Purpose Web Agent.**



## How to Start: Chrome Extension

The fastest way to try KORMo-Web is the **[KORMo-Web Chrome extension](https://github.com/MLP-Lab/KORMo-Web-Extension)**: type a request in Chrome's side panel and watch the agent work in your own browser. This video walks through the whole setup, from serving the model to running a task and controlling it from Discord.

<video src="https://huggingface.co/KORMo-VL/KORMo-Web-11B/resolve/main/assets/setup_guide.mp4" controls playsinline preload="metadata" width="100%"></video>

*Setup guide (about 15 min, Korean narration). Parts that showed account tokens have been blurred.*

**1. Serve the model** on a Mac or on an NVIDIA GPU.

### Mac (Apple silicon)

KORMo-Web-11B is served with vLLM on an NVIDIA GPU (see below); a Mac setup for 11B has not been tested. To try KORMo-Web on a Mac, run [KORMo-Web-4B](https://huggingface.co/KORMo-VL/KORMo-Web-4B) or [KORMo-Web-9B](https://huggingface.co/KORMo-VL/KORMo-Web-9B) with `vllm-mlx` 0.6.0 or later. Pick the one that fits your Mac's memory:

| Model | Weights | Memory in use | Recommended Mac memory |
|---|---:|---:|---|
| `KORMo-Web-4B-mlx-4bit` (4-bit) | 2.8 GB | about 3.8 GB | 16 GB or more |
| `KORMo-Web-4B` (bf16) | 9.6 GB | about 9.5 GB | 24 GB or more |
| `KORMo-Web-9B` (bf16) | 17.5 GB | about 19 GB | 48 GB or more (32 GB is tight) |

```bash
uv venv --python 3.12 && source .venv/bin/activate
uv pip install "vllm-mlx>=0.6.0" huggingface_hub
MODEL=KORMo-Web-4B-mlx-4bit    # or KORMo-Web-4B / KORMo-Web-9B
hf download KORMo-VL/$MODEL --local-dir ~/models/$MODEL
vllm-mlx serve ~/models/$MODEL --port 8010 --served-model-name KORMo-VL/$MODEL \
  --enable-auto-tool-choice --tool-call-parser auto
```

Keep this terminal open. `--served-model-name` is the name the extension must request.

### NVIDIA GPU (local PC or server)

vLLM needs a one-time conversion for the KORMo architecture: follow steps 1 and 2 of **Run the agent (vLLM)** in the Quickstart below, which serve the model as `KORMo-Web-11B` on port 8000.

Check that it is up with `curl http://localhost:8010/v1/models` (Mac) or `curl http://<server>:8000/v1/models` (vLLM). If you changed the port, use that port.

**2. Install the extension.** `git clone https://github.com/MLP-Lab/KORMo-Web-Extension.git`, open `chrome://extensions`, turn on **Developer mode**, click **Load unpacked** and choose the cloned folder. Open the **GUI 에이전트** side panel, type a task and press **실행** (Run).

**3. Point the extension at your model.** Open the panel's **개발자 설정** (Developer settings).

- **Mac:** keep the server URL `http://localhost:8010/v1` and `tool_choice` `auto`. Set the model name to your `--served-model-name` (the default `KORMo-VL/KORMo-Web-4B-mlx-4bit` already matches the 4-bit build).
- **NVIDIA GPU:** set the server URL to `http://<server>:8000/v1` (or `localhost`), the model name to `KORMo-Web-11B`, and `tool_choice` to `none`.

**4. Discord (optional).** Run `node relay/discord-relay.mjs` in the cloned folder and follow the prompts to send tasks to the agent by mentioning a bot in a channel.

Full step-by-step instructions (Korean) are in the [extension README](https://github.com/MLP-Lab/KORMo-Web-Extension).

## Quickstart

Tested with **transformers 5.12.1** and **vLLM 0.23.0**. The model runs on a single GPU.

transformers does not ship the KORMo text model, so this repo includes it (`_modeling_kormo.py`) together with a small loader, `kormo_load.py`:

- `kormo_load.register(path)` registers the KORMo text model. Call it **before** loading the processor or the model.
- `kormo_load.patch_vision(model)` feeds the SigLIP features *after* post-layernorm to the projector, as in training. Without it the model still runs but misreads screenshots.

### Inference example (one step, transformers)

```bash
pip install -U "transformers>=5.12" torch pillow huggingface_hub
hf download KORMo-VL/KORMo-Web-11B --local-dir KORMo-Web-11B
```

```python
import json, sys, torch
from PIL import Image
from transformers import AutoModelForImageTextToText, AutoProcessor

M = "KORMo-Web-11B"
sys.path.insert(0, M)
import kormo_load
kormo_load.register(M)
processor = AutoProcessor.from_pretrained(M)
model = AutoModelForImageTextToText.from_pretrained(M, dtype=torch.bfloat16).to("cuda").eval()
kormo_load.patch_vision(model)

SYSTEM = open(f"{M}/system_prompt.md").read().strip()
TOOLS = json.load(open(f"{M}/tools.json"))
obs = ("<observation>\nscreen size: 1280 x 720\nCurrent tab: 0\nAvailable tabs:\n"
       "- Tab 0 (active): https://www.aladin.co.kr/\n\nurl: https://www.aladin.co.kr/\nscreenshot:\n")
messages = [
    {"role": "system", "content": SYSTEM},
    {"role": "user", "content": [
        {"type": "text", "text": "<user_request>\n알라딘 사이트에서 '해커스 토익 RC'를 검색한 뒤 가장 먼저 표시되는 도서의 출간일을 알려줘.\n</user_request>\n" + obs},
        {"type": "image", "image": Image.open("screen.png").convert("RGB")},
        {"type": "text", "text": "\n</observation>"},
    ]},
]
inputs = processor.apply_chat_template(messages, tools=TOOLS, add_generation_prompt=True,
                                       tokenize=True, return_dict=True, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=16384, do_sample=True, temperature=0.6, top_p=0.95, top_k=20)
print(processor.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=False))
```

A real first step from our Online-Mind2Web run (Aladin home page):

```text
<think>I see the Aladin homepage, with the search field labeled “통합검색” near the top. I have not yet searched for the book, so I still need to enter “해커스 토익 RC,” inspect the first result’s publication date, and report that date. My plan:
1. Click the search field
2. Enter “해커스 토익 RC” and submit the search
3. Read the publication date of the first listed book
This click targets the visible search field and is a safe, relevant first action.
</think>

<tool_call>
<function=click>
<parameter=x>
482
</parameter>
<parameter=y>
212
</parameter>
</function>
</tool_call>
```

Coordinates are normalized to 0–1000. Convert them to pixels with `x / 1000 × width` and `y / 1000 × height`.

### Run the agent (vLLM)

vLLM does not include the KORMo architecture either. The KORMo text layers have the Llama structure, so `vllm/convert_to_vllm.py` renames two parameter names and writes a folder vLLM loads natively. `vllm/sitecustomize.py` turns SigLIP post-layernorm back on inside vLLM.

**1. Convert (once)**

```bash
pip install -U "vllm>=0.23.0" openai playwright safetensors
playwright install chromium
python KORMo-Web-11B/vllm/convert_to_vllm.py KORMo-Web-11B KORMo-Web-11B-vllm
```

**2. Start the model server**

```bash
PYTHONPATH=$PWD/KORMo-Web-11B/vllm vllm serve ./KORMo-Web-11B-vllm --served-model-name KORMo-Web-11B \
  --max-model-len 65536 --limit-mm-per-prompt '{"image":1,"video":0}'
```

Check that the server log prints `[kormo-vllm] SigLIP post_layernorm enabled`.

**3. Run a browser task**

```bash
python KORMo-Web-11B/examples/agent_playwright.py --model KORMo-Web-11B \
  --start-url https://www.danawa.com/ \
  --task "다나와에서 50만 원 이하, 10인치 이상 태블릿 3개를 찾아서 가격을 알려줘"
```

The agent drives a headless Chromium, prints each action as it goes, and finishes with the model's answer. Add `--headful` to watch the browser window. The script sends `tool_choice="none"`, which vLLM needs: the tool schema stays in the prompt and the call comes back as text (sending `tools` without `tool_choice` returns HTTP 400 unless the server was started with `--enable-auto-tool-choice`).

## How It Works

```
user       <user_request> task </user_request>  + observation (tabs, url, screenshot)
assistant  <think> what I see · what is done · plan </think>  <tool_call> one action </tool_call>
tool       action result  + new observation (newest screenshot only)
…          repeat until finished(answer)
```

- **Action space:** 22 browser tools: click, type, hotkey, scroll, drag, goto, tab control, `finished`, and others ([`tools.json`](tools.json)).
- **Memory:** the full text history of thoughts, actions and observations is kept. Only the current screenshot is sent.
- **Recommended settings:** temperature 0.6, top_p 0.95, top_k 20, thinking on, up to 16k tokens per step and 50 steps. These are already set in `generation_config.json`.

The exact message format, parsing rules and feedback strings are in **[HARNESS.md](HARNESS.md)**. Follow it if you build your own harness.

## Evaluation Details

| | |
|---|---|
| Tasks | Online-Mind2Web: 300 English, 312 Korean |
| Judge | GPT-6 |

## Files

| File | Description |
|---|---|
| `model.safetensors` · `config.json` | Weights and config (LLaVA-OneVision: SigLIP + KORMo-10B text model) |
| `_configuration_kormo.py` · `_modeling_kormo.py` | KORMo text model code for transformers 5 |
| `kormo_load.py` | `register()` and `patch_vision()` |
| `chat_template.jinja` | Chat template (XML tool calls, thinking on) |
| `system_prompt.md` · `tools.json` | System prompt and 22-tool schema |
| `HARNESS.md` | Full harness specification |
| `examples/agent_playwright.py` | Reference browser agent (Playwright + OpenAI-compatible API). `--tool-choice none` for vLLM (default); `--headful` shows the browser. It does not execute `upload`. |
| `vllm/convert_to_vllm.py` · `vllm/sitecustomize.py` | Convert for vLLM and the post-layernorm fix |
| `generation_config.json` · `*processor_config.json` · `tokenizer*.json` · `special_tokens_map.json` | Sampling, processor and tokenizer configs |


## Acknowledgements

Built on **[KORMo-VL](https://huggingface.co/KORMo-VL/KORMo-VL)** and **[KORMo-10B](https://huggingface.co/KORMo-Team/KORMo-10B-sft)** by KAIST MLP Lab. Evaluated on **Online-Mind2Web** and its Korean counterpart.

## Contact
- KyungTae Lim, Professor at KAIST. `ktlim@kaist.ac.kr`

## Contributor
- Hangyeol Yoo (hg.yoo@kaist.ac.kr)
- Minkyu Kim (minkyukim@kaist.ac.kr)
- Minkyung Cho (minkyung.cho@kaist.ac.kr)
- Yerin Nam (yerinnam@kaist.ac.kr)
- Seungwoo Song (sswoo@kaist.ac.kr)
- Gyun Lee (gyunini@kaist.ac.kr)
- KyungTae Lim (ktlim@kaist.ac.kr)


</div>