Image-Text-to-Text
Transformers
Safetensors
Korean
English
qwen3_5
gui-agent
web-agent
computer-use
browser
korean
conversational
Instructions to use KORMo-VL/KORMo-Web-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KORMo-VL/KORMo-Web-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="KORMo-VL/KORMo-Web-4B") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("KORMo-VL/KORMo-Web-4B") model = AutoModelForMultimodalLM.from_pretrained("KORMo-VL/KORMo-Web-4B", device_map="auto") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.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(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use KORMo-VL/KORMo-Web-4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "KORMo-VL/KORMo-Web-4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "KORMo-VL/KORMo-Web-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/KORMo-VL/KORMo-Web-4B
- SGLang
How to use KORMo-VL/KORMo-Web-4B 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 "KORMo-VL/KORMo-Web-4B" \ --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": "KORMo-VL/KORMo-Web-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "KORMo-VL/KORMo-Web-4B" \ --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": "KORMo-VL/KORMo-Web-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use KORMo-VL/KORMo-Web-4B with Docker Model Runner:
docker model run hf.co/KORMo-VL/KORMo-Web-4B
Update README.md
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ On **Online-Mind2Web** it reaches **42.3% in English** and **42.3% in Korean**,
|
|
| 54 |
## What Makes KORMo-Web Different?
|
| 55 |
|
| 56 |
- **10M+ Atomic-Level Web Pretraining Samples.** Large-scale Korean and English web understanding pretraining teaches the model what individual UI elements **are, where they are, and what they do**โcovering text, location, appearance, layout, function, and state.
|
| 57 |
-
- **
|
| 58 |
- **Open Models and Data.** Releasing model weights, large-scale bilingual web pretraining data, interaction trajectories, and evaluation benchmarks to support reproducible web agent research.
|
| 59 |
|
| 60 |
## Performance
|
|
@@ -108,7 +108,7 @@ vllm serve ./KORMo-Web-4B --served-model-name KORMo-Web-4B \
|
|
| 108 |
|
| 109 |
```bash
|
| 110 |
python KORMo-Web-4B/examples/agent_playwright.py --model KORMo-Web-4B \
|
| 111 |
-
--task "๋ค
|
| 112 |
```
|
| 113 |
|
| 114 |
The agent opens Chromium, prints each action as it goes, and finishes with the model's answer.
|
|
@@ -200,10 +200,13 @@ The exact message format, parsing rules and feedback strings are in **[HARNESS.m
|
|
| 200 |
|
| 201 |
## ํ๊ตญ์ด ์์ฝ
|
| 202 |
|
| 203 |
-
**KORMo-Web-4B**๋
|
| 204 |
|
| 205 |
-
- **
|
| 206 |
-
-
|
|
|
|
|
|
|
|
|
|
| 207 |
|
| 208 |
## Acknowledgements
|
| 209 |
|
|
|
|
| 54 |
## What Makes KORMo-Web Different?
|
| 55 |
|
| 56 |
- **10M+ Atomic-Level Web Pretraining Samples.** Large-scale Korean and English web understanding pretraining teaches the model what individual UI elements **are, where they are, and what they do**โcovering text, location, appearance, layout, function, and state.
|
| 57 |
+
- **100K+ Web Interaction Trajectories.** Bilingual browser demonstrations teach the model to translate fine-grained web understanding into real-world, multi-step actions.
|
| 58 |
- **Open Models and Data.** Releasing model weights, large-scale bilingual web pretraining data, interaction trajectories, and evaluation benchmarks to support reproducible web agent research.
|
| 59 |
|
| 60 |
## Performance
|
|
|
|
| 108 |
|
| 109 |
```bash
|
| 110 |
python KORMo-Web-4B/examples/agent_playwright.py --model KORMo-Web-4B \
|
| 111 |
+
--task "๋ค๋ฐฉ์์ ์ํ์ญ ๊ทผ์ฒ ๋ณด์ฆ๊ธ ์ฒ๋ง์ ์ดํ๋ก ์ค์ ํ๋ค ์๋ฃธ 3๊ฐ์ ๋ ์ฐพ์์ ์ดํด๋ณด๊ณ ๋คํ๋ฉด ์ฐพ์ ๋ด์ฉ์ ์นด์ด์คํธ ๋ฉ์ผ๋ก mlplab@kaist.ac.kr ํํ
์ ๋ฆฌํด์ ๋ณด๋ด์ค"
|
| 112 |
```
|
| 113 |
|
| 114 |
The agent opens Chromium, prints each action as it goes, and finishes with the model's answer.
|
|
|
|
| 200 |
|
| 201 |
## ํ๊ตญ์ด ์์ฝ
|
| 202 |
|
| 203 |
+
**KORMo-Web-4B**๋ ์ฌ๋์ฒ๋ผ ์น ํ๋ฉด์ ๋ณด๊ณ ํด๋ฆญยท์
๋ ฅยทํ์์ ์ํํ๋ **4B ๊ท๋ชจ์ ํ์ ์๊ฐ ๊ธฐ๋ฐ ์น ์์ด์ ํธ**์
๋๋ค.
|
| 204 |
|
| 205 |
+
- **๋๊ท๋ชจ ์น ์ฌ์ ํ์ต:** 1,000๋ง ๊ฑด ์ด์์ ํ์ ์น ํ์ต ์ํ๋ก UI ์์์ ์์นยท์๋ฏธยท๊ตฌ์กฐยท๊ธฐ๋ฅ ๋ฑ์ ์ธ๋ฐํ๊ฒ ํ์ต(Atomic-Level Pretraining)
|
| 206 |
+
- **์ค์ ์น ํ๋ ํ์ต:** 10๋ง ๊ฑด ์ด์์ ํ๊ตญ์ธ ํ์ ์น ์ฌ์ฉ ๊ถค์ ์ ํ์ตํด ์ฌ๋ฌ ์น์ฌ์ดํธ์ ํญ์ ๋๋๋๋ ๋ณต์กํ ์์
์ํ
|
| 207 |
+
- **๋ฐ์ด๋ ์ฑ๋ฅ:** Online-Mind2Web์์ ์์ดยทํ๊ตญ์ด ๋ชจ๋ **42.3% ์ฑ๊ณต๋ฅ **, ๋น๊ตํ ๊ณต๊ฐ ๋ชจ๋ธ ์ค ์ต๊ณ ์ฑ๋ฅ(๊ธฐ์กด ์ต๊ณ ๋๋น +9.6%p / +22.1%p)
|
| 208 |
+
- **์๊ฐ ์ค์ฌ ์น ์กฐ์:** ๋ณ๋์ DOM ์ ๋ณด ์์ด ์คํฌ๋ฆฐ์ท๋ง์ผ๋ก ์น์ ์ดํดํ๊ณ , ํ๋ ๊ฒฐ๊ณผ๋ฅผ ํ์ธํ๋ฉฐ ๋ค์ ์์
์ํ
|
| 209 |
+
- **๋ชจ๋ธยท๋ฐ์ดํฐ ๊ณต๊ฐ:** Apache-2.0 ๋ชจ๋ธ ๊ฐ์ค์น, ๋๊ท๋ชจ ํ์ต ๋ฐ์ดํฐ, ์น ์ฌ์ฉ ๊ถค์ , ํ๊ฐ ๋ฒค์น๋งํฌ ๋ฐ ์คํ ์ฝ๋ ๊ณต๊ฐ
|
| 210 |
|
| 211 |
## Acknowledgements
|
| 212 |
|