Views
No views yet
Qwen/Qwen2.5-VL-7B-Instruct| Field EM | Field F1 | Line-item F1 | |
|---|---|---|---|
| Zero-shot v3 prompt | 0.869 | 0.834 | 0.934 |
| This LoRA | 0.865 | 0.830 | 0.957 |
1from peft import PeftModel
2from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
3base = Qwen2_5_VLForConditionalGeneration.from_pretrained("Qwen/Qwen2.5-VL-7B-Instruct", device_map="auto")
4model = PeftModel.from_pretrained(base, "sarcasticcoder/qwen2.5-vl-7b-cord-lora")
5proc = AutoProcessor.from_pretrained("Qwen/Qwen2.5-VL-7B-Instruct")