Image-Text-to-Text
Transformers
Safetensors
English
qwen3_vl
gui-agent
mobile-gui
android
memory
context-management
conact
memgui-agent
long-horizon
conversational
Eval Results (legacy)
Instructions to use lgy0404/MemGUI-8B-SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use lgy0404/MemGUI-8B-SFT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="lgy0404/MemGUI-8B-SFT") 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)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("lgy0404/MemGUI-8B-SFT") model = AutoModelForMultimodalLM.from_pretrained("lgy0404/MemGUI-8B-SFT") 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use lgy0404/MemGUI-8B-SFT with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "lgy0404/MemGUI-8B-SFT" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "lgy0404/MemGUI-8B-SFT", "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/lgy0404/MemGUI-8B-SFT
- SGLang
How to use lgy0404/MemGUI-8B-SFT 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 "lgy0404/MemGUI-8B-SFT" \ --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": "lgy0404/MemGUI-8B-SFT", "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 "lgy0404/MemGUI-8B-SFT" \ --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": "lgy0404/MemGUI-8B-SFT", "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 lgy0404/MemGUI-8B-SFT with Docker Model Runner:
docker model run hf.co/lgy0404/MemGUI-8B-SFT
Add links to paper, code and project page
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,58 +1,57 @@
|
|
| 1 |
---
|
| 2 |
-
|
|
|
|
|
|
|
| 3 |
language:
|
| 4 |
-
|
| 5 |
library_name: transformers
|
|
|
|
| 6 |
pipeline_tag: image-text-to-text
|
| 7 |
-
base_model: Qwen/Qwen3-VL-8B-Instruct
|
| 8 |
-
datasets:
|
| 9 |
-
- lgy0404/MemGUI-3K
|
| 10 |
tags:
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
model-index:
|
| 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 |
-
- type: success_rate
|
| 50 |
-
name: Success Rate
|
| 51 |
-
value: 17.9
|
| 52 |
-
unit: "%"
|
| 53 |
---
|
|
|
|
| 54 |
# MemGUI-8B-SFT
|
| 55 |
|
|
|
|
|
|
|
| 56 |
MemGUI-8B-SFT is an 8B MemGUI-Agent model trained from Qwen3-VL-8B-Instruct on
|
| 57 |
MemGUI-3K. It is designed for long-horizon mobile GUI control with proactive
|
| 58 |
context management.
|
|
@@ -65,12 +64,12 @@ Folded UI State, and Recent Step Record.
|
|
| 65 |
|
| 66 |
## Model Details
|
| 67 |
|
| 68 |
-
- Model type: multimodal mobile GUI agent
|
| 69 |
-
- Base model: `Qwen/Qwen3-VL-8B-Instruct`
|
| 70 |
-
- Training data: `lgy0404/MemGUI-3K`
|
| 71 |
-
- Training recipe: supervised fine-tuning with ms-swift
|
| 72 |
-
- Output protocol: ConAct 5-part structured output
|
| 73 |
-
- License: Apache 2.0
|
| 74 |
|
| 75 |
## Intended Use
|
| 76 |
|
|
@@ -131,6 +130,8 @@ Dataset page: https://huggingface.co/datasets/lgy0404/MemGUI-3K
|
|
| 131 |
```bibtex
|
| 132 |
@article{memguiagent2026,
|
| 133 |
title = {MemGUI-Agent: An End-to-End Long-Horizon Mobile GUI Agent with Proactive Context Management},
|
| 134 |
-
|
|
|
|
|
|
|
| 135 |
}
|
| 136 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Qwen/Qwen3-VL-8B-Instruct
|
| 3 |
+
datasets:
|
| 4 |
+
- lgy0404/MemGUI-3K
|
| 5 |
language:
|
| 6 |
+
- en
|
| 7 |
library_name: transformers
|
| 8 |
+
license: apache-2.0
|
| 9 |
pipeline_tag: image-text-to-text
|
|
|
|
|
|
|
|
|
|
| 10 |
tags:
|
| 11 |
+
- qwen3_vl
|
| 12 |
+
- gui-agent
|
| 13 |
+
- mobile-gui
|
| 14 |
+
- android
|
| 15 |
+
- memory
|
| 16 |
+
- context-management
|
| 17 |
+
- conact
|
| 18 |
+
- memgui-agent
|
| 19 |
+
- long-horizon
|
| 20 |
model-index:
|
| 21 |
+
- name: MemGUI-8B-SFT
|
| 22 |
+
results:
|
| 23 |
+
- task:
|
| 24 |
+
type: image-text-to-text
|
| 25 |
+
name: Long-horizon mobile GUI control
|
| 26 |
+
dataset:
|
| 27 |
+
name: MemGUI-Bench
|
| 28 |
+
type: lgy0404/MemGUI-3K
|
| 29 |
+
metrics:
|
| 30 |
+
- type: pass_at_1
|
| 31 |
+
value: 23.4
|
| 32 |
+
name: Pass@1
|
| 33 |
+
- type: pass_at_3
|
| 34 |
+
value: 35.9
|
| 35 |
+
name: Pass@3
|
| 36 |
+
- type: irr
|
| 37 |
+
value: 30.2
|
| 38 |
+
name: Information Retention Rate
|
| 39 |
+
- task:
|
| 40 |
+
type: image-text-to-text
|
| 41 |
+
name: Out-of-distribution mobile GUI control
|
| 42 |
+
dataset:
|
| 43 |
+
name: MobileWorld GUI-Only
|
| 44 |
+
type: mobileworld-gui-only
|
| 45 |
+
metrics:
|
| 46 |
+
- type: success_rate
|
| 47 |
+
value: 17.9
|
| 48 |
+
name: Success Rate
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
---
|
| 50 |
+
|
| 51 |
# MemGUI-8B-SFT
|
| 52 |
|
| 53 |
+
[**Project Page**](https://memgui-agent.github.io/) | [**Paper**](https://huggingface.co/papers/2606.19926) | [**Code**](https://github.com/kwai/MemGUI-Agent)
|
| 54 |
+
|
| 55 |
MemGUI-8B-SFT is an 8B MemGUI-Agent model trained from Qwen3-VL-8B-Instruct on
|
| 56 |
MemGUI-3K. It is designed for long-horizon mobile GUI control with proactive
|
| 57 |
context management.
|
|
|
|
| 64 |
|
| 65 |
## Model Details
|
| 66 |
|
| 67 |
+
- **Model type:** multimodal mobile GUI agent
|
| 68 |
+
- **Base model:** `Qwen/Qwen3-VL-8B-Instruct`
|
| 69 |
+
- **Training data:** `lgy0404/MemGUI-3K`
|
| 70 |
+
- **Training recipe:** supervised fine-tuning with ms-swift
|
| 71 |
+
- **Output protocol:** ConAct 5-part structured output
|
| 72 |
+
- **License:** Apache 2.0
|
| 73 |
|
| 74 |
## Intended Use
|
| 75 |
|
|
|
|
| 130 |
```bibtex
|
| 131 |
@article{memguiagent2026,
|
| 132 |
title = {MemGUI-Agent: An End-to-End Long-Horizon Mobile GUI Agent with Proactive Context Management},
|
| 133 |
+
author = {Guangyi Liu and Gao Wu and Congxiao Liu and Pengxiang Zhao and Liang Liu and Mading Li and Qi Zhang and Mengyan Wang and Liang Guo and Yong Liu},
|
| 134 |
+
year = {2026},
|
| 135 |
+
journal = {arXiv preprint arXiv:2606.19926}
|
| 136 |
}
|
| 137 |
+
```
|