Downloads · 30 days
22
11% of all-time downloads
prithivMLmods/Gliese-CUA-Tool-Call-8B
Gliese-CUA-Tool-Call-8B is a image-text-to-text model from prithivMLmods. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
Downloads · 30 days
22
11% of all-time downloads
All-time downloads
203
Public
Parameters
8.3B
33.2 GB on disk
Likes
4
Public
Click a slice to open those files.
.safetensors33.2 GB · 100%
From the Hugging Face model README

Gliese-CUA-Tool-Call-8B is a Computer Use Agent (CUA) multimodal model based on Qwen2.5-VL-7B-Instruct, designed for GUI understanding, UI localization, and action execution across web, desktop, and mobile environments. It focuses on visual grounding, intent driven actioning, and UI based question answering (VQA), enabling reliable interaction with real world software interfaces. The model is optimized for agentic tool calling, producing structured actions that can be directly executed by downstream systems.
GUI Localization and Visual Grounding Precisely identifies UI elements such as buttons, text fields, menus, icons, dialogs, and dynamic components across diverse layouts and resolutions.
Parsed Action Prediction with Visualization Predicts low level UI actions such as clicks, types, scrolls, and drags with explicit coordinates. Actions can be visualized on the image using crosshairs and labels for transparent grounding and debugging.
Structured Tool Calling
Outputs actions as structured JSON tool calls wrapped inside <tool_call> blocks, enabling precise and deterministic interaction for agentic tool calling pipelines.
Action Planning and Execution Translates natural language instructions into step wise UI actions with consistent reasoning across multi step workflows.
UI Based Question Answering (VQA) Answers questions grounded in the current screen state, including element states, content verification, and workflow guidance.
Cross Platform Computer Use Operates consistently across web applications, desktop software, and mobile interfaces with robust visual understanding.
Multi Step Task Automation Handles long horizon tasks such as form filling, settings configuration, dashboard navigation, and tool driven workflows.
Context Aware Interaction Maintains task context across screen transitions and state changes for reliable end to end task completion.
Clone the repository:
git clone https://github.com/PRITHIVSAKTHIUR/Gliese-CUA-Tool-Call-8B-Demo.git
cd Gliese-CUA-Tool-Call-8B-Demo
Install dependencies:
pip install -r requirements.txt
Start the application:
python app.py
Clone the repository:
git clone https://github.com/PRITHIVSAKTHIUR/Gliese-CUA-Tool-Call-8B-Localization.git
cd Gliese-CUA-Tool-Call-8B-Localization
Install dependencies:
pip install -r requirements.txt
Start the application:
python app.py
from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
from qwen_vl_utils import process_vision_info
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
"prithivMLmods/Gliese-CUA-Tool-Call-8B",
torch_dtype="auto",
device_map="auto"
)
processor = AutoProcessor.from_pretrained("prithivMLmods/Gliese-CUA-Tool-Call-8B")
messages = [
{
"role": "user",
"content": [
{"type": "image", "image": "<SCREENSHOT_OR_UI_IMAGE>"},
{"type": "text", "text": "Enable dark mode from the settings menu."},
],
}
]
text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
image_inputs, video_inputs = process_vision_info(messages)
inputs = processor(
text=[text],
images=image_inputs,
videos=video_inputs,
padding=True,
return_tensors="pt",
)
inputs = inputs.to("cuda")
generated_ids = model.generate(**inputs, max_new_tokens=1024)
generated_ids_trimmed = [
out_ids[len(in_ids):] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
output_text = processor.batch_decode(
generated_ids_trimmed,
skip_special_tokens=True,
clean_up_tokenization_spaces=False,
)
print(output_text)
Qwen2.5-VL Technical Report: https://huggingface.co/papers/2502.13923
YaRN: Efficient Context Window Extension
https://arxiv.org/pdf/2309.00071
Qwen2 VL: High Resolution Perception
https://arxiv.org/pdf/2409.12191
Model Soups: Averaging Weights of Multiple Fine-Tuned Models Improves Accuracy Without Increasing Inference Time
https://arxiv.org/abs/2203.05482
Model Stock: All We Need Is Just a Few Fine-Tuned Models
https://arxiv.org/abs/2403.19522