Instructions to use waynechu/RAVO-VAD-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use waynechu/RAVO-VAD-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="waynechu/RAVO-VAD-9B") 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 AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("waynechu/RAVO-VAD-9B") model = AutoModelForMultimodalLM.from_pretrained("waynechu/RAVO-VAD-9B", device_map="auto") 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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use waynechu/RAVO-VAD-9B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "waynechu/RAVO-VAD-9B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "waynechu/RAVO-VAD-9B", "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/waynechu/RAVO-VAD-9B
- SGLang
How to use waynechu/RAVO-VAD-9B 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 "waynechu/RAVO-VAD-9B" \ --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": "waynechu/RAVO-VAD-9B", "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 "waynechu/RAVO-VAD-9B" \ --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": "waynechu/RAVO-VAD-9B", "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 waynechu/RAVO-VAD-9B with Docker Model Runner:
docker model run hf.co/waynechu/RAVO-VAD-9B
RAVO & VAD for Qwen3.5-9B
This repository contains the inference checkpoint of RAVO: Reliability-Aware Visual On-Policy Distillation, combined with Visual Attribution Distillation (VAD), built on Qwen3.5-9B.
Model description
RAVO transfers fine-grained perceptual knowledge from privileged regional evidence to a full-image student. It strengthens the supervision source and regulates teacher guidance according to query-level reliability:
- Independent answer verification compares responses under privileged, full-image, and corrupted visual inputs. All three rollout conditions use the same student parameter snapshot.
- Privileged teacher reinforcement uses verified rewards to improve the model's use of regional evidence. Reliability-aware gating compares the three empirical success rates to select queries for distillation.
- Adaptive supervision weighting scales admitted distillation according to positive-teacher success and student RLVR according to student reward variation. Student RLVR supplies task feedback independently of gate admission.
RAVO is compatible with methods that refine token-level supervision, such as Visual Attribution Distillation (VAD). At each student-generated prefix, VAD contrasts teacher predictions under evidence-present and evidence-degraded views to estimate the visually attributable component of the teacher correction, then reconstructs a token-level learning target around the student's current distribution.
In this implementation, we replace the standard OPD loss on gate-admitted queries with VAD's self-distillation objective. Reliability-aware gating, privileged teacher reinforcement, student RLVR, and both adaptive supervision weights retain their original settings. RAVO selects and scales guidance at the query level, while VAD refines its visual content at the token level.
The model is trained for one epoch on approximately 6.2K Vision-OPD samples. Evaluation uses the checkpoint saved at the final training step.
Evaluation
Evaluation uses full-image student input, deterministic answer matching, and a fixed Qwen3.8-27B judge for unresolved responses.
| Benchmark | Accuracy |
|---|---|
| V* Bench | 94.24 |
| ZoomBench | 63.43 |
| HR-Bench 4K | 86.62 |
| HR-Bench 8K | 85.00 |
| MME-RealWorld EN | 73.38 |
| MME-RealWorld CN | 71.54 |
| Unweighted average | 79.04 |
License
The checkpoint is released under the Apache License 2.0, consistent with the base model. Users must also comply with the Qwen3.5-9B license.
Citation
If you find RAVO useful in your research, please consider citing:
@article{zhu2026ravo,
title={RAVO: Reliability-Aware Visual On-Policy Distillation},
author={Zhu, Weiye and Fu, Weifu and Zhang, Zekai and Liu, Yong and Zheng, Feng},
journal={arXiv preprint arXiv:2612.00724},
year={2026}
}
- Downloads last month
- -
docker model run hf.co/waynechu/RAVO-VAD-9B