prithivMLmods / docscopeOCR-7B-050425-exp

huggingface.co
Total runs: 2.7K
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: June 01 2025
image-text-to-text

Introduction of docscopeOCR-7B-050425-exp

Model Details of docscopeOCR-7B-050425-exp

22.png

docscopeOCR-7B-050425-exp

The docscopeOCR-7B-050425-exp model is a fine-tuned version of Qwen/Qwen2.5-VL-7B-Instruct , optimized for Document-Level Optical Character Recognition (OCR) , long-context vision-language understanding , and accurate image-to-text conversion with mathematical LaTeX formatting . Built on top of the Qwen2.5-VL architecture, this model significantly improves document comprehension, structured data extraction, and visual reasoning across diverse input formats.

Key Enhancements

  • Advanced Document-Level OCR : Capable of extracting structured content from complex, multi-page documents such as invoices, academic papers, forms, and scanned reports.

  • Enhanced Long-Context Vision-Language Understanding : Designed to handle dense document layouts, long sequences of embedded text, tables, and diagrams with coherent cross-reference understanding.

  • State-of-the-Art Performance Across Resolutions : Achieves competitive results on OCR and visual QA benchmarks such as DocVQA, MathVista, RealWorldQA, and MTVQA.

  • Video Understanding up to 20+ minutes : Supports detailed comprehension of long-duration videos for content summarization, Q&A, and multi-modal reasoning.

  • Visually-Grounded Device Interaction : Enables mobile/robotic device operation via visual inputs and text-based instructions using contextual understanding and decision-making logic.

Quick Start with Transformers

from transformers import Qwen2_5_VLForConditionalGeneration, AutoTokenizer, AutoProcessor
from qwen_vl_utils import process_vision_info

model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
    "prithivMLmods/docscopeOCR-7B-050425-exp", torch_dtype="auto", device_map="auto"
)

processor = AutoProcessor.from_pretrained("prithivMLmods/docscopeOCR-7B-050425-exp")

messages = [
    {
        "role": "user",
        "content": [
            {
                "type": "image",
                "image": "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-VL/assets/demo.jpeg",
            },
            {"type": "text", "text": "Describe this image."},
        ],
    }
]

text = processor.apply_chat_template(
    messages, tokenize=False, add_generation_prompt=True
)
image_inputs, video_inputs = process_vision_info(messages)
inputs = processor(
    text=[text],
    images=image_inputs,
    videos=video_inputs,
    padding=True,
    return_tensors="pt",
)
inputs = inputs.to("cuda")

generated_ids = model.generate(**inputs, max_new_tokens=128)
generated_ids_trimmed = [
    out_ids[len(in_ids):] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
output_text = processor.batch_decode(
    generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
)
print(output_text)
Training Details
Parameter Value
Dataset Size 274,209 samples (Modular Combination of Datasets)
Model Architecture Qwen2_5_VLForConditionalGeneration
Hardware 2 × NVIDIA A100 SXM (32 vCPUs)
Total Disk 170,000 MB
Training Time 9,020 seconds (~2.51 hours)
Learning Rate 1e-5
Scheduler Linear Decay
Warmup Steps 750
Precision bfloat16

The open dataset image-text response will be updated soon.

Intended Use

This model is intended for:

  • High-fidelity OCR from documents, forms, receipts, and printed or scanned materials.
  • Image and document-based question answering for educational and enterprise applications.
  • Extraction and LaTeX formatting of mathematical expressions from printed or handwritten content.
  • Retrieval and summarization from long documents, slides, and multi-modal inputs.
  • Multilingual OCR and structured content extraction for global use cases.
  • Robotic or mobile automation with vision-guided contextual interaction.

Limitations

  • May show degraded performance on extremely low-quality or occluded images.
  • Not optimized for real-time applications on low-resource or edge devices due to computational demands.
  • Variable accuracy on uncommon or low-resource languages/scripts.
  • Long video processing may require substantial memory and is not optimized for streaming applications.
  • Visual token settings affect performance; suboptimal configurations can impact results.
  • In rare cases, outputs may contain hallucinated or contextually misaligned information.
References

Runs of prithivMLmods docscopeOCR-7B-050425-exp on huggingface.co

2.7K
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About docscopeOCR-7B-050425-exp huggingface.co Model

More docscopeOCR-7B-050425-exp license Visit here:

https://choosealicense.com/licenses/apache-2.0

docscopeOCR-7B-050425-exp huggingface.co

docscopeOCR-7B-050425-exp huggingface.co is an AI model on huggingface.co that provides docscopeOCR-7B-050425-exp's model effect (), which can be used instantly with this prithivMLmods docscopeOCR-7B-050425-exp model. huggingface.co supports a free trial of the docscopeOCR-7B-050425-exp model, and also provides paid use of the docscopeOCR-7B-050425-exp. Support call docscopeOCR-7B-050425-exp model through api, including Node.js, Python, http.

docscopeOCR-7B-050425-exp huggingface.co Url

https://huggingface.co/prithivMLmods/docscopeOCR-7B-050425-exp

prithivMLmods docscopeOCR-7B-050425-exp online free

docscopeOCR-7B-050425-exp huggingface.co is an online trial and call api platform, which integrates docscopeOCR-7B-050425-exp's modeling effects, including api services, and provides a free online trial of docscopeOCR-7B-050425-exp, you can try docscopeOCR-7B-050425-exp online for free by clicking the link below.

prithivMLmods docscopeOCR-7B-050425-exp online free url in huggingface.co:

https://huggingface.co/prithivMLmods/docscopeOCR-7B-050425-exp

docscopeOCR-7B-050425-exp install

docscopeOCR-7B-050425-exp is an open source model from GitHub that offers a free installation service, and any user can find docscopeOCR-7B-050425-exp on GitHub to install. At the same time, huggingface.co provides the effect of docscopeOCR-7B-050425-exp install, users can directly use docscopeOCR-7B-050425-exp installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

docscopeOCR-7B-050425-exp install url in huggingface.co:

https://huggingface.co/prithivMLmods/docscopeOCR-7B-050425-exp

Url of docscopeOCR-7B-050425-exp

docscopeOCR-7B-050425-exp huggingface.co Url

Provider of docscopeOCR-7B-050425-exp huggingface.co

prithivMLmods
ORGANIZATIONS

Other API from prithivMLmods