LoRA adapters for Qwen/Qwen2.5-VL-3B-Instruct, post-trained on ScreenSpot-Web with
SFT warm-start → GRPO using a geometric click reward.
| Adapter | Overall | Text | Icon |
|---|---|---|---|
| base (no adapter) | 71.6 | 84.1 | 59.1 |
sft_lora |
77.3 | 77.3 | 77.3 |
grpo_lora |
81.8 | 79.5 | 84.1 |
Click accuracy (%) on a held-out ScreenSpot-Web split, n=88.
Prompt format, reward, training and eval code: prakhar1605/grpo-web-grounding.
from transformers import AutoProcessor, Qwen2_5_VLForConditionalGeneration
from peft import PeftModel
base = "Qwen/Qwen2.5-VL-3B-Instruct"
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(base, torch_dtype="bfloat16", device_map="auto")
model = PeftModel.from_pretrained(model, "Prakharpandey31/qwen2.5-vl-3b-grpo-screenspot-web", subfolder="grpo_lora")
processor = AutoProcessor.from_pretrained(base, min_pixels=256*28*28, max_pixels=1024*28*28)
# prompt: "Instruction: <text>\nWhere should I click? Answer ONLY with the click point as <click>x,y</click> using the pixel coordinates of this image. No other text."
grpo_lora/adapter_model.safetensors 114 MiBsft_lora/adapter_model.safetensors 114 MiBQwen/Qwen2.5-VL-3B-Instruct