Downloads · 30 days
16
100% of all-time downloads
ModarIbrahim/road-qwen25vl-lora-e1
road-qwen25vl-lora-e1 is a machine learning model from ModarIbrahim. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for peft.
LoRA adapter for line-level transcription of historic Barbados handwriting (Zindi R.O.A.D. challenge).
Downloads · 30 days
16
100% of all-time downloads
All-time downloads
16
Public
Repo size
415 MB
Likes
0
Public
Click a slice to open those files.
.safetensors415 MB · 100%
From the Hugging Face model README
LoRA adapter for line-level transcription of historic Barbados handwriting (Zindi R.O.A.D. challenge).
Qwen/Qwen2.5-VL-7B-Instructall-linear, bf16from transformers import AutoProcessor, Qwen2_5_VLForConditionalGeneration
from peft import PeftModel
import torch
base = Qwen2_5_VLForConditionalGeneration.from_pretrained(
"Qwen/Qwen2.5-VL-7B-Instruct", dtype=torch.bfloat16).to("cuda")
model = PeftModel.from_pretrained(base, "ModarIbrahim/road-qwen25vl-lora").eval()
processor = AutoProcessor.from_pretrained(
"Qwen/Qwen2.5-VL-7B-Instruct", min_pixels=256*28*28, max_pixels=28*28*2048)
processor.tokenizer.padding_side = "left"