Image-Text-to-Text
Transformers
Safetensors
English
Chinese
qwen3_vl
gui-agent
phone-use agent
computer-use agent
pua
android
multimodal
gelab-zero
conversational
Instructions to use stepfun-ai/GELab-Zero-4B-preview with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use stepfun-ai/GELab-Zero-4B-preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="stepfun-ai/GELab-Zero-4B-preview") 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("stepfun-ai/GELab-Zero-4B-preview") model = AutoModelForMultimodalLM.from_pretrained("stepfun-ai/GELab-Zero-4B-preview", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use stepfun-ai/GELab-Zero-4B-preview with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "stepfun-ai/GELab-Zero-4B-preview" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "stepfun-ai/GELab-Zero-4B-preview", "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/stepfun-ai/GELab-Zero-4B-preview
- SGLang
How to use stepfun-ai/GELab-Zero-4B-preview 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 "stepfun-ai/GELab-Zero-4B-preview" \ --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": "stepfun-ai/GELab-Zero-4B-preview", "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 "stepfun-ai/GELab-Zero-4B-preview" \ --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": "stepfun-ai/GELab-Zero-4B-preview", "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 stepfun-ai/GELab-Zero-4B-preview with Docker Model Runner:
docker model run hf.co/stepfun-ai/GELab-Zero-4B-preview
Improve model card: Add pipeline tag, library name, paper, and project page links
#2
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
|
|
|
|
|
|
| 5 |
tags:
|
| 6 |
- gui-agent
|
| 7 |
- phone-use agent
|
|
@@ -10,10 +12,14 @@ tags:
|
|
| 10 |
- android
|
| 11 |
- multimodal
|
| 12 |
- gelab-zero
|
| 13 |
-
|
| 14 |
-
|
| 15 |
---
|
| 16 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
## Model Details
|
| 18 |
|
| 19 |
This model is part of the [**GELab-Zero**](https://github.com/stepfun-ai/gelab-zero) project, which aims to accelerate the innovation and application deployment of GUI Agents by providing:
|
|
@@ -92,5 +98,4 @@ If you find GELab-Zero-4B-preview useful for your research, please consider citi
|
|
| 92 |
primaryClass={cs.CV},
|
| 93 |
url={https://arxiv.org/abs/2512.02423},
|
| 94 |
}
|
| 95 |
-
|
| 96 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
+
base_model: Qwen/Qwen3-VL-4B-Instruct
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
- zh
|
| 6 |
+
license: apache-2.0
|
| 7 |
tags:
|
| 8 |
- gui-agent
|
| 9 |
- phone-use agent
|
|
|
|
| 12 |
- android
|
| 13 |
- multimodal
|
| 14 |
- gelab-zero
|
| 15 |
+
pipeline_tag: image-text-to-text
|
| 16 |
+
library_name: transformers
|
| 17 |
---
|
| 18 |
|
| 19 |
+
# GELab-Zero-4B-preview
|
| 20 |
+
|
| 21 |
+
This model is part of the **GELab-Zero** project, which presents the **Step-GUI Technical Report** [[Paper](https://huggingface.co/papers/2512.15431)] [[Project Page](https://opengelab.github.io/)] [[Code](https://github.com/stepfun-ai/gelab-zero)].
|
| 22 |
+
|
| 23 |
## Model Details
|
| 24 |
|
| 25 |
This model is part of the [**GELab-Zero**](https://github.com/stepfun-ai/gelab-zero) project, which aims to accelerate the innovation and application deployment of GUI Agents by providing:
|
|
|
|
| 98 |
primaryClass={cs.CV},
|
| 99 |
url={https://arxiv.org/abs/2512.02423},
|
| 100 |
}
|
| 101 |
+
```
|
|
|