Instructions to use psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL") 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 AutoModel model = AutoModel.from_pretrained("psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL", dtype="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL", "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/psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL
- SGLang
How to use psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL 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 "psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL" \ --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": "psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL", "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 "psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL" \ --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": "psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL", "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 psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL with Docker Model Runner:
docker model run hf.co/psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,15 +10,18 @@ pipeline_tag: image-text-to-text
|
|
| 10 |
library_name: transformers
|
| 11 |
tags:
|
| 12 |
- lora
|
|
|
|
| 13 |
- llava
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# Model Card for ``psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL`` |
|
| 17 |
|
| 18 |
<a href='https://arxiv.org/abs/2507.12455'>
|
| 19 |
<img src='https://img.shields.io/badge/Paper-Arxiv-purple'></a>
|
|
|
|
|
|
|
| 20 |
<a href='https://github.com/pspdada/SENTINEL'>
|
| 21 |
-
<img src='https://img.shields.io/badge/Github-Repo-
|
| 22 |
<a href='https://huggingface.co/papers/2507.12455'>
|
| 23 |
<img src='https://img.shields.io/badge/Discussion-HF-blue'></a>
|
| 24 |
<a href='https://github.com/pspdada/SENTINEL/blob/main/LICENSE'>
|
|
@@ -26,7 +29,8 @@ tags:
|
|
| 26 |
|
| 27 |
## π News <!-- omit in toc -->
|
| 28 |
|
| 29 |
-
- [2025.07.
|
|
|
|
| 30 |
- [2025.06.26] π Our SENTINEL is accepted by **ICCV 2025**!
|
| 31 |
|
| 32 |
## π Overview <!-- omit in toc -->
|
|
@@ -88,10 +92,11 @@ This model is a PEFT (LoRA) adapter. You first need to load the base model (`lla
|
|
| 88 |
If you find our model/code/data/paper helpful, please consider citing our papers π and starring us βοΈοΌ
|
| 89 |
|
| 90 |
```bibtex
|
| 91 |
-
@
|
| 92 |
-
title={Mitigating
|
| 93 |
author={Peng, Shangpin and Yang, Senqiao and Jiang, Li and Tian, Zhuotao},
|
| 94 |
-
|
|
|
|
| 95 |
year={2025}
|
| 96 |
}
|
| 97 |
```
|
|
|
|
| 10 |
library_name: transformers
|
| 11 |
tags:
|
| 12 |
- lora
|
| 13 |
+
- bf16
|
| 14 |
- llava
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# Model Card for ``psp-dada/LLaVA-v1.6-Vicuna-13B-SENTINEL`` | ICCV 2025 | SENTINEL:<br>Mitigating Object Hallucinations via Sentence-Level Early Intervention <!-- omit in toc -->
|
| 18 |
|
| 19 |
<a href='https://arxiv.org/abs/2507.12455'>
|
| 20 |
<img src='https://img.shields.io/badge/Paper-Arxiv-purple'></a>
|
| 21 |
+
<a href='https://huggingface.co/datasets/psp-dada/SENTINEL'>
|
| 22 |
+
<img src='https://img.shields.io/badge/Datasets-HF-Green'></a>
|
| 23 |
<a href='https://github.com/pspdada/SENTINEL'>
|
| 24 |
+
<img src='https://img.shields.io/badge/Github-Repo-orange'></a>
|
| 25 |
<a href='https://huggingface.co/papers/2507.12455'>
|
| 26 |
<img src='https://img.shields.io/badge/Discussion-HF-blue'></a>
|
| 27 |
<a href='https://github.com/pspdada/SENTINEL/blob/main/LICENSE'>
|
|
|
|
| 29 |
|
| 30 |
## π News <!-- omit in toc -->
|
| 31 |
|
| 32 |
+
- [2025.07.30] π Our work has been featured and explained by 52CV, check it out [here](https://mp.weixin.qq.com/s/Sfr1wdUCkeOLmj7NVWNUnw).
|
| 33 |
+
- [2025.07.21] π All code, data, and models are released!
|
| 34 |
- [2025.06.26] π Our SENTINEL is accepted by **ICCV 2025**!
|
| 35 |
|
| 36 |
## π Overview <!-- omit in toc -->
|
|
|
|
| 92 |
If you find our model/code/data/paper helpful, please consider citing our papers π and starring us βοΈοΌ
|
| 93 |
|
| 94 |
```bibtex
|
| 95 |
+
@inproceedings{peng2025mitigating,
|
| 96 |
+
title={Mitigating object hallucinations via sentence-level early intervention},
|
| 97 |
author={Peng, Shangpin and Yang, Senqiao and Jiang, Li and Tian, Zhuotao},
|
| 98 |
+
booktitle={Proceedings of the IEEE/CVF International Conference on Computer Vision},
|
| 99 |
+
pages={635--646},
|
| 100 |
year={2025}
|
| 101 |
}
|
| 102 |
```
|