Image-Text-to-Text
Transformers
Safetensors
English
Chinese
groundinganything_vlm
text-generation
visual-grounding
object-detection
referring-expression-comprehension
pointing
ocr
document-layout
custom-code
conversational
custom_code
Instructions to use GroundingPI/GroundAnything-VLM with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use GroundingPI/GroundAnything-VLM with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="GroundingPI/GroundAnything-VLM", trust_remote_code=True) 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("GroundingPI/GroundAnything-VLM", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use GroundingPI/GroundAnything-VLM with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "GroundingPI/GroundAnything-VLM" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "GroundingPI/GroundAnything-VLM", "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/GroundingPI/GroundAnything-VLM
- SGLang
How to use GroundingPI/GroundAnything-VLM 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 "GroundingPI/GroundAnything-VLM" \ --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": "GroundingPI/GroundAnything-VLM", "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 "GroundingPI/GroundAnything-VLM" \ --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": "GroundingPI/GroundAnything-VLM", "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 GroundingPI/GroundAnything-VLM with Docker Model Runner:
docker model run hf.co/GroundingPI/GroundAnything-VLM
Add ModelScope weights and release news
#9
by Skywalker0410 - opened
- README.md +8 -0
- checksums.sha256 +1 -1
README.md
CHANGED
|
@@ -34,6 +34,8 @@ inference: false
|
|
| 34 |
|
| 35 |
## 🔗 Quick Links
|
| 36 |
|
|
|
|
|
|
|
| 37 |
- 🚀 **Online Demo:** [Hugging Face Spaces](https://huggingface.co/spaces/GroundingPI/GroundAnything-VLM).
|
| 38 |
- 🌐 **Project Page:** [GroundAnything](https://groundingpi.github.io/groundanything/).
|
| 39 |
- 💻 **GitHub Code:** [groundingpi/GroundAnything](https://github.com/groundingpi/GroundAnything).
|
|
@@ -75,6 +77,8 @@ Global.
|
|
| 75 |
|
| 76 |
### Release Date:
|
| 77 |
|
|
|
|
|
|
|
| 78 |
- **Webpage [10/04/2026]:** Project webpage released: [GroundAnything](https://groundingpi.github.io/groundanything/).
|
| 79 |
- **Code [10/03/2026]:** GitHub code released: [GroundAnything](https://github.com/groundingpi/GroundAnything).
|
| 80 |
- **Paper [09/30/2026]:** [GroundAnything](https://arxiv.org/abs/2609.39600).
|
|
@@ -332,6 +336,8 @@ Grounding predictions can miss small or occluded objects, repeat instances, or p
|
|
| 332 |
|
| 333 |
## 🔗 快速链接
|
| 334 |
|
|
|
|
|
|
|
| 335 |
- 🚀 **在线演示:** [Hugging Face Spaces](https://huggingface.co/spaces/GroundingPI/GroundAnything-VLM)。
|
| 336 |
- 🌐 **项目主页:** [GroundAnything](https://groundingpi.github.io/groundanything/)。
|
| 337 |
- 💻 **GitHub 代码:** [groundingpi/GroundAnything](https://github.com/groundingpi/GroundAnything)。
|
|
@@ -373,6 +379,8 @@ Grounding predictions can miss small or occluded objects, repeat instances, or p
|
|
| 373 |
|
| 374 |
### 发布日志:
|
| 375 |
|
|
|
|
|
|
|
| 376 |
- **网页 [10/04/2026]:** 项目网页发布:[GroundAnything](https://groundingpi.github.io/groundanything/)。
|
| 377 |
- **代码 [10/03/2026]:** GitHub 代码发布:[GroundAnything](https://github.com/groundingpi/GroundAnything)。
|
| 378 |
- **论文 [09/30/2026]:** [GroundAnything](https://arxiv.org/abs/2609.39600)。
|
|
|
|
| 34 |
|
| 35 |
## 🔗 Quick Links
|
| 36 |
|
| 37 |
+
- 🤗 **ModelScope:** [GroundAnything-VLM](https://www.modelscope.ai/models/GroundingPI/GroundAnything-VLM).
|
| 38 |
+
|
| 39 |
- 🚀 **Online Demo:** [Hugging Face Spaces](https://huggingface.co/spaces/GroundingPI/GroundAnything-VLM).
|
| 40 |
- 🌐 **Project Page:** [GroundAnything](https://groundingpi.github.io/groundanything/).
|
| 41 |
- 💻 **GitHub Code:** [groundingpi/GroundAnything](https://github.com/groundingpi/GroundAnything).
|
|
|
|
| 77 |
|
| 78 |
### Release Date:
|
| 79 |
|
| 80 |
+
- **ModelScope [10/14/2026]:** Model weights are now available on [ModelScope](https://www.modelscope.ai/models/GroundingPI/GroundAnything-VLM).
|
| 81 |
+
|
| 82 |
- **Webpage [10/04/2026]:** Project webpage released: [GroundAnything](https://groundingpi.github.io/groundanything/).
|
| 83 |
- **Code [10/03/2026]:** GitHub code released: [GroundAnything](https://github.com/groundingpi/GroundAnything).
|
| 84 |
- **Paper [09/30/2026]:** [GroundAnything](https://arxiv.org/abs/2609.39600).
|
|
|
|
| 336 |
|
| 337 |
## 🔗 快速链接
|
| 338 |
|
| 339 |
+
- 🤗 **ModelScope:** [GroundAnything-VLM](https://www.modelscope.ai/models/GroundingPI/GroundAnything-VLM)。
|
| 340 |
+
|
| 341 |
- 🚀 **在线演示:** [Hugging Face Spaces](https://huggingface.co/spaces/GroundingPI/GroundAnything-VLM)。
|
| 342 |
- 🌐 **项目主页:** [GroundAnything](https://groundingpi.github.io/groundanything/)。
|
| 343 |
- 💻 **GitHub 代码:** [groundingpi/GroundAnything](https://github.com/groundingpi/GroundAnything)。
|
|
|
|
| 379 |
|
| 380 |
### 发布日志:
|
| 381 |
|
| 382 |
+
- **ModelScope [10/14/2026]:** 模型权重已在 [ModelScope](https://www.modelscope.ai/models/GroundingPI/GroundAnything-VLM) 发布。
|
| 383 |
+
|
| 384 |
- **网页 [10/04/2026]:** 项目网页发布:[GroundAnything](https://groundingpi.github.io/groundanything/)。
|
| 385 |
- **代码 [10/03/2026]:** GitHub 代码发布:[GroundAnything](https://github.com/groundingpi/GroundAnything)。
|
| 386 |
- **论文 [09/30/2026]:** [GroundAnything](https://arxiv.org/abs/2609.39600)。
|
checksums.sha256
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
c419c191a33774f4e1f834b3fb36033dc84e8ba316a3d1935eed1fa529884a74 LICENSE
|
| 2 |
-
|
| 3 |
7316e325dde0dd407bcc80ed5d3d080223e54572a4685b2aa1ee52041e41d466 added_tokens.json
|
| 4 |
a0bc6f6fc7a29a80017a433e8f03a1cc1236e838a944a2d034295a60c4f2fddb chat_template.jinja
|
| 5 |
2a23a7cf76128488c8866582bab06ffb1db387f7f7de82e06fafea65514ce10d config.json
|
|
|
|
| 1 |
c419c191a33774f4e1f834b3fb36033dc84e8ba316a3d1935eed1fa529884a74 LICENSE
|
| 2 |
+
d6338a403f232864b30a8ebffd7f8a6623ba469fc40e32dbcb875bb256f78273 README.md
|
| 3 |
7316e325dde0dd407bcc80ed5d3d080223e54572a4685b2aa1ee52041e41d466 added_tokens.json
|
| 4 |
a0bc6f6fc7a29a80017a433e8f03a1cc1236e838a944a2d034295a60c4f2fddb chat_template.jinja
|
| 5 |
2a23a7cf76128488c8866582bab06ffb1db387f7f7de82e06fafea65514ce10d config.json
|