Instructions to use hzxllll/DEFT-RLVR-model-HF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hzxllll/DEFT-RLVR-model-HF with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="hzxllll/DEFT-RLVR-model-HF") 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("hzxllll/DEFT-RLVR-model-HF") model = AutoModelForMultimodalLM.from_pretrained("hzxllll/DEFT-RLVR-model-HF", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use hzxllll/DEFT-RLVR-model-HF with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "hzxllll/DEFT-RLVR-model-HF" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "hzxllll/DEFT-RLVR-model-HF", "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/hzxllll/DEFT-RLVR-model-HF
- SGLang
How to use hzxllll/DEFT-RLVR-model-HF 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 "hzxllll/DEFT-RLVR-model-HF" \ --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": "hzxllll/DEFT-RLVR-model-HF", "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 "hzxllll/DEFT-RLVR-model-HF" \ --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": "hzxllll/DEFT-RLVR-model-HF", "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 hzxllll/DEFT-RLVR-model-HF with Docker Model Runner:
docker model run hf.co/hzxllll/DEFT-RLVR-model-HF
DEFT-RLVR Model
This repository contains the Qwen3-VL-8B checkpoint from Deferred Exposure of Future Trajectories for Verifiable Reasoning in Autonomous Driving VLMs.
The model is adapted from Qwen3-VL-8B-Instruct using Deferred Exposure of Future Trajectories for RLVR (DEFT-RLVR) on our AD-MCQ dataset.
Overview
Autonomous-driving reasoning supervision often reveals the logged ground-truth future trajectory before asking a vision-language model to explain its decision. Our paper identifies this as trajectory anchoring bias: the model can rationalize a known outcome instead of inferring a causally faithful decision from scene evidence.
We introduce two components:
- AD-MCQ formulates planning as an exactly verifiable selection among explicit candidate trajectories.
- DEFT-RLVR requires the policy to reason about the scene and commit to a high-level driving decision before candidate trajectories are revealed for grounding and verification.
This checkpoint is intended for research on autonomous-driving visual reasoning, candidate-grounded decision making, and reinforcement learning with verifiable rewards.
Resources
- Paper: Deferred Exposure of Future Trajectories for Verifiable Reasoning in Autonomous Driving VLMs
- Code: github.com/hzx122/DEFT-RLVR
- Dataset: hzxllll/AD-MCQ
- Base model: Qwen/Qwen3-VL-8B-Instruct
Model Details
| Item | Description |
|---|---|
| Architecture | Qwen3VLForConditionalGeneration |
| Base model | Qwen3-VL-8B-Instruct |
| Training method | DEFT-RLVR |
| Training task | Candidate-trajectory multiple-choice reasoning |
| Input | Multi-view driving visual context and text instructions |
| Output | Scene-grounded reasoning and candidate selection |
| License | Apache 2.0 |
Usage
Install a Transformers version that supports Qwen3-VL, then load the checkpoint with the standard Hugging Face API:
import torch
from transformers import AutoProcessor, Qwen3VLForConditionalGeneration
model_id = "hzxllll/DEFT-RLVR-model-HF"
processor = AutoProcessor.from_pretrained(model_id)
model = Qwen3VLForConditionalGeneration.from_pretrained(
model_id,
dtype=torch.bfloat16,
device_map="auto",
)
messages = [
{
"role": "user",
"content": [
{"type": "image", "image": "path/to/driving_frame.jpg"},
{"type": "text", "text": "Describe the driving scene and determine the appropriate high-level driving decision."},
],
}
]
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_dict=True,
return_tensors="pt",
).to(model.device)
with torch.no_grad():
generated_ids = model.generate(**inputs, max_new_tokens=512)
generated_ids = generated_ids[:, inputs.input_ids.shape[1]:]
print(processor.batch_decode(generated_ids, skip_special_tokens=True)[0])
For the paper's two-turn DEFT protocol and AD-MCQ candidate format, use the prompts and evaluation code provided in the project repository.
Intended Use
The checkpoint is released for research in:
- autonomous-driving scene understanding and causal reasoning;
- candidate-trajectory selection;
- multimodal reasoning evaluation;
- RLVR and process-supervised policy adaptation.
Citation
@article{huang2026deftrlvr,
title = {Deferred Exposure of Future Trajectories for Verifiable Reasoning in Autonomous Driving VLMs},
author = {Huang, Zixuan and Zhou, Yang and Wang, Kaixuan and Zhang, Guli and Xie, Hongyan and Zhu, Yakun and Geng, Hao and Ban, Yikun and Wang, Deqing},
year = {2026},
journal = {arXiv preprint arXiv:2608.01755},
url = {https://arxiv.org/abs/2608.01755}
}
Acknowledgements
This model is built on Qwen3-VL-8B-Instruct. We thank the Qwen team and the open-source community for their contributions.
- Downloads last month
- 20
Model tree for hzxllll/DEFT-RLVR-model-HF
Base model
Qwen/Qwen3-VL-8B-Instruct