File size: 694 Bytes
07880ef |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
---
library_name: transformers
tags:
- qwen
- vision-language
- lora-merged
license: other
---
# Qwen2.5-VL 7B (LoRA merged)
- Base: Qwen/Qwen2.5-VL-7B-Instruct
- LoRA adapters merged into base weights.
- Inference example:
```python
from transformers import AutoProcessor
from qwen_vl_utils import process_vision_info # if needed by qwen
from transformers import Qwen2_5_VLForConditionalGeneration
model = Qwen2_5_VLForConditionalGeneration.from_pretrained("mangsgi/azu", device_map="auto", torch_dtype="auto", trust_remote_code=True)
processor = AutoProcessor.from_pretrained("mangsgi/azu", trust_remote_code=True)
# build messages with image+text, then processor(...), model.generate(...)
|