Text Generation
Transformers
PyTorch
devil_qwen2
multimodal
video-llm
video-understanding
video-grounding
spatio-temporal-grounding
temporal-grounding
referring-expression-comprehension
grounding
reasoning
custom_code
conversational
Instructions to use gaostar/DeViL-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use gaostar/DeViL-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="gaostar/DeViL-7B", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("gaostar/DeViL-7B", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use gaostar/DeViL-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "gaostar/DeViL-7B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "gaostar/DeViL-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/gaostar/DeViL-7B
- SGLang
How to use gaostar/DeViL-7B 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 "gaostar/DeViL-7B" \ --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": "gaostar/DeViL-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'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 "gaostar/DeViL-7B" \ --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": "gaostar/DeViL-7B", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use gaostar/DeViL-7B with Docker Model Runner:
docker model run hf.co/gaostar/DeViL-7B
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,49 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
+
library_name: transformers
|
| 4 |
+
base_model: DAMO-NLP-SG/VideoLLaMA3-7B
|
| 5 |
+
tags:
|
| 6 |
+
- multimodal
|
| 7 |
+
- video-llm
|
| 8 |
+
- video-understanding
|
| 9 |
+
- video-grounding
|
| 10 |
+
- spatio-temporal-grounding
|
| 11 |
+
- temporal-grounding
|
| 12 |
+
- referring-expression-comprehension
|
| 13 |
+
- grounding
|
| 14 |
+
- reasoning
|
| 15 |
+
- custom_code
|
| 16 |
+
- pytorch
|
| 17 |
---
|
| 18 |
+
|
| 19 |
+
<div align="center">
|
| 20 |
+
|
| 21 |
+
# DeViL-7B
|
| 22 |
+
|
| 23 |
+
**Official checkpoint for "Detector-Empowered Video Large Language Model for Efficient Spatio-Temporal Grounding"**
|
| 24 |
+
|
| 25 |
+
[Paper](https://arxiv.org/abs/2512.06673) | [Code](https://github.com/gaostar123/DeViL)
|
| 26 |
+
|
| 27 |
+
</div>
|
| 28 |
+
|
| 29 |
+
<p align="center">
|
| 30 |
+
<img src="https://raw.githubusercontent.com/gaostar123/DeViL/main/assets/intro_v10.png" alt="DeViL teaser" width="100%">
|
| 31 |
+
</p>
|
| 32 |
+
|
| 33 |
+
## Overview
|
| 34 |
+
|
| 35 |
+
DeViL is a detector-empowered video large language model designed for efficient spatio-temporal video grounding (STVG) and grounded video reasoning. Instead of relying on long autoregressive coordinate decoding or expensive candidate construction, DeViL offloads dense spatial grounding to a fully parallel detector. It distills the user query into a detector-compatible reference-semantic token and uses temporal consistency regularization to maintain object coherence across frames.
|
| 36 |
+
|
| 37 |
+
This repository hosts the official DeViL-7B checkpoint released by the authors.
|
| 38 |
+
|
| 39 |
+
## Highlights
|
| 40 |
+
|
| 41 |
+
- Detector-empowered grounding for efficient spatio-temporal localization
|
| 42 |
+
- Strong performance reported in the paper: 43.1 m_vIoU on HC-STVG and 14.33 FPS
|
| 43 |
+
- Preserves the backbone MLLM's general video understanding and reasoning ability
|
| 44 |
+
- Supports both image and video inputs in the official demo pipeline
|
| 45 |
+
|
| 46 |
+
## Links
|
| 47 |
+
|
| 48 |
+
- Paper: https://arxiv.org/abs/2512.06673
|
| 49 |
+
- Code: https://github.com/gaostar123/DeViL
|