How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="hao05/v-zero-4b")
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("hao05/v-zero-4b")
model = AutoModelForMultimodalLM.from_pretrained("hao05/v-zero-4b")
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]:]))
Quick Links

V-Zero: Answer-Label-Free On-Policy Distillation with Contrastive Evidence Gating for Fine-Grained Visual Reasoning

This repository contains the V-Zero 4B checkpoint, introduced in the paper V-Zero: Answer-Label-Free On-Policy Distillation with Contrastive Evidence Gating for Fine-Grained Visual Reasoning.

Overview

V-Zero is an answer-label-free framework designed to improve fine-grained visual reasoning in multimodal large language models (MLLMs). It bypasses the need for costly external answer labels or manual verification rules by utilizing on-policy distillation combined with contrastive evidence gating. During training, the student model samples trajectories on the full image, while a teacher model replays those trajectories under paired positive (task-relevant) and negative (task-irrelevant) crops to evaluate student-sampled reasoning paths.

V-Zero Method Overview

Citation

If you find this work useful for your research, please cite the paper:

@article{sun2026vzero,
  title={V-Zero: Answer-Label-Free On-Policy Distillation with Contrastive Evidence Gating for Fine-Grained Visual Reasoning},
  author={Sun, Haoxiang and Yi, Zhihang and Deng, Langxuan and Zhou, Yuhao and Jia, Peiqi and Zhao, Jian and Yuan, Li and Lv, Jiancheng and Wang, Tao},
  journal={arXiv preprint arXiv:2606.25319},
  year={2026}
}
Downloads last month
60
Safetensors
Model size
5B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for hao05/v-zero-4b

Finetuned
Qwen/Qwen3.5-4B
Finetuned
(331)
this model

Paper for hao05/v-zero-4b