<!-- # hard line break macro for HTML -->

<a id="model-zoo-showlab-showui-2b"></a>

# showlab/ShowUI-2B

<a href="../../plugins/plugins_ecosystem/showui.html" target="_blank">
    <img src="https://img.shields.io/badge/Plugin-ShowUI-orange" alt="From Plugin">
</a>

#### NOTE
This is a [remotely-sourced model](../remote.md#model-zoo-remote) from the
[ShowUI](../../plugins/plugins_ecosystem/showui.html) plugin, maintained by the community.
It is not part of FiftyOne core and may have special installation requirements.
Please review the plugin documentation and license before use.

ShowUI is a lightweight (2B) vision-language-action model designed for GUI agents..

**Details**

- Model name: `showlab/ShowUI-2B`
- Model source: [https://huggingface.co/showlab/ShowUI-2B](https://huggingface.co/showlab/ShowUI-2B)
- Model author: Show Lab
- Model license: MIT
- Exposes embeddings? no
- Tags: `detection, ocr, VLM, classification, zero-shot, visual-agent`

**Requirements**

- Packages: `huggingface-hub, transformers, torch, torchvision, qwen-vl-utils, accelerate`
- CPU support
  - yes
- GPU support
  - yes

**Example usage**

```python
import fiftyone as fo
import fiftyone.zoo as foz

foz.register_zoo_model_source("https://github.com/harpreetsahota204/ShowUI")

dataset = foz.load_zoo_dataset(
    "coco-2017",
    split="validation",
    dataset_name=fo.get_default_dataset_name(),
    max_samples=50,
    shuffle=True,
)

model = foz.load_zoo_model("showlab/ShowUI-2B")

dataset.apply_model(model, label_field="predictions")

session = fo.launch_app(dataset)
```
