Downloads · 30 days
80
63% of all-time downloads
wkinglin/HalluScope-8B
HalluScope-8B is a image-text-to-text model from wkinglin. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
HalluScope-8B is a diagnostic model for fine-grained hallucination diagnosis in multimodal large language models (MLLMs). Given an image and a model-generated response, it detects hallucinated spans, classifies each i…
Downloads · 30 days
80
63% of all-time downloads
All-time downloads
128
Public
Parameters
8.8B
17.5 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors17.5 GB · 100%
From the Hugging Face model README
HalluScope-8B is a diagnostic model for fine-grained hallucination diagnosis in multimodal large language models (MLLMs). Given an image and a model-generated response, it detects hallucinated spans, classifies each into one of 12 fine-grained types, and returns span-level annotations in a single pass. It is the larger, higher-accuracy variant of the HalluScope family.
The model wraps hallucinated spans with typed <hallucination> tags:
<Tagged_Text>
The <hallucination type="Color_Attribute">bright red</hallucination>
<hallucination type="Object">sports</hallucination> car is
<hallucination type="Spatial_Attribute">parked near a lake</hallucination>.
</Tagged_Text>
12 fine-grained types across two categories:
| Category | Types |
|---|---|
| Perception | Object, OCR, Numerical_Attribute, Color_Attribute, Shape_Attribute, Spatial_Attribute |
| Reasoning | Logical_Error, Calculation_Error, Knowledge_Error, Query_Misunderstanding, Numerical_Relation, Spatial_Relation |
from transformers import AutoModelForImageTextToText, AutoProcessor
from PIL import Image
model = AutoModelForImageTextToText.from_pretrained(
"wkinglin/HalluScope-8B", torch_dtype="auto", device_map="auto"
)
processor = AutoProcessor.from_pretrained("wkinglin/HalluScope-8B")
messages = [{
"role": "user",
"content": [
{"type": "image", "image": Image.open("example.jpg")},
{"type": "text", "text": "Analyze the response and tag hallucinated spans:\n<response to diagnose>"},
],
}]
inputs = processor.apply_chat_template(
messages, add_generation_prompt=True, tokenize=True,
return_dict=True, return_tensors="pt",
).to(model.device)
out = model.generate(**inputs, max_new_tokens=2048)
print(processor.batch_decode(out, skip_special_tokens=True)[0])
For high-throughput inference, serve the model with vLLM and query it through the OpenAI-compatible API.
@inproceedings{jin2026halluscope,
title = {HalluScope: Fine-grained Hallucination Diagnosis for Multimodal Large Language Models},
author = {Jin, Weilin and Wang, Mingyu and Li, Wenbo and Huang, Haoyang and Wu, Yifan and Li, Ying and Huang, Gang and Wu, Zhonghai},
booktitle = {Proceedings of the 34th ACM International Conference on Multimedia (MM '26)},
year = {2026}
}