Views
No views yet
| Config | Binary Acc | Binary F1 | MCC | Multiclass Acc |
|---|---|---|---|---|
| B — text-only | 0.674 | 0.782 | 0.184 | 0.562 |
| C — image-only (this) | 0.695 | 0.801 | 0.232 | 0.618 |
| D — multimodal (image+text) | 0.683 | 0.784 | 0.220 | 0.595 |
| E — zero-shot multimodal | 0.672 | 0.800 | 0.104 | 0.353 |
results/.{blocker, critical, major, minor, trivial}.Qwen/Qwen2.5-VL-7B-Instruct (loaded 4-bit NF4 via bitsandbytes).r=32, α=64, dropout 0.05, bias none.q_proj, k_proj, v_proj, o_proj, gate_proj, up_proj, down_proj.tathadn/visiontriage-multimodal train split (4,441 samples; image-only prompt format).configs/sft_config_c.yaml and src/models/qlora_sft.py in the project repo for the exact training recipe.1from peft import PeftModel
2from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
3from PIL import Image
4import torch
5
6BASE = "Qwen/Qwen2.5-VL-7B-Instruct"
7ADAPT = "tathadn/visiontriage-config-c"
8
9proc = AutoProcessor.from_pretrained(BASE)
10base = Qwen2_5_VLForConditionalGeneration.from_pretrained(BASE, torch_dtype=torch.bfloat16, device_map="auto")
11model = PeftModel.from_pretrained(base, ADAPT)
12
13img = Image.open("screenshot.png")
14messages = [{"role": "user", "content": [
15 {"type": "image", "image": img},
16 {"type": "text", "text": "What is the severity of the bug shown in this screenshot? Answer with one of: blocker, critical, major, minor, trivial."},
17]}]
18text = proc.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
19inputs = proc(text=[text], images=[img], return_tensors="pt").to(model.device)
20
21out = model.generate(**inputs, max_new_tokens=8, do_sample=False)
22print(proc.decode(out[0][inputs.input_ids.shape[1]:], skip_special_tokens=True))
23# → e.g. "critical"bug_type → severity, not independent severity reasoning.subtle_offset (trivial) recall is ~0 across all configs; the 7B VLM is insensitive to few-pixel shifts.1@misc{visiontriage2026,
2 title = {VisionTriage: Multimodal Severity Prediction for UI Bug Reports},
3 author = {Debnath, Tathagata},
4 year = {2026},
5 url = {https://github.com/tathadn/visiontriage}
6}