Views
No views yet
Qwen3-VL-30B-A3B-Instruct base model with LoRA adaptation for Android UI control tasks. This model demonstrates strong performance in GUI Grounding tasks, particularly excelling in coordinate prediction accuracy for click actions.1{
2 "messages": [
3 {
4 "role": "system",
5 "content": "You are a helpful assistant that can identify what action to perform on mobile UI Screenshot given the user instruction."
6 },
7 {
8 "role": "user",
9 "content": "<image>Click on the Recording 2"
10 },
11 {
12 "role": "assistant",
13 "content": "{\"action_type\": \"click\", \"x\": 561, \"y\": 535}"
14 }
15 ],
16 "images": ["and_ctrl/out_episode_18557_step_001.png"]
17}qwen_3_vl_30b.yaml)Qwen/Qwen3-VL-30B-A3B-Instructclick: Click on specific coordinates (x, y)long_press: Long press actionscroll: Scroll (up/down/left/right)input_text: Text inputnavigate_back: Navigate backnavigate_home: Navigate to home screenopen_app: Open applicationwait: Wait action1from transformers import AutoModelForCausalLM, AutoProcessor
2from PIL import Image
3
4model_path = "OfficerChul/Qwen3-VL-30B-Android-Control"
5processor = AutoProcessor.from_pretrained(model_path, trust_remote_code=True)
6model = AutoModelForCausalLM.from_pretrained(
7 model_path,
8 trust_remote_code=True,
9 device_map="auto"
10)
11
12# Prepare your UI screenshot
13image = Image.open("path/to/screenshot.png")
14instruction = "Click on the Settings button"
15
16# Prepare conversation
17messages = [
18 {
19 "role": "system",
20 "content": "You are a helpful assistant that can identify what action to perform on mobile UI Screenshot given the user instruction."
21 },
22 {
23 "role": "user",
24 "content": f"<image>{instruction}"
25 }
26]
27
28# Process and generate
29text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
30inputs = processor(text=[text], images=[image], return_tensors="pt").to(model.device)
31
32outputs = model.generate(**inputs, max_new_tokens=128)
33result = processor.batch_decode(outputs, skip_special_tokens=True)[0]
34print(result)| Model | Action Type Accuracy | Click L2 Distance | Input Text Match | Scroll Direction Match |
|---|---|---|---|---|
| Qwen/Qwen2.5-VL-3B-Instruct | 0.6645 | 88.21 (n=165) | 0.7889 (n=90) | 0.3519 (n=108) |
| OfficerChul/Qwen2.5-VL-3B-Instruct | 0.9965 | 446.54 (n=1467) | 0.9363 (n=157) | 0.9738 (n=267) |
| InfiX-ai/InfiGUI-G1-3B | 0.8745 | 102.39 (n=1020) | 0.7700 (n=100) | 0.2299 (n=174) |
| OfficerChul/InfiGUI-G1-3B | 0.9980 | 449.73 (n=1467) | 0.9625 (n=160) | 0.9625 (n=267) |
| Qwen/Qwen3-VL-30B-A3B-Instruct | 0.9090 | 705.72 (n=812) | 0.8264 (n=121) | 0.3226 (n=248) |
| OfficerChul/Qwen3-VL-30B-A3B-Instruct_lora_sft | 0.5907 | 87.04 | 0.8455 | 0.8689 |
| Qwen/Qwen2.5-VL-72B-Instruct | 0.6594 | 64.98 (n=125) | 0.8879 (n=107) | 0.2925 (n=106) |
| OfficerChul/Qwen2.5-VL-72B-Instruct | 0.8838 | 529.23 | 0.9032 | 0.9512 |
| google/gemma-3n-E4B-it | 0.5398 | 824.09 | 0.7521 | 0.5217 |
| OfficerChul/gemma-3n-E4B-it | 0.5088 | 878.66 (n=124) | 0.8763 (n=97) | 0.3689 (n=103) |