The model utilizes a custom regression head on top of the frozen Qwen3-VL base, trained using Parameter-Efficient Fine-Tuning (PEFT/LoRA) for optimal performance and resource efficiency.
1from huggingface_hub import hf_hub_download
2
3hf_hub_download(
4 repo_id="Aleton/Autopilot-qwen3-vl",
5 filename="autopilot_inference.py",
6 local_dir="."
7)
1from autopilot_inference import AutopilotInference
2from PIL import Image
3
4# 1. Load the model (downloads weights automatically)
5autopilot = AutopilotInference.from_pretrained("Aleton/Autopilot-qwen3-vl")
6
7# 2. Load a dashcam image
8image = Image.open("road.jpg")
9
10# 3. Get predictions
11result = autopilot.predict(image)
12
13print(f"Target Speed: {result['speed_kmh']:.1f} km/h")
14print(f"Steering Torque: {result['steering_N']:.3f} N")
This model is built for educational and research purposes only. It is not designed, tested, or certified for use in real-world autonomous vehicles. Never rely on this model to control a real car.