Skip to content

Transforms complex documents like PDFs and Office docs into LLM-ready markdown/JSON for your Agentic workflows.

fix: update model paths to version 2605 in enum_class and vlm_analyze

myhloli01493c6db169
diff --git a/mineru/backend/vlm/vlm_analyze.py b/mineru/backend/vlm/vlm_analyze.py
index 65be2b69..d0936a30 100644
--- a/mineru/backend/vlm/vlm_analyze.py
+++ b/mineru/backend/vlm/vlm_analyze.py
@@ -79,6 +79,7 @@ class ModelSingleton:
del kwargs[param]
if backend not in ["http-client"] and not model_path:
model_path = auto_download_and_get_model_root_path("/","vlm")
+ model_path = "/Volumes/2TB/2.5pro_2605/mineru2.5pro_2605_stage3_ckpt640"
if backend == "transformers":
try:
from transformers import (
diff --git a/mineru/utils/enum_class.py b/mineru/utils/enum_class.py
index 6a588415..ca09347a 100644
--- a/mineru/utils/enum_class.py
+++ b/mineru/utils/enum_class.py
@@ -94,8 +94,8 @@ class MakeMode:
class ModelPath:
- vlm_root_hf = "opendatalab/MinerU2.5-Pro-2604-1.2B"
- vlm_root_modelscope = "OpenDataLab/MinerU2.5-Pro-2604-1.2B"
+ vlm_root_hf = "opendatalab/MinerU2.5-Pro-2605-1.2B"
+ vlm_root_modelscope = "OpenDataLab/MinerU2.5-Pro-2605-1.2B"
pipeline_root_modelscope = "OpenDataLab/PDF-Extract-Kit-1.0"
pipeline_root_hf = "opendatalab/PDF-Extract-Kit-1.0"
pp_doclayout_v2 = "models/Layout/PP-DocLayoutV2"