Downloads · 30 days
39
8% of all-time downloads
korea-deep-learning/Qwen2.5-VL-7B-TableRecog
Qwen2.5-VL-7B-TableRecog is a image-to-text model from korea-deep-learning. Use it when you need a caption or text from an image. It is set up for transformers. The card lists the license as apache-2.0.
This model is a fine-tuned version of Qwen/Qwen2.5-VL-7B-Instruct specialized for table recognition tasks. The model was trained using LoRA (Low-Rank Adaptation) and then merged with the base model for efficient infer…
Downloads · 30 days
39
8% of all-time downloads
All-time downloads
477
Public
Parameters
8.3B
16.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors16.6 GB · 100%
From the Hugging Face model README
This model is a fine-tuned version of Qwen/Qwen2.5-VL-7B-Instruct specialized for table recognition tasks. The model was trained using LoRA (Low-Rank Adaptation) and then merged with the base model for efficient inference.
Key Features:
merge_and_unload()import torch
from transformers import AutoModelForVision2Seq, AutoProcessor
from PIL import Image
# Load model and processor
model = AutoModelForVision2Seq.from_pretrained(
"korea-deep-learning/Qwen2.5-VL-7B-TableRecog",
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
processor = AutoProcessor.from_pretrained(
"korea-deep-learning/Qwen2.5-VL-7B-TableRecog",
trust_remote_code=True
)
# Prepare image and text
image = Image.open("table_image.png")
text = "Extract the table content and structure from this image."
# Process inputs
inputs = processor(text=text, images=image, return_tensors="pt").to(model.device)
# Generate output
with torch.no_grad():
outputs = model.generate(**inputs, max_new_tokens=1024)
result = processor.decode(outputs[0], skip_special_tokens=True)
print(result)
The model has been evaluated on table recognition tasks with the following metrics:
@misc{qwen2.5-vl-tablerecog,
author = {Korea Deep Learning Team},
title = {Qwen2.5-VL-7B-TableRecog: Table Recognition Model},
year = {2025},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/korea-deep-learning/Qwen2.5-VL-7B-TableRecog}},
}
This model inherits the Apache 2.0 license from the base Qwen2.5-VL-7B-Instruct model.