Image-Text-to-Text
Transformers
Safetensors
qwen3_vl
vision-language-tracking
multimodal
mllm
video
conversational
Instructions to use jcwang0602/VPTracker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jcwang0602/VPTracker with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="jcwang0602/VPTracker") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("jcwang0602/VPTracker") model = AutoModelForMultimodalLM.from_pretrained("jcwang0602/VPTracker") messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] inputs = processor.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use jcwang0602/VPTracker with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "jcwang0602/VPTracker" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jcwang0602/VPTracker", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/jcwang0602/VPTracker
- SGLang
How to use jcwang0602/VPTracker 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 "jcwang0602/VPTracker" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jcwang0602/VPTracker", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'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 "jcwang0602/VPTracker" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "jcwang0602/VPTracker", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use jcwang0602/VPTracker with Docker Model Runner:
docker model run hf.co/jcwang0602/VPTracker
Improve model card and add metadata
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,6 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# VPTracker: Global Vision-Language Tracking via Visual Prompt and MLLM
|
| 2 |
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
[](https://www.python.org/downloads/)
|
| 5 |
[](https://pytorch.org/)
|
| 6 |
[](https://huggingface.co/docs/transformers/)
|
|
@@ -31,24 +49,22 @@ pip install flash-attn==2.7.4.post1 --no-build-isolation
|
|
| 31 |
conda install av -c conda-forge
|
| 32 |
pip install qwen_vl_utils qwen_omni_utils decord librosa icecream soundfile -U
|
| 33 |
pip install liger_kernel nvitop pre-commit math_verify py-spy -U
|
| 34 |
-
|
| 35 |
```
|
| 36 |
|
| 37 |
<!-- ## π Visualization
|
| 38 |
<img src="assets/Results.jpg" width="800"> -->
|
| 39 |
|
| 40 |
## π Acknowledgments
|
| 41 |
-
This code is developed on
|
| 42 |
|
| 43 |
## βοΈ Contact
|
| 44 |
-
|
| 45 |
Email: jcwang@stu.ecnu.edu.cn. Any kind discussions are welcomed!
|
| 46 |
|
| 47 |
---
|
| 48 |
|
| 49 |
## π Citation
|
| 50 |
-
If our work is useful for your research, please consider
|
| 51 |
-
```
|
| 52 |
@misc{wang2025vptrackerglobalvisionlanguagetracking,
|
| 53 |
title={VPTracker: Global Vision-Language Tracking via Visual Prompt and MLLM},
|
| 54 |
author={Jingchao Wang and Kaiwen Zhou and Zhijian Wu and Kunhua Ji and Dingjiang Huang and Yefeng Zheng},
|
|
|
|
| 1 |
+
---
|
| 2 |
+
pipeline_tag: image-text-to-text
|
| 3 |
+
library_name: transformers
|
| 4 |
+
base_model: Qwen/Qwen3-VL-4B-Instruct
|
| 5 |
+
tags:
|
| 6 |
+
- vision-language-tracking
|
| 7 |
+
- multimodal
|
| 8 |
+
- mllm
|
| 9 |
+
- video
|
| 10 |
+
---
|
| 11 |
+
|
| 12 |
# VPTracker: Global Vision-Language Tracking via Visual Prompt and MLLM
|
| 13 |
|
| 14 |
+
This repository contains the weights for **VPTracker**, the first global tracking framework based on Multimodal Large Language Models (MLLMs).
|
| 15 |
+
|
| 16 |
+
VPTracker exploits the powerful semantic reasoning of MLLMs to locate targets across the entire image space. To address distractions from visually or semantically similar objects during global search, it introduces a location-aware visual prompting mechanism that incorporates spatial priors.
|
| 17 |
+
|
| 18 |
+
- **Paper:** [VPTracker: Global Vision-Language Tracking via Visual Prompt and MLLM](https://huggingface.co/papers/2512.22799)
|
| 19 |
+
- **Repository:** [GitHub - jcwang0602/VPTracker](https://github.com/jcwang0602/VPTracker)
|
| 20 |
+
|
| 21 |
+
[](https://arxiv.org/abs/2512.22799)
|
| 22 |
[](https://www.python.org/downloads/)
|
| 23 |
[](https://pytorch.org/)
|
| 24 |
[](https://huggingface.co/docs/transformers/)
|
|
|
|
| 49 |
conda install av -c conda-forge
|
| 50 |
pip install qwen_vl_utils qwen_omni_utils decord librosa icecream soundfile -U
|
| 51 |
pip install liger_kernel nvitop pre-commit math_verify py-spy -U
|
|
|
|
| 52 |
```
|
| 53 |
|
| 54 |
<!-- ## π Visualization
|
| 55 |
<img src="assets/Results.jpg" width="800"> -->
|
| 56 |
|
| 57 |
## π Acknowledgments
|
| 58 |
+
This code is developed on top of [ms-swift](https://github.com/modelscope/ms-swift).
|
| 59 |
|
| 60 |
## βοΈ Contact
|
|
|
|
| 61 |
Email: jcwang@stu.ecnu.edu.cn. Any kind discussions are welcomed!
|
| 62 |
|
| 63 |
---
|
| 64 |
|
| 65 |
## π Citation
|
| 66 |
+
If our work is useful for your research, please consider citing:
|
| 67 |
+
```bibtex
|
| 68 |
@misc{wang2025vptrackerglobalvisionlanguagetracking,
|
| 69 |
title={VPTracker: Global Vision-Language Tracking via Visual Prompt and MLLM},
|
| 70 |
author={Jingchao Wang and Kaiwen Zhou and Zhijian Wu and Kunhua Ji and Dingjiang Huang and Yefeng Zheng},
|