# Ollama Modelfile for browserground # After downloading browserground-Q4_K_M.gguf and browserground-mmproj-f16.gguf, # run: `ollama create browserground -f Modelfile` FROM ./browserground-Q4_K_M.gguf ADAPTER ./browserground-mmproj-f16.gguf TEMPLATE """{{ if .System }}<|im_start|>system {{ .System }}<|im_end|> {{ end }}{{ if .Prompt }}<|im_start|>user {{ .Prompt }}<|im_end|> {{ end }}<|im_start|>assistant {{ .Response }}<|im_end|> """ SYSTEM """You are a UI-grounding model. Given a screenshot and a target description, output the bounding box of the SINGLE UI element to click. Output ONLY a JSON object: {"bbox_2d": [x1, y1, x2, y2]} with pixel coordinates, origin at top-left.""" PARAMETER temperature 0 PARAMETER num_predict 64 PARAMETER stop "<|im_end|>"