Instructions to use SenseLLM/SpiritSight-Agent-8B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SenseLLM/SpiritSight-Agent-8B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="SenseLLM/SpiritSight-Agent-8B")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SenseLLM/SpiritSight-Agent-8B", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use SenseLLM/SpiritSight-Agent-8B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "SenseLLM/SpiritSight-Agent-8B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SenseLLM/SpiritSight-Agent-8B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'Use Docker
docker model run hf.co/SenseLLM/SpiritSight-Agent-8B
- SGLang
How to use SenseLLM/SpiritSight-Agent-8B 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 "SenseLLM/SpiritSight-Agent-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SenseLLM/SpiritSight-Agent-8B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }'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 "SenseLLM/SpiritSight-Agent-8B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "SenseLLM/SpiritSight-Agent-8B", "prompt": "Once upon a time,", "max_tokens": 512, "temperature": 0.5 }' - Docker Model Runner
How to use SenseLLM/SpiritSight-Agent-8B with Docker Model Runner:
docker model run hf.co/SenseLLM/SpiritSight-Agent-8B
Improve model card
Browse filesThis PR improves the model card by:
- Adding the `image-text-to-text` pipeline tag
- Adding the Transformers library name
- Adding a link to the project page
- Adding the paper abstract and other relevant information
README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
base_model:
|
| 4 |
- OpenGVLab/InternVL2-8B
|
|
|
|
|
|
|
|
|
|
| 5 |
---
|
| 6 |
|
| 7 |
## SpiritSight Agent: Advanced GUI Agent with One Look
|
|
@@ -9,13 +11,19 @@ base_model:
|
|
| 9 |
<p align="center">
|
| 10 |
<a href="https://arxiv.org/abs/2503.03196">📄 Paper</a> •
|
| 11 |
<a href="https://huggingface.co/SenseLLM/SpiritSight-Agent-8B">🤖 Models</a> •
|
|
|
|
| 12 |
<a href="" style="pointer-events: none">📚 Datasets (Coming soon…)</a>
|
| 13 |
</p>
|
| 14 |
|
| 15 |
|
| 16 |
## Introduction
|
| 17 |
|
| 18 |
-
SpiritSight-Agent is a vision-based, end-to-end GUI agent that excels in GUI navigation tasks across various GUI platforms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |

|
| 21 |

|
|
@@ -75,4 +83,4 @@ We thank the following amazing projects that truly inspired us:
|
|
| 75 |
- [GUI-Odyssey](https://github.com/OpenGVLab/GUI-Odyssey)
|
| 76 |
- [AMEX](https://huggingface.co/datasets/Yuxiang007/AMEX)
|
| 77 |
- [AndroidControl](https://github.com/google-research/google-research/tree/master/android_control)
|
| 78 |
-
- [GUICourse](https://github.com/yiye3/GUICourse)
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
base_model:
|
| 3 |
- OpenGVLab/InternVL2-8B
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
library_name: transformers
|
| 6 |
+
pipeline_tag: image-text-to-text
|
| 7 |
---
|
| 8 |
|
| 9 |
## SpiritSight Agent: Advanced GUI Agent with One Look
|
|
|
|
| 11 |
<p align="center">
|
| 12 |
<a href="https://arxiv.org/abs/2503.03196">📄 Paper</a> •
|
| 13 |
<a href="https://huggingface.co/SenseLLM/SpiritSight-Agent-8B">🤖 Models</a> •
|
| 14 |
+
<a href="https://hzhiyuan.github.io/SpiritSight-Agent"> 🏠 Project Page</a> •
|
| 15 |
<a href="" style="pointer-events: none">📚 Datasets (Coming soon…)</a>
|
| 16 |
</p>
|
| 17 |
|
| 18 |
|
| 19 |
## Introduction
|
| 20 |
|
| 21 |
+
SpiritSight-Agent is a vision-based, end-to-end GUI agent that excels in GUI navigation tasks across various GUI platforms. It leverages advanced Vision Language Models (VLMs) to achieve high accuracy, low latency, and compatibility for different GUI platforms.
|
| 22 |
+
|
| 23 |
+
## Paper Abstract
|
| 24 |
+
|
| 25 |
+
Graphical User Interface (GUI) agents show amazing abilities in assisting human-computer interaction, automating human user's navigation on digital devices. An ideal GUI agent is expected to achieve high accuracy, low latency, and compatibility for different GUI platforms. Recent vision-based approaches have shown promise by leveraging advanced Vision Language Models (VLMs). While they generally meet the requirements of compatibility and low latency, these vision-based GUI agents tend to have low accuracy due to their limitations in element grounding. To address this issue, we propose **SpiritSight**, a vision-based, end-to-end GUI agent that excels in GUI navigation tasks across various GUI platforms. First, we create a multi-level, large-scale, high-quality GUI dataset called **GUI-Lasagne** using scalable methods, empowering SpiritSight with robust GUI understanding and grounding capabilities. Second, we introduce the **Universal Block Parsing (UBP)** method to resolve the ambiguity problem in dynamic high-resolution of visual inputs, further enhancing SpiritSight's ability to ground GUI objects. Through these efforts, SpiritSight agent outperforms other advanced methods on diverse GUI benchmarks, demonstrating its superior capability and compatibility in GUI navigation tasks.
|
| 26 |
+
|
| 27 |
|
| 28 |

|
| 29 |

|
|
|
|
| 83 |
- [GUI-Odyssey](https://github.com/OpenGVLab/GUI-Odyssey)
|
| 84 |
- [AMEX](https://huggingface.co/datasets/Yuxiang007/AMEX)
|
| 85 |
- [AndroidControl](https://github.com/google-research/google-research/tree/master/android_control)
|
| 86 |
+
- [GUICourse](https://github.com/yiye3/GUICourse)
|