Views
No views yet
Qwen2.5-VL-7B-Instruct, this model learns to fuse multi-camera video feeds into a coherent understanding of 360° environments.
This repo contains only the fine-tuned Lora adapters. Please pull the base model directly.| Parameter | Value |
|---|---|
| Rank | 128 |
| Alpha | 256 |
| Target Modules | q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj |
| Max Sequence Length | 65,536 tokens |
| Parameter | Value |
|---|---|
| Learning Rate | 1e-4 |
| Optimizer | Paged AdamW 8-bit |
| Effective Batch Size | 144 (48 × 3 gradient accumulation) |
| Weight Decay | 0.01 |
| LR Scheduler | Cosine with 10% warmup |
| Epochs | 1 |
┌─────────────┬─────────────┬─────────────┐
│ Front Wide │ Front Tele │ (empty) │
│ 120° FOV │ 30° FOV │ │
├─────────────┼─────────────┼─────────────┤
│ Cross Left │ (ego) │ Cross Right │
│ 120° FOV │ │ 120° FOV │
├─────────────┼─────────────┼─────────────┤
│ Rear Left │ Rear Tele │ Rear Right │
│ 70° FOV │ 30° FOV │ 70° FOV │
└─────────────┴─────────────┴─────────────┘1from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
2from peft import PeftModel
3import torch
4
5# Load base model
6base_model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
7 "Qwen/Qwen2.5-VL-7B-Instruct",
8 torch_dtype=torch.bfloat16,
9 device_map="auto"
10)
11
12# Load LoRA adapter
13model = PeftModel.from_pretrained(base_model, "Thunderbird2410/KAIO-SIGHT")
14processor = AutoProcessor.from_pretrained("Qwen/Qwen2.5-VL-7B-Instruct")
15
16# Prepare your multi-view image
17messages = [
18 {
19 "role": "user",
20 "content": [
21 {"type": "image", "image": "path/to/multi_view_image.jpg"},
22 {"type": "text", "text": "Analyze this multi-camera driving scene. Describe the surroundings and predict the vehicle's motion."}
23 ]
24 }
25]
26
27# Generate response
28text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
29inputs = processor(text=text, images=[image], return_tensors="pt").to(model.device)
30outputs = model.generate(**inputs, max_new_tokens=512)
31response = processor.decode(outputs[0], skip_special_tokens=True)1from unsloth import FastVisionModel
2
3model, tokenizer = FastVisionModel.from_pretrained(
4 "Thunderbird2410/KAIO-SIGHT",
5 max_seq_length=65536,
6 dtype=torch.bfloat16,
7 load_in_4bit=True # Optional: for lower VRAM
8)1graph LR
2 A[7-Camera Video] -->|Tile to Grid| B[3×3 Composite Frame]
3 B -->|16-Frame Window| C[Temporal Sequence]
4 C -->|Vision Encoder| D[Qwen2.5-VL-7B]
5 D -->|LoRA Adapters| E[Fine-tuned Model]
6 E -->|Generate| F[Egomotion + Reasoning]1@misc{kaio-sight-2024,
2 author = {Poornachandra},
3 title = {KAIØ-SIGHT: Multi-View Vision-Language Reasoning for Autonomous Robotics},
4 year = {2024},
5 publisher = {Hugging Face},
6 url = {https://huggingface.co/Thunderbird2410/KAIO-SIGHT}
7}