Model Description
KielLens-VQA is a high-performance, fine-tuned vision-language model designed for precise visual question answering, spatial reasoning, and image-grounded analysis. Built upon the state-of-the-art Qwen2.5-VL-7B-Instruct architecture, KielLens-VQA excels at interpreting complex visual data, extracting key insights, and providing detailed context-aware answers to user queries.
Intended Uses
- Visual Question Answering (VQA): Answering specific questions regarding objects, text, and details inside images.
- Image Analysis & Perception: Extracting insights, descriptive breakdowns, and spatial relationships from photographs.
- Multimodal Reasoning: Processing high-resolution visual inputs for targeted technical and general-purpose tasks.
How to Get Started
You can load the model and its adapters seamlessly using transformers and peft:
import torchfrom transformers import AutoModelForVision2Seq, AutoProcessorfrom peft import PeftModel base_model_id = "unsloth/Qwen2.5-VL-7B-Instruct" # Load base vision-language modelbase_model = AutoModelForVision2Seq.from_pretrained( base_model_id, torch_dtype=torch.bfloat16, device_map="auto") # Load KielLens-VQA adaptersmodel = PeftModel.from_pretrained(base_model, "kiel2/KielLens-VQA")processor = AutoProcessor.from_pretrained("kiel2/KielLens-VQA") Training ProcedureThe model was fine-tuned using the Unsloth framework and TRL library with the following configurations: Quantization: 4-bit (via NF4) for memory efficiency and high-speed inference. Target Modules: Vision and attention layers optimised for multimodal token mapping. Optimization: Paged AdamW 32-bit. Precision: Mixed precision (bf16). Limitations and Ethical ConsiderationsInput Sensitivity: Performance may vary depending on image resolution, lighting quality, and framing. Generalization: While optimized for robust visual reasoning, the model should be deployed with human oversight for mission-critical visual analytics tasks.